Sueta
BU

BungeeCommandBlocker

1.4.3

Very easy way to block commands proxy side. Highly customizable.

·Plugin

Very easy way to block commands proxy side. Only tested with BungeeCord version git:BungeeCord-Bootstrap:1.15-SNAPSHOT:f1c32f8:1489 and didn't test thoroughly. May contain bugs. Likely to work on BungeeCord forks, such as WaterFall. Will not work on Velocity as it uses a different API system.

Features:
- Block commands & tabs or only allow commands globally and per server.
- Sends custom message when not allowed.
- Ability to reload config.
- Ability to bypass the blocker.
- Custom permission for commands.
- VERY customizable.
- Globally allowed commands.

Commands:
  BungeeCommandBlocker:
    Permission: bungeecommandblocker.command
    Usage:
      NoArgs: Toggles your bypassing.
      Arg "reload": Reloads config (requires permission "bungeecommandblocker.reload")

Config:

config
# Case sensitive. Now uses regex. being w/ ^ to "starts with" or end with $ for "ends with". Search regex up, it's cool.
DoGlobalFirst: false
GlobalAllowed:
  - "msg"
  - "pm"
  - "^message:"

BlockedCommands:
  global:
    OnlyAllowed: false
    Test:
      Tab:
        Block: false
        Replacement: []
      Message: "&4You do not have access to that command."
      BypassPermission: "bypass.permission"
      Commands:
        - "op"
        - "deop"
        - "ncp":
            Message:
              - "NCP>> NO U"
              - "NCP>> Nein Du"
              - "NCP>> Wtf"
            BypassPermission: "ncp.nou"
        - "kick":
            Message: "Please don't kick."
        - "ban":
            BypassPermission: "minecraft.ban"
        - "^essentials:":
            StartsWith: true
        - "ver":
            Tab:
              Block: true
              Replacement: ["no", "plugin", "up", "my", "arse"]
    AAC:
      Message: " &6AAC &rno u"
      BypassPermission: "aac.nou"
      Commands:
        - "aac"
        - "aac:aac"
  lobby:
    OnlyAllowed: true
    Tab:
      Block: false
      Replacement: []
    BypassPermission: "onlyallowed.permission"
    Message: "&cI'm sorry, but you do not have permission to perform this command. Please contact the server administrators if you believe that this is in error."
    Commands:
      - "say"
      - "me"
      - "help"
      - "info"
      - "rules"

Similar projects

Plugin →