Compatibility
Minecraft: Java Edition
1.21.x
Platforms
Tags
Creators
Details
Licensed MIT-0
Published 50 minutes ago
Updated 3 weeks ago
CommandGuard 🛡️
Protect your Minecraft server by automatically kicking players who execute forbidden commands.
Features
- Full Command Filtering — Block complete commands, including subcommands and arguments.
- Configurable Rules — Add or remove blocked commands directly in config.yml.
- Wildcard Support — Use
{0},{1}, or*to match command arguments. - Instant Config Reload — Reload the configuration using
/cguard reloadwithout restarting the server. - Custom Kick Message — Customize the message shown when a player is kicked.
- Case-Insensitive Matching — Command matching ignores uppercase and lowercase differences.
##Example Configuration
blocked-commands:
- "plugins"
- "team description {0}"
- "team modify {0} friendlyfire"
- "team description *"
kick-message: "&cThis command is forbidden!"


