Simple Command Blocker
1.3.2Simple Command Blocker, block command, deny command, commands blacklist, restrict command
Description:
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.
/scb list
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
Permissions:
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).
Commands:
/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.
Config files:
database.yml
Contains all blocked commands
blocked_cmds:
- cmd
- cmd2
- onemorecommand
messages.yml
Contains all messages strings, maybe needed for translation or other things.
nopermission: '&cYou don''t have permission.'
author: '&6Author'
version: '&6Version'
data_reloaded: '&aData has been reloaded'
usage: '&eUsage'
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: '&6Description'
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: Command
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
Supported versions:
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
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta