CmdBlock
CmdBlock
About
CmdBlock is an easy and free way to block any command that a plugin or server uses. CmdBlock will allow only ops to use that command until I can get the permissions working. CmdBlock goes to the core of Bukkit to stop commands from being executed with ease. With a simple syntax you can be blocking those stubborn commands in no time.
Installation
- Move CmdBlock.jar to plugins folder.
- Run server, then shutdown.
- Put commands to be disabled in "/plugins/CmdBlock/config.yml" or use the in game commands.
The differences
Recursive blocking and non recursive blocking allow for a more user controlled administration. In the config.yml there are two new nodes. "Non Recursive" and "Recursive" In the two you will put a dash with the command to be blocked. Recursive blocking works as so. If you have for instance "plugins test1" blocked any command that contains that will be blocked too like "plugins test1 test2". With non recursive blocking "plugins test1" will be blocked not "plugins test1 test2". Any command that equals "plugins test1" will be blocked. If you need any help interpreting this more please hit me a comment or personal message and I will get back to you as soon as I can.
Commands
- /cmdblock help - Lists all the commands.
- /cmdblock add(cmdblock.add) - Add a command to the list.
- /cmdblock add recusrive(cmdblock.add) - Add a command to the list in a recursive manor.
- /cmdblock remove(cmdblock.remove) - Remove a command from the list.
- /cmdbock remove recursive(cmdblock.remove) - Remove a command from the recursive list.
- /cmdblock list(cmdblock.list) - Lists the commands from both Recursive and Non-recursive commands.
- /cmdblock reload(cmdblock.reload) - Reloads the config file. Not the plugin.
@XeonG8
Hey! Sorry for the late response. If you loo in the config. There is a node for password protection. If you enable it and type "/cmdblock authenticate" you can temporarily grant permission to use all the commands.
can you add a way to bypass blocked commands for those who with the perm node...
had to remove the plugin as it was blocking me from using commands on my own server, and that just seems kinda fail.
@CoolKill3r
Hello,
I don't know what your talking about recursive blocking not working. If you use "/cmdblock add recursive [command]" It will block every thing after that command. So for instance "/f enemy tywilly200" will be blocked. I hope that clarifies it for you. Also remember to be using the latest version. That always help.
-TyWilly
I wanted to use the last version but since last version i blocked like /f enemy. while it blocked that it doesnt block /f enemy [name] Could you make it so if u blcok /f enemy it blockes everything afterwards too. thansk. also can u make it block f enemy without a backslash too? would be really handy, thanks.
also how to exempt players from blocks?
If u change the error messages and /cb reload .. no change
also can the error messages use color codes?
@Fantom01
Okay thanks for the heads up. I'll check into it.
May have found a bug with the latest version. Whenever I manually change the error message and reload the server plugins my file is reverted back. However I can still add plugins to block..
@XeonG8
Sorry. I forgot to put it in the description. I have added the command. It's "/cmdblock reload" and it does work. I've tested.
-TyWilly
still no way to edit the config.yml and reload it in game?
/cmdblock reload
please
@fungreenfox
And now we have 1.5.1 xD
@tywilly300
Its a long time since 1.4.4 came out. We have 1.4.5 now.
I'm so sorry. I had abandoned the project :( I will continue to add new features as long as I get them. when 1.4 comes out expect some changes like recursive blocking( you can block one command "/help minewarp" or you can block the whole command "/help") this will take a while but i'm up for the challenge. Thanks for all your support and suggestions and 1,000 downloads!!!!!
Any updates coming?
not block accuracy commands as /region remove spawn only /region remove
Yeah same here I hope this gets updates soon. I would like to add more classes to my heroes that the player needs to find in the world.
Hmm i am using 1.3.2 rev.
This plugin doesnt work i type /cmdblock add efeed First command he block Second time when i add command plugin doesnt block.
Duno why.
In config file there is the command shown but i still can use command.
Please fix it,blugin is realy required.
i added the command via /cb add /command but only the first command block i add works... after the first command that is blocked then the others don't get blocked.
@beanssprout
Yes that is true.
Just to verify something. Even if I have a permission node enabled for a certain group. If I block it with CmdBlock it will not allow that player to use that specific command? Thanks