Compatibility
Minecraft: Java Edition
Platforms
Supported environments
Tags
Creators
Details
Neoforge Command Blocker
Have you ever ran a server where you wanted to block commands from being used, whether it's from stopping players from using /seed or stopping OP's abusing commands like /tp or perhaps it's to prevent yourself from reaching into the temptation of going into creative mode. Well fret no more. This mod allows you to do just that.
How to use
On a server you can ban commands in the mod's config commandlocker-common.toml by typing into the square brackets the command you want to block (remember to use "") ie ["tp"]
or if you want to block multiple commands just add a ',' ie ["tp", "gamemode"].
Sub commands can be blocked instead of banning the full command for example ["tp", "teleport", "gamemode creative", "ban User"]
This mod can be used in a singleplayer world too with an in game config screen accessed via Mods → Command Locker → Config.
You do not need to restart your server for the config to be updated.
The commands will be blocked on saving the config file


