- Contributors:
- nikDEV
![]()
Have a professional server that you want to disable certain commands on? Then this is the plugin for you
![]()
Leave a rating if you like the plugin
- disable commands
- list disabled commands
- enable commands
- config for messages
- rich api
![]()
/dc add <command>
/dc remove <command>
/dc list
/dc reload
![]()
- DisableCommands.disable = Use the disable command
- DisableCommands.enable = enable commands
- DisableCommands.list = list disabled commands
- DisableCommands.reload = reload DisabledCommands config
![]()
Code (Text)://To disable a command ex: disable /help[/B]
[B]DisableCommandsAPI.disableCommand("help");
//To enable a command ex: enable /help
DisableCommandsAPI.enableCommand("help");
//See if a command is enabled ex: boolean if /help is enabled
boolean helpEnabled = DisableCommandsAPI.isDisabled("help);![]()
Code (Text):#Message sent to the player when the command is executed[/B][/SIZE][/B]
[B][SIZE=5][B][B][SIZE=5][B][B][SIZE=5][B]Prefix: '&8[&1&lDisableCommands&8]' //the plugin prefix
DisabledCommandMsg: '&4Unknown command' //msg sent to a player when a disabled command is executed
DisabledCommands: //the disabled commands (dont touch)
Hope you guys find this useful!

Disabled Commands 1.0.7_2
a plugin to disable commands + Api!