Compatibility
Minecraft: Java Edition
Platforms
Supported environments
75% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Creators
Details
Command Blocker
Adds a simple new gamerule, commandBlocksEnabled
, to the game to toggle whether command blocks are enabled while the game is running.
Why does this exist?
It exists for a few reasons, firstly, because this is just not possible in singleplayer. Ever placed down a repeating command block with /tp @a 0 90 0
or something similar? This is for then.
In multiplayer, in the server.properties
, there is a setting called enable-command-block
- so you would think this mod is useless. It is not. Modifications to your server.properties
are only applied on server start, so you cannot change this setting while the server is running. HOWEVER, this can be a security problem on servers, so please only install this mod if you trust all your operators/admins.