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.
How do i block a command with a space in it? I want to block /? 1, /? 2, ect.
Not surprised to see YET ANOTHER faulty plugin. It's the same as block-that-command, bukkit:me NEVER gets blocked! forbidden-commands: - me - help - pl - '?' - 'bukkit:me' - 'bukkit:pl' - 'bukkit:plugins' - 'bukkit:?' - 'bukkit:help' - sethome
^ The bukkit:[cmd] plugins aren't blocked without quotations either. Thankyou for wasting my time AND having my server exploited. BRILLIANT!
is there a way i can change messages for different commands?
like:
gm 0: command is disabled!
gm1: command dont work!
Wow.. this plugin is 100% pure amazing! I only wanted to prevent people from looking at my plugins. Which ended up with me preventing commands that shouldn't be aloud with one command! It's like magic! I'm would rate this 110/100! Perfect plugin made for perfect servers! Want to come test it out? Hop onto moonrisenetwork.com
I want to use this plugin too, so that the console cannot use /op too! How can this be done? Is this even possible?
@SteviemonPlays
Well, give these groups "-disablecommands.bypass" (don't forget the "-") so they can't bypass restricted commands.
Say I have banned the /nuke command, can the Owner, the Admin, and the OP's bypass the disable? Because I want EVERYONE to not use /nuke. Or /antioch.
how would I disable /smite players name?
Yes i have a comment ;) it is very long to add all the commands, can you add something to add all the commands but commands that i have decided
like /DisableCommands add @@all@@
and after /DisableCommands remove money /DisableCommands remove warp
etc...
thanks very much for all ;-) ++
Please add color support for the messages. :)
any issues with 1.7.9? want to use it on my server
Thanks
@ssSkillzzz
same problem, i wanted to disable the give command and it did nothing
@Noumpas13
Use WorldGuard
Could you make this multiworld support? It would be awesome to use for Survival Games and have it only disable those commands in that arena world.
TODO: Add color support in messages.
Bugs: Double message when use command "/?".
Not working for me at all. Says the commands are added, list shows them but nothing is disabled?
This plugin does not suit my needs. Because it misses a critical feature for me. The area effect. Can you please make this plugin to disable specific commands in a certain area (selected with world edit).
For example. I have a shop for the donators in-game, which sell valuable items only the donators can buy. Actually only the donators have the permissions to enter that donation shop. But i cannot prevent them from setting home there, or from teleporting a mate of theirs in the shop who is not a donator. So i want a plugin that has the area effect to disable the commands (/tp, /sethome, etc..)
It is also useful in arenas. to prevent players to flee from the battlefield with tp commands etc.
Please consider my suggestion, it will give a greater value to your current plugin.
@lst96
You can use a array that will get world names from config file.
Then you can use something like this:
@modzmarvin
Using the /reload command is not healthy for a server and most of the time can cause issues with plugins. Just restart the server and it should be fine.
server keeps hanging on "disabled disbledcommands" when i do a reload. any fix for this?