Simple Command Blocker 1.3.2

Simple Command Blocker, block command, deny command, commands blacklist, restrict command

  1. Vitikc
    Tested Minecraft Versions:
    • 1.8
    • 1.12
    Source Code:
    https://github.com/vitikc/SimpleCommandBlocker
    Description:
    Plugin simply blocks commands for all (Except that who has a permissions) by adding it to the database.yml.
    [​IMG]
    You can easily block commands using /scb add <cmd1> <cmd2> ... <cmdN>
    [​IMG]
    Also if it needed you can unblock commands /scb remove <cmd> <cmd2> ... <cmdN>
    [​IMG]
    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
    [​IMG]
    If you do some changes in database.yml or messages.yml and don't want reload whole server use /scb reload.
    [​IMG]
    There is help message in game
    [​IMG]
    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
    Code (YAML):
    blocked_cmds:
    - cmd
    - cmd2
    - onemorecommand
    messages.yml
    Contains all messages strings, maybe needed for translation or other things.
    Code (YAML):

    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.

    GitHub repository.

    If you need help or getting some errors write me on my
    Telegram:https://t.me/vitikc Email:[email protected] with topic:SimpleCommandBlocker

Recent Reviews

  1. MisterPawlak
    MisterPawlak
    5/5,
    Version: 1.3.2
    Great plugin!
    Please update plugin to 1.14 :)
  2. woeterman_94
    woeterman_94
    4/5,
    Version: 1.2.2
    Great plugin.

    In the config I see 'can_senden_only_from: '&cSorry, that command can be sended from player only' How do I use this?
    1. Vitikc
      Author's Response
      This is only message, which sends when you try use commands from console, in next version I will add console support and bungee.
  3. ItsFireball1122
    ItsFireball1122
    5/5,
    Version: 1.2.1
    Nice plugin easy to understand! One suggestion bungee support for future servers. Another simple suggestion include in the overview if you need to use a '/' to block commands might be helpful and also p.s. You mispelled this 'Also if it needed you can unblock commands /scb "remvoe" <cmd> <cmd2> ... <cmdN>' Besides that great work looking forward to good updates!
    1. Vitikc
      Author's Response
      Thank you)