CommandBlock Plugin for Minecraft
Overview: The "CommandBlock" plugin is a sophisticated Minecraft server plugin designed to enhance server administration and control. It allows server administrators to block specific commands from being used by players, customize messages for blocked commands, and manage permissions for each blocked command.
Key Features:
- Command Blocking: Admins can block any command on the server, preventing players from using it.
- Customizable Messages: Each blocked command can have a custom message that displays when a player attempts to use it.
- Real-Time Configuration Updates: Blocked commands and their messages are updated in real-time in the config.yml file.
- Permission Management: The plugin generates unique permissions for each blocked command, allowing fine-grained access control.
- Command Unblocking: Admins can easily unblock commands, restoring player access.
- List Blocked Commands: Admins can view a list of all currently blocked commands.
Commands:
- /cb block <command> [message]: Blocks a specific command. Optionally, a custom message can be added that displays when the command is attempted.
- /cb unblock <command>: Unblocks a specific command, allowing it to be used again.
- /cb list: Lists all currently blocked commands.
- /cb help: Displays a help menu with information about the plugin's commands.
- CAN USE /CB or /commandblock
Permissions:
- commandblock.admin: Required to use all features of the CommandBlock plugin.
- commandblock.command.<commandName>: Automatically generated for each blocked command. Granting this permission to a player or group allows them to use the blocked command.
IMPORTANT: NO BLOCK COMMANDS USING /
EXAMPLE: /CB BLOCK /PL (THIS NOT CORRECT)
USE: /CB BLOCK PL (OR OTHER COMMAND) NO USE /
IN GAME EXAMPLES:
/cb help
/cb block (commandToBlock) in my case, blocked ´pl´ command. (/cb block pl)
/cb list (To see all blocked command list)
Config.yml (EXAMPLE)
Can you edit all messages, for default, WHEN YOU BLOCK A COMMAND, IF YOU DO NOT SPECIFY ANY MESSAGE, BY DEFAULT IT WILL SAY Command Blocked , just like the /pl command in the list says. This will look like this if you have not specified any message when blocking the command. If you want to change it, you can do it from the configuration, make sure to add the ' ' Necessary in that case, since by default they are not included unless you edit the message and add color.
If you look closely, the pl command is blocked, and in its message when writing it, there are no ' '. This is because when blocking the command, a message has not been stipulated for said command, so the plugin automatically Sets the default message as: Command Blocked. If you want to change it, you must add the ' ' , as in the other messages, and now you can add color codes using &
- PLEASE RATE ME, ANY QUESTIONS CONTACT FOR HELP
