CommandGuardian | Remove commands from players/ranks
SpigotMCProtect your server from unwanted command usage by players!
17 Downloads
neueste v1.0 SpigotMC
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
- 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
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
Kommentare 0
Noch keine Kommentare. Sei der Erste, der seine Meinung teilt.