Command Safety Mod
Have you ever accidentally killed all entities in your world with a single command? Or maybe you've cleared all the scores of a player when you didn't mean to?
This mod helps you avoid such mishaps, by requiring the player to confirm commands that have the potential to break a lot of things.
Very useful when working on large projects, especially when multiple people (that potentially have less experience with commands) are involved.
The commands & the conditions of when they require 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 entities (players, ravagers, ...).
- When affecting more than 1 player.
/scoreboard- When affecting more than 50 score holders (players / entities).
- When using the
/scoreboard players reset ..command without selecting an objective.

Config:
You can use the /confimcmd config command to change the limits of when commands require confirmation, or you can also modify the config files themselves (./config/confirmcommand.properties).
/confirmcmd
/confirmcmd config <name>- Gets the value of a config./confirmcmd config <name> <value>- Sets the value of a config.
Possible values for <name> are: max_blocks, max_players, max_living_entities, max_entities, max_score_holders
| Version | Minecraft | Loader | Download |
|---|---|---|---|
|
Command Safety 1.1.0 for Fabric 26.1-26.2 fabric-1.1.0+26.1 |
26.1, 26.1.1, 26.1.2, 26.2, 26.3
|
fabric, quilt
|
Download |
|
Command Safety 1.1.0 for Fabric 1.21.9-1.21.11 fabric-1.1.0+1.21.9 |
1.21.10, 1.21.11, 1.21.9
|
fabric, quilt
|
Download |
|
Command Safety 1.1.0 for Fabric 1.21.5-1.21.8 fabric-1.1.0+1.21.5 |
1.21.5, 1.21.6, 1.21.7, 1.21.8
|
fabric, quilt
|
Download |
|
Command Safety 1.1.0 for Fabric 1.21-1.21.4 fabric-1.1.0+1.21 |
1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4
|
fabric, quilt
|
Download |
|
Command Safety 1.1.0 for Fabric 1.20.3-1.20.6 fabric-1.1.0+1.20.3 |
1.20.3, 1.20.4, 1.20.5, 1.20.6
|
fabric, quilt
|
Download |
|
Command Safety 1.1.0 for Fabric 1.19.4-1.20.2 fabric-1.1.0+1.19.4 |
1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2
|
fabric, quilt
|
Download |
|
Command Safety 1.1.0 for Fabric 1.19.2-1.19.1 fabric-1.1.0+1.19.2 |
1.19.1, 1.19.2
|
fabric, quilt
|
Download |
|
Command Safety 1.1.0 for Fabric 1.16.5-1.18.2 fabric-1.1.0+1.16.5 |
1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2
|
fabric, quilt
|
Download |
|
Command Safety 1.1.0 for Fabric 1.15.2-1.15.1 fabric-1.1.0+1.15.2 |
1.15, 1.15.1, 1.15.2
|
fabric, quilt
|
Download |
|
Command Safety 1.1.0 for Fabric 1.14.4-1.14.3 fabric-1.1.0+1.14.4 |
1.14, 1.14.1, 1.14.2, 1.14.3, 1.14.4
|
fabric, quilt
|
Download |
|
Command Safety 1.1.0 for Neoforge 26.1-26.2 neoforge-1.1.0+26.1 |
26.1, 26.1.1, 26.1.2, 26.2, 26.3
|
neoforge
|
Download |
|
Command Safety 1.1.0 for Neoforge 1.21.9-1.21.11 neoforge-1.1.0+1.21.9 |
1.21.10, 1.21.11, 1.21.9
|
neoforge
|
Download |
|
Command Safety 1.1.0 for Neoforge 1.21.5-1.21.8 neoforge-1.1.0+1.21.5 |
1.21.5, 1.21.6, 1.21.7, 1.21.8
|
neoforge
|
Download |
|
Command Safety 1.1.0 for Neoforge 1.20.4-1.21.4 neoforge-1.1.0+1.20.4 |
1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4
|
neoforge
|
Download |
|
Command Safety 1.1.0 for Forge 26.1-26.2 forge-1.1.0+26.1 |
26.1, 26.1.1, 26.1.2, 26.2, 26.3
|
forge
|
Download |
|
Command Safety 1.1.0 for Forge 1.21.9-1.21.11 forge-1.1.0+1.21.9 |
1.21.10, 1.21.11, 1.21.9
|
forge
|
Download |
|
Command Safety 1.1.0 for Forge 1.21.5-1.21.8 forge-1.1.0+1.21.5 |
1.21.5, 1.21.6, 1.21.7, 1.21.8
|
forge
|
Download |
|
Command Safety 1.1.0 for Forge 1.20.5-1.21.4 forge-1.1.0+1.20.5 |
1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4
|
forge
|
Download |
|
Command Safety 1.1.0 for Forge 1.20-1.20.1 forge-1.1.0+1.20 |
1.20, 1.20.1
|
forge, neoforge
|
Download |
|
Command Safety 1.1.0 for Forge 1.19.4 forge-1.1.0+1.19.4 |
1.19.4
|
forge
|
Download |
|
Command Safety 1.1.0 for Forge 1.19.2 forge-1.1.0+1.19.2 |
1.19.2
|
forge
|
Download |
|
Command Safety 1.0.6 for Fabric 26.1+ 1.0.6 |
26.1, 26.1.1, 26.1.2, 26.2
|
fabric
|
Download |
|
Command Safety 1.0.5 for Fabric 1.21.11 1.0.5 |
1.21.11
|
fabric
|
Download |
|
Command Safety 1.0.4 for Fabric 1.21.9-1.21.10 1.0.4 |
1.21.10, 1.21.9
|
fabric
|
Download |
|
Command Safety 1.0.3 for Fabric 1.21.5-1.21.8 1.0.3 |
1.21.5, 1.21.6, 1.21.7, 1.21.8
|
fabric
|
Download |
|
Command Safety 1.0.2 for Fabric 1.20.5-1.21.4 1.0.2 |
1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4
|
fabric
|
Download |
|
Command Safety 1.0.1 for Fabric 1.20.3-1.20.4 1.0.1 |
1.20.3, 1.20.4
|
fabric
|
Download |
|
Command Safety 1.0.0 for Fabric 1.19.2-1.20.2 1.0.0 |
1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2
|
fabric
|
Download |