CommandsGuard
Home | WebSite
This plugin allows you to lock the controls of the players and operators. Supports permissions and easy configuration. To lock a command you have need to go in the configuration and enter, under the heading of your choice (Operators or No-Operators), the command to block.
To unlock the command to a player or group you have to give permission bypass.
Features
Block Commands OP & Players
Multi-World Support
In-Game Reload Command
In-Game Configuration
Log Commands
Language fully configurable
Permissions Support
Check-for-Updates
Permissions
Command | Permission | Description |
---|---|---|
* | commandsguard.* | All Commands |
reload | commandsguard.reload | Reload Command |
config | commandsguard.config | Config Command |
info | commandsguard.info | Info Command |
bypass all commands | commandsguard.bypass | Bypass all commands |
bypass specify command | commandsguard.bypass.<command> | Bypass specify commands |
Configuration
Config.yml:
Check-for-Updates: true Messages: Permission: "&cYou do not have permission to do that!" AddCommand: "Command %cmd blocked!" RemoveCommand: "Command %cmd unblocked!" AlreadyBlockedCommand: "Command %cmd already blocked!" NotBlockedCommand: "Command %cmd isn't blocked!" Block-Commands: Operators: [] No-Operators: - 'stop' - 'reload' - 'test:world:world_nether:world_the_end'
MultiWorld support:
For block specify command in a world/s add ":<nameworld>" at the end of command.
Example: "test:world" or "stop:world:world_nether"
ToDo
MultiWorld support
Specific Players support
More permissions support
In game configuration
Log Commands
Language configurable
Money system
More...
Metrics
ChangeLog
1.4.0
Improved Configuration
Bugs Fix
Language fully configurable
MultiWorld Support
Log Commands
1.3.0
Improved Check-for-Updates
Improved Configuration
Improved Starting of Plugin
In-Game Configuration
Command "config"
Command "info"
Permission "commandsguard.config"
Permission "commandsguard.info"
1.2.0
Improved Permissions Support
Changed Permission "commandsguard.<command>" in "commandsguard.bypass.<command>"
Permission "commandsguard.*"
Permission "commandsguard.bypass"
1.1.0
Improved Configuration
Added Reload Command
1.0.0
Initial Release
@Zilacon
Easy way to stop that is disable opping in game via config file. This way console is only way to give op. This will help quite a bit.
@AlessioDP
Can you please fix this so it blocks all types of the command? People are bypassing it by using capital letters on the command. So if i block OP and op they can type /oP or /Op and bypass it.
can we have a wildcard? like /command*
Does this work with groups? Because I want to deny certain commands to certain groups. I use a plugin where certain commands don't have a permission node, only the slash command.
@AlessioDP
Good job! still works on 1.7.9
@pandapipino
Yes :)
Can we multiple syntax commands like this?
ex: test test2:world
@joehardy8
I tried to block more commands and I will continue to work. Could be due to an error reading the config. You should ask the admin to pass you the server log, and copy all the messages it has commandsguard. http://pastebin.com/
@AlessioDP
The config looks like this:
Messages:
Permission: "&6Unknown command. Type "help" for help."
AddCommand: "&bCommand %cmd blocked!"
RemoveCommand: "&bCommand %cmd unblocked!"
AlreadyBlockedCommand: "&bCommand %cmd already blocked!"
NotBlockedCommand: "&bCommand %cmd isn't blocked!"
Block-Commands:
Operators: []
No-Operators:
- 'w'
And nobody on the server aside from OPs have any commandguard permissions whatsoever.
I also tried adding 'tpo' to the list of perms that OPs are blocked from to try it, and it did not work either. I was still able to use /tpo.
Also, I am not the server owner, I am just the admin who is handling the configuration of some new plugins. I have absolutely no idea how to give you the pastebin or whatever.
Thanks for your quick replies, and I hope we can sort this out! We really need this.
@joehardy8
I tested, works for me. I insert 'w' to block the command /w
And dont block /warp.. if you give a user permission to bypass the block is natural that does not work.
Make sure the player, making the command, do not have the permissions: commandsguard.* commandsguard.bypass commandsguard.bypass.w
Add Could you pass the pastebin of the error?
"An internal error occurred while attempting to perform this command"
When I try to configure in game
@AlessioDP
Thank you very much!
@joehardy8
I understand, I immediately start to fix this bug
@AlessioDP
I said we did not want to block /warp. We added 'w' to block /w and it worked, but a side effect was it blocking /warp as well.
Now however, it does not block anything. It says that both 'w' and '/w' are blocked, just to test it, but it does not block /w at all. This is my issue.
@joehardy8
when you type a command in the config does not have to put the / To block the /warp add in the config "warp"
We downloaded the latest version and installed it to block '/w'. However, it does not block any commands. When I use '/cg info noop', it shows up with: "Blocked Cmds: [w, /w]", however /w still works on the server. When I tried this with an earlier version of the plugin, before you could configure it in game, it blocked /w but also blocked /warp which we did not want. Is there any reason behind it doing this, and any solution on how to fix it? It does not block /warp anymore, but is not doing what we want it to do now. Thanks!
Very good plugin! Thank Developers
@joehardy8
what?
We have an issue...
Disregard this, it might be our fault; we are troubleshooting.
@nihontos
you could do a screen of what you do, even in private message