DisableCommands
PLUGIN MERGED WITH MY OTHER PLUGINS, FOR UPDATES VISIT UltimatePlugin
It allows you to easily enable/disable commands. It is compatible with permission plugins.
Commands
/disablecommands - Shows the help menu
/disablecommands add <command> - Adds to the disabled commands list (Don't add a /) (Use _ for space in sub commands)
/disablecommands remove <command> - Removes a command from the disabled commands list.
/disablecommands list - Lists all the disabled commands.
/disablecommands reload - Reloads the configuration file.
/disablecommands update- Manually check for an update.
Permissions
disablecommands.*: Gives all permissions
disablecommands.bypass: Bypasses command blocker
disablecommands.add: Adds to the disabled commands list
dsablecommands.remove: Removes from the disabled commands list
disablecommands.list: Lists all the disabled commands
disablecommands.reload: Reloads the configuration file.
disablecommands.update: Manually check for an update.
Instructions
Just drop the DisableCommands.jar into your plugins folder and start your server!
To add a command to the 'Disabled' List do
/disablecommands add [command without /]
Example:
/disablecommands add op
This would stop people using the command /op (Console Overrides Plugin)
If you have any suggestions please drop a comment =)
Quote:This plugin utilizes an external version checking system, which means that the following may occur:
Connection to curseforge.com
Plugin version compared against version on curseforge.com
Downloading of the plugin from curseforge.com
You can disable the check and/or automated download via the configuration of this plugin.
Quote:This plugin utilizes Hidendra's plugin metrics system, which means that the following information is collected and sent to mcstats.org:
A unique identifier
The server's version of Java
Whether the server is in offline or online mode
The plugin's version
The server's version
The OS version/name and architecture
The core count for the CPU
The number of players online
The Metrics version
You can disable the stat collection via /plugins/PluginMetrics/config.yml if you wish.
@geekyservers
Not likely, i'm not quite sure how to implement this.
Any chance that this plugin will offer per world support?
v1.5
- Sub command support using /disablecommands add <command>.
Ex. /disablecommands add help_1 would block help 1
@CalaveraTheNine
The /disablecommands add <command> doesn't work for sub commands. To add it do as you said and type each sub command you want to block in the config.Starting 1.5 and above use _ for space for subcommands.This is a great plugin, nice and easy to use.
I do have a problem getting sub commands to work. e.g when i use "/disablecommands add help 2" i just get the list of commands as if i had only typed "/disablecommands".
I can however add sub commands from the config file, but i have to add each sub separately, adding "- help" will simply block "/help" but not "/help 2" and if i add "- help *" it does not block all subs, i have to manually go through and add each sub like "-help 2" etc.
I was just wondering if i was doing something wrong as from your previous comment i see you have sub commands working.
I am running the latest bukkit dev build, i have also tried this on the beta build.
@Paul20666
Thanks. Hope you enjoy it!
The plugin is working nice
@vanos77
I'll look into per world, but sub command already works.
For example add help 1 to the block list to disable /help 1
Hi
per world region with eg. worldgard and sub command support would be nice.
greets van
v1.4
- Added /disablecommands update to manually check for an updater other than on server startup, requires disablecommands.update to use.
@Bunkham
I tested this plugin on multiworlds and i'm unable to reproduce your problem. It disabled commands in world, world_nether, world_end, world_test, and world_test2.
@ircopdd
It does, to disable a sub command just do /disablecommands add help 1
This would disable the command /help 1
Updated the Server to 1.7.2 R0.2, On the latest version of the plugin however I have a problem, the multi-world blocking function doesn't appear to be working. The Server is a SkyWars server which generates a new world (island-0, island-1, island-#) as more games are played, meaning that people can execute the disabled commands from those worlds. Thanks for reading :)
i test DisableCommands v1.3
is no work for sub command
@ircopdd
Just disable help and it will block all the sub commands also.
please Support disable sub commands
/help 1
/help list
or Support disable /help *
thanks
v1.3
@ircopdd
Because my font color is white
i test
/disablecommands add help
player use /help is disablecommand
but use "capital letter"
/helP can be Bypass disablecommands
or /HELP /HeLP /hELP
@ircopdd
please add Color codes Support
I do not want red font
and
/op is work
/OP can be pass
/oP can be pass
/Op can be pass
thanks