Command Blocker

About

CommandBlocker is a Minecraft plugin that allows administrators to block specific commands from being executed by players. Using the /zablokuj-komende [komenda] command, admins can add commands to a blocklist, preventing players from using them. The /frytka-zablokuj-komende [komenda] command serves as an alias for the same functionality. Blocked commands are stored persistently in a configuration file. Players with the "komendy.bypass" permission bypass the blocklist entirely, allowing trusted users to execute any command. The plugin intercepts command execution events, checks the blocklist, and either cancels the command with a denial message or allows it based on permissions. It also provides a command to list all currently blocked commands and another to unblock commands, giving administrators full control over the server's command restrictions.