A lightweight mod designed to help server owners easily manage player command permissions in Minecraft multiplayer. Intuitively disable specific commands, while allowing designated whitelisted players to bypass command restrictions.
AI Translation Notice: This documentation was translated with the assistance of AI. The original author is a non-native English speaker, so please feel free to report any inaccuracies.
Configuration Guide
This mod can be configured either through the in-game GUI (Mod Menu / Config screen) or by manually editing the configuration file:
File location: config/stopcheat-common.toml
Config Fields
blacked_commands
- Type: List of strings
- Purpose: Defines which commands (and their specific arguments) should be blocked from execution.
- Format:
{command}:{checkIndex}:{disabled_args}
| Segment | Description |
|---|---|
{command} |
The Minecraft command name (without the leading /). |
{checkIndex} |
The argument position to check. 0 means the entire command is blocked regardless of arguments. 1 means the first argument after the command, 2 means the second, and so on. |
{disabled_args} |
A comma-separated list of argument values to block. This field is ignored when checkIndex is 0. |
How It Works
Example 1 — Block an entire command:
blacked_commands = ["give:0:"]
giveis the command name.0means "do not check any arguments; block the entire command unconditionally."disabled_argsis ignored because the entire command is banned.- Result:
/givecannot be used in any form.
Example 2 — Block specific arguments:
blacked_commands = ["gamemode:1:creative,spectator"]
gamemodeis the command name.1means "check the 1st argument after/gamemode."creative,spectatorare the banned values.- Result:
/gamemode creativeand/gamemode spectatorare blocked, but/gamemode survivaland/gamemode adventurestill work normally.
Example 3 — Block multiple commands:
blacked_commands = [
"give:0:", # Block /give entirely
"fill:0:", # Block /fill entirely
"gamemode:1:creative,spectator" # Block only creative and spectator
]
pass_users
- Type: List of UUID strings
- Purpose: Players in this list bypass all command restrictions.
- Format: Standard UUID string with hyphens, e.g.
"aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa"
pass_users = [
"aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa", # Admin Alice
"bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb" # Admin Bob
]
Tips
- Always use full UUIDs with hyphens in
pass_users; player names are not accepted. Use a UUID lookup tool if you don't know a player's UUID.

