BlockedCommands

BlockedCommands allows you to block commands per world. You can set the message sent to the player, the commands blocked, the prefix use in the messages, whether or not to send a message at all, and more! To install, simply download and drop the plugin into your plugins folder, and reload/restart your server! An example config is shown below. This is what the default config will look like:

prefix: '&c[&6BlockedCommands&c]&r '
# The prefix used in messages. Supports color codes.
send-message: true
# Whether or not to send the message saying the player can't use that command
message: '&cYou can''t use the command &4%cmd%&c in&4 %world%&c!'
# The message sent to the player when a command is blocked. Supports color codes, and use %world% for the world name, and %cmd% for the command used
disabled-worlds:
# The worlds BlockedCommands ignores
  - world_one
blocked-commands:
  world_one:
    - me says hi
    # The commands that are blocked for 'world_one'. In this case, the player cannot use the command '/me says hi'
override-perm: bc.override.WORLDNAME
# Changing this will not affect the plugin in any way. This shows you what the override permission is, with 'WORLDNAME' being the name of the world.

That's it! You can add as many commands as you like, with as many worlds as you like! Source code: here


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    81151
  • Created
    Jun 11, 2014
  • Last Released File
    Jun 11, 2014
  • Total Downloads
    1,502
  • License

Categories

Members

Recent Files