CommandsBlocked

CommandsBlocked

250 Downloads

Best with 1.8.8 version of Minecraft.

Summary: Small, simple plugin that blocks commands from being executed.
Permissions: This part, it's custom... So I can't list commands, check below for how to set up config.
Commands:

  • /blockcmd: Base Command. This shows all commands for the plugin.
  • /blockcmd add <command...>: Block a command.
  • /blockcmd remove <command...>: Unblock a command.
  • /blockcmd list: List all blocked commands.
  • /blockcmd reload: Reload configuration file.

Configuration Nodes:

Messages:

  • no-permission: If the command user did not have enough permission.
  • command-disabled: If the command user did not have the blocked-bypass permission and tried to use the blocked command.
  • subcommand-not-exist: If the command user tried to access a non-existent subcommand.
  • on-config-reload: After the execution of /blockcmd reload.
  • on-wrong-usage: After an incorrect command syntax was used. {USAGE} for the command usage, such as /blockcmd add <command...>.
  • command-already-blocked: If the command were already blocked before, for /blockcmd add.
  • command-not-blocked: If the command were not blocked yet, for /blockcmd remove.
  • command-added: After adding a command to the block list. {COMMAND} for the command, including "/".
  • command-removed: After removing a command from the block list.
  • help-commands: Specify multiple lines of help message, for /blockcmd.

Permissions

  • blocked-bypass: Permission node to bypass the restrictions.
  • base-command: Permission node to use /blockcmd only (Just to view the help messages).
  • reload-command: Permission node to use /blockcmd reload.
  • add-command: Permission node to use /blockcmd add <command...>.
  • remove-command: Permission node to use /blockcmd remove <command...>.
  • list-command: Permission node to use /blockcmd list.

Note:The blockedCommands section can also be modified manually in config.yml. But don't put a "/" before the command, unless it's a WorldEdit command... (But still, who even blocks WorldEdit commands?)

Features:

  • Customisable permission nodes.
  • Customisable messages.

(P.s.: I planned to add customisable list format, but I'm lazy so i don't know, i delayed it.)