CommandGuardian is a lightweight and efficient plugin that allows server administrators to block specific commands from being executed by regular players while maintaining full access for admins and operators.
️ Features
CommandGuardian intercepts player commands before they're executed and checks them against your configured blocked commands list. If a regular player tries to use a blocked command, it's cancelled and they receive a customizable denial message.
⚙️ Configuration
Common Use Cases
Commands:
If you encounter any issues or have suggestions for improvement, please don't hesitate to reach out. I'm committed to maintaining and improving this plugin based on community feedback.
Why Choose CommandGuardian?
️ Features
- Flexible Command Blocking: Block any command you specify in the configuration
- Admin Bypass: Administrators and OPs can always use blocked commands
- Real-time Configuration: Reload settings without restarting the server
- Lightweight: Minimal performance impact on your server
- Easy Configuration: Simple YAML configuration file
- Detailed Logging: Track blocked command attempts for security monitoring
CommandGuardian intercepts player commands before they're executed and checks them against your configured blocked commands list. If a regular player tries to use a blocked command, it's cancelled and they receive a customizable denial message.
⚙️ Configuration
Spoiler: config.yml
Code (YAML):
# Commands that should be blocked for non-admin players
blocked-commands :
- "/bukkit:?"
- "/bukkit:help"
- "/bukkit:plugins"
- "/bukkit:pl"
- "/bukkit:version"
- "/minecraft:me"
# Messages
messages:
no-permission : "&cYou don't have permission to use this command!"
blocked-commands :
- "/bukkit:?"
- "/bukkit:help"
- "/bukkit:plugins"
- "/bukkit:pl"
- "/bukkit:version"
- "/minecraft:me"
# Messages
messages:
no-permission : "&cYou don't have permission to use this command!"
Common Use Cases
- Hide Server Information: Block /plugins, /version, and similar commands
- Prevent Bukkit Command Access: Stop players from using /bukkit:* commands
- Restrict Admin Commands: Block any command you don't want players to access
- Security Enhancement: Prevent information gathering by malicious players
Commands:
- /commandguardian - Main plugin command
- /commandguardian reload - Reload configuration
- Aliases: /cg, /cmdguard
- commandguardian.admin - Bypass all command blocks and reload config (default: OP)
- Download the plugin JAR file
- Place it in your server's plugins folder
- Start or restart your server
- Edit plugins/CommandGuardian/config.yml to customize blocked commands
- Use /commandguardian reload to apply changes
- Minecraft Version: 1.21+
- Server Software: Spigot, Paper, or any Spigot-based server
- Java: Java 21+
If you encounter any issues or have suggestions for improvement, please don't hesitate to reach out. I'm committed to maintaining and improving this plugin based on community feedback.
Why Choose CommandGuardian?
- Simple Setup: Works out of the box with sensible defaults
- Performance Focused: Minimal resource usage
- Actively Maintained: Regular updates and bug fixes
- Community Driven: Features requested by real server administrators
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.16, 1.17, 1.18
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
CommandGuardian | Remove commands from players/ranks is a free Minecraft Java mod. Compatible with Minecraft 1.16, 1.17, 1.18, 1.19 and newer. Downloaded 29 times (via Spigot). Download it and open it directly in the game.