CommandBlocker
PluginMIT

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.

108
Downloads
1
Followers
9 months ago
Updated
📦
1
Versions

📖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

  1. Download the .jar and place it in /plugins/
  2. Start the server
  3. Adjust config.yml to your liking
  4. Done!

💬 Support or Suggestions?

You can leave a comment or create an issue on GitHub if you have ideas, bugs, or need help.