Download Command Safety — Minecraft Mods — MetaMods
Command Safety

Command Safety

Active

Downloads

0

Last update

3 months ago

Versions

1.19.2 — 1.21.8
Server
Fabric
Game mechanics
Technological
Utils

Command Safety

Have you ever accidentally destroyed all entities in your world with a single command? Or maybe cleared all of a player's scores when you didn't intend to?

This mod prevents such mishaps by requiring the player to confirm execution of commands that could cause significant damage.

Especially useful when working on large-scale projects, particularly when multiple people are involved (possibly less experienced in using commands).

Commands and Conditions Requiring Confirmation:

/fill, /clone

  • When selecting an area of more than 10,000 blocks

/execute, /kill, /effect, /tp, /teleport, /give, /clear, /gamemode

  • When affecting more than 50 entities (players, ravagers, item frames)
  • When affecting more than 25 living creatures (players, ravagers, ...)
  • When affecting more than 1 player

/scoreboard

  • When affecting more than 50 score holders (players / entities)
  • When using the command /scoreboard players reset .. without selecting an objective

Example

Configuration:

You can use the /confimcmd config command to change the limits at which commands require confirmation, or edit configuration files directly (./config/confirmcommand.properties).

/confirmcmd Command

  • /confirmcmd config <name> - Gets the value of a setting
  • /confirmcmd config <name> <value> - Sets the value of a setting

Possible values for <name>: max_blocks, max_players, max_living_entities, max_entities, max_score_holders

Project members
Mat0u5

Mat0u5

Developer

Created: 18 Jul 2025

ID: 256714