- Tested Minecraft Versions:
- Source Code:
Plugin simply blocks commands for all (Except that who has a permissions) by adding it to the database.yml.
You can easily block commands using /scb add <cmd1> <cmd2> ... <cmdN>
Also if it needed you can unblock commands /scb remove <cmd> <cmd2> ... <cmdN>
To add or remove command you don't need add '/' before it.
Use it like /scb add/remove plugins, not /plugins
Now from 1.2.2 version of plugin added possibility to get list of blocked commands in-game.
If you do some changes in database.yml or messages.yml and don't want reload whole server use /scb reload.
There is help message in game
scb.cmds - allow to use all /scb commands
scb.bypass - allow to use blocked commands
If you don't have permission plugin you can use /scb commands if you OP, but cant use blocked commands (Even if OP).
/scb - show info menu
/scb add <cmd> [<cmd2> ...] - blocks commands <cmd> [<cmd2> ...].
/scb remove <cmd> [<cmd2> ...] - unblocks commands <cmd> [<cmd2> ...].
/scb help - shows help message.
/scb list - shows list of blocked commands.
/scb reload - reloads all data files.
Contains all blocked commands
Contains all messages strings, maybe needed for translation or other things.
Supported versions:Code (YAML):
nopermission: '&cYou don''t have permission.'
data_reloaded: '&aData has been reloaded'
usage_add: '&f/scb add <command> <command2> ...'
usage_remove: '&f/scb remove <command> <command2> ...'
usage_list: '&f/scb list'
usage_reload: '&f/scb reload'
desc_add: '&3Blocks command <command> <command2> ...'
desc_remove: '&3Unblocks command <command> <command2> ...'
desc_list: '&3Shows list of blocked commands'
desc_reload: '&3Reloads data files'
info_end: '&cWrite command you want to block/unblock without ''/''.'
cmd_has_blocked: has been blocked
cmd_already_blocked: already blocked
cmd_is_blocked: is blocked
cmd_not_blocked: not blocked by this plugin
cmd_has_unblocked: has been unblocked
no_blocked_cmds: '&eThere no blocked commands in database.yml'
blocked_cmds_list: '&6Next commands are blocked'
invalid_args: '&cInvalid subcommand! &eRead /scb help to more info!'
scb: This command can't be blocked
1.7.2-1.12.2(On other versions it not tested but should be work)
If there some bugs or issues contact me.
If you need help or getting some errors write me on my
Telegram:https://t.me/vitikc Email:[email protected] with topic:SimpleCommandBlocker
Simple Command Blocker 1.3.2
Simple Command Blocker, block command, deny command, commands blacklist, restrict command