Commandeny is my first plugin, you can prevent players from using some commands and define some custom permissions for those commands with it.
There may be some bugs in it, tell me if you find some of them ,please!
How to install:
1. Put Commandeny plugin to your server's plugins folder and restart your server.
2. Edit config.yml for yours needs, and then do "/cdreload" command to reload it.
Forgive me for my poor english, click the "dicussion" tab on top of this page to let me know what you can not understand clearly.Code (Text):# Commandeny - Command Deny, Author: ferrinweb
# Players with permission 'cd.bypass' can do commands which in command list below;
# Players with permission 'cd.reload' can do '/cmbreload' command to reload the config file;
# Players who have the custom permission can perform the corresponding command in the command list below.
# Message when a player without 'cd.bypass' or custom permission do a command in the command list.
message: '&8[&cThis command is locked, you can not do this!&8]'
# Message when a player without 'cd.reload' do '/cdreload' command.
ondeny: '&8[&cYou do not have permission to do this!&8]'
# Message config.yml file reloaded.
onreload: '&8[&aconfig.yml reloaded!&8]'
# Command list.
# A command and its custom permission should be separated with '^' if you want define a custom permission for the command.
# You can add command segment like 'pay *' then players can not do some lag command like '/pay * 0.00000001'.
- 'pay *^cd.cdpay'