
Command Blocker
This modification introduces a new game rule called commandBlocksEnabled
into the game, allowing players to instantly enable or disable the functioning of command blocks during an active gaming session without needing to restart the world or server.
Why is this needed?
Imagine the scenario: you accidentally placed a repeating command block with a teleportation function like /tp @a 0 90 0
, and all players are constantly being teleported to an unwanted location. In single-player mode, it's impossible to quickly disable such a block without destroying it, while in multiplayer mode, the enable-command-block
setting from the server.properties
file is only applied during server startup.
This modification solves both problems. However, it's important to note that using this mod on public servers requires a certain level of trust among all administrators and operators, as the instant command block deactivation feature could potentially be misused for malicious purposes.