CommandBlocker
CommandBlocker is a lightweight, simple, and powerful plugin designed for Folia, Paper, or Spigot servers that lets you block commands and their autocomplete (TAB) to prevent players from discovering or using unwanted commands.
📖About CommandBlocker
🌟 CommandBlocker - Block Commands and Autocomplete in Style
🎯 CommandBlocker is a lightweight, simple, and powerful plugin designed for Folia, Paper, or Spigot servers that lets you block commands and their autocomplete (TAB) to prevent players from discovering or using unwanted commands.
🚀 Features
✅ Block any command not on the allowed list
✅ Block command autocomplete (TAB)
✅ Permission system with bypass (commandblocker.bypass)
✅ /cb reload command to reload the configuration
✅ Hidden /cbtest command to test the plugin
✅ Compatible with Minecraft 1.20+ and Folia
✅ Customizable configuration: Messages included! \
📂 Example config.yml
allowed-commands:
- help
- msg
- spawn
messages:
command-blocked: "&cThis command is blocked."
reload-success: "&aConfiguration reloaded."
no-permission: "&cYou don't have permission to use this command."
test-success: "&aThe plugin is working correctly."
🔐 Permissions
| Permission | Description |
|---|---|
commandblocker.bypass |
Allows using and tab-completing any command |
commandblocker.admin |
Allows using /cb reload |
commandblocker.test |
Allows using /cbtest |
🧠 Why use it?
🔒 If you want to prevent players from:
- Using commands they shouldn’t
- Discovering plugins or commands with
/(tab) - Trying to exploit external commands
🎯 This plugin is ideal for networks, PvP servers, survival, lobbies, and more.
🧪 Tested with:
- ✅ Minecraft 1.20.1+
- ✅ Folia (native support)
- ✅ Paper and derivatives
- ✅ Compatible with plugins like LuckPerms, AuthMe, TAB, etc.
📥 Installation
- Download the
.jarand place it in/plugins/ - Start the server
- Adjust
config.ymlto your liking - Done!
💬 Support or Suggestions?
You can leave a comment or create an issue on GitHub if you have ideas, bugs, or need help.