Command Blocking – Prevent players from using restricted commands configured in config.yml.
Allowed Commands – Certain commands can bypass blocking for OPs or specified allowed commands.
Tab-Complete Hiding – Blocked commands will not appear in tab-complete suggestions for non-OP players.
Custom Messages – Configure messages for blocked commands (blockedcmd) and unknown commands (unknowncmd). also harded a default incase config.yml breaks.
Plugin Info & Reload – Use /protectinfo to view plugin info, and /protectreload to reload the configuration.
Logging – Optional console logging for blocked command attempts, configurable in config.yml.
Improvements
Optimized for Minecraft 1.20.*+, fully compatible with Spigot/Paper servers.
Clean and readable console output on plugin enable.
Fully configurable via config.yml for easy customization.
Permissions
protect.reload – Allows reloading the plugin configuration.
protect.info – Allows viewing plugin info.
Configuration
blocked_commands – List of commands to block.
allowed_commands – List of commands to always allow.
logging.enabled – Enable or disable console logging for blocked commands.
logging.format – Customize the format of blocked command logs.
Bug Fixes / Notes
Fixed tab-complete visibility for blocked commands.