AdvancedCommandBlocker

Professional command interception plugin, extremely flexible, can intercept various commands or Tab-completion through configuration of different rules!

118

AdvancedCommandBlocker

🚫 AdvancedCommandBlocker

- Based on Bukkit and Spigot APIs. Supports Minecraft 1.12.2 to 1.21.1+ and future versions. - Professional command interception plugin, extremely flexible, can intercept various commands or Tab-completion through configuration of different rules!

✨ Features

- 🔒 Block specific commands by exact match, prefix, or regex - 👥 Apply different rules per player group or permission - 🌐 Supports PlaceholderAPI and custom deny messages - 🧩 Fully configurable via YAML - 🔄 Reloadable in-game without restarting the server

⚙️ US Example Configuration

```yaml

Commands for the AdvancedCommandBlocker plugin

/acb reload – Reload the configuration!

/advancedcommandblocker reload - Reload the configuration!

rules: allSubCommands:

BLACKLIST mode: block the listed commands

WHITELIST mode: only allow the listed commands

Warning: You cannot configure both BLACKLIST and WHITELIST at the same time; although allowed by YAML, the plugin will conflict!

type: BLACKLIST

Permission that bypasses this rule; players with this permission will not be blocked

permission: "cab.allSubCommands"

Message sent to the player when a command is blocked; supports PlaceholderAPI placeholders

blockMessage: "&l&8| &cError &8» &cYou do not have permission to use this command." commands:

- "/help*"

The asterisk (*) blocks all commands starting with /help.

- "/help*"

commands:

BLACKLIST mode: block the listed commands

WHITELIST mode: only allow the listed commands

Warning: You cannot configure both BLACKLIST and WHITELIST at the same time; although allowed by YAML, the plugin will conflict!

type: BLACKLIST

Permission that bypasses this rule; players with this permission will not be blocked

permission: "cab.command"

Message sent to the player when a command is blocked; supports PlaceholderAPI placeholders

blockMessage: "&l&8| &cError &8» &cYou do not have permission to use Bukkit commands." commands:

- "/bukkit:?"

Blocks the exact /bukkit:? command.

- "/bukkit:?" - "/plugins"

tp:

BLACKLIST mode: block the listed commands

WHITELIST mode: only allow the listed commands

Warning: You cannot configure both BLACKLIST and WHITELIST at the same time; although allowed by YAML, the plugin will conflict!

type: BLACKLIST

Permission that bypasses this rule; players with this permission will not be blocked

permission: "acb.tpCommand"

Message sent to the player when a command is blocked; supports PlaceholderAPI placeholders

blockMessage: "&l&8| &cError &8» &cYou do not have permission to use the tp command." commands:

- "/tp <s:t> <s:f>"

<s:t> is a true-text placeholder, <s:f> is a false-text placeholder

Explanation: A player trying to use /tp player01 player02 will be blocked, but /tp player01 will not be.

- "/tp <s:t> <n:t> <n:t> <n:f>"

<n:t> is a true-number placeholder, <n:f> is a false-number placeholder

The following numeric placeholders are supported: "123", "-45.6", "~", "~0", "~1.23", "1e10", "1.8e308"

Explanation: A player trying to use /tp player01 0 0 10 will be blocked, but /tp player01 0 0 will not be.

Players cannot use /tp player01 player02 or /tp player01 0 0 10, but can use /tp 0 0 10 unless you add more specific rules.

Use placeholders to indicate which argument position to start blocking (arguments are space-separated; e.g. /tp player01 player02 has three arguments).

- "/tp <s:t> <s:f>" - "/tp <s:t> <n:t> <n:t> <n:f>"

tab:

HIDE_TAB_BLACKLIST: hide tab completions for listed commands (but do not block execution)

HIDE_TAB_WHITELIST: only show tab completions for listed commands (but do not block execution)

Warning: You cannot configure both HIDE_TAB_BLACKLIST and HIDE_TAB_WHITELIST at the same time; although allowed by YAML, the plugin will conflict!

type: HIDE_TAB_BLACKLIST

Force-close the player's chat input when they press Tab: true = close chat and block Tab; false = do not close but block Tab

closeChat: false

Permission that bypasses this rule; players with this permission will not be blocked when pressing Tab

permission: "acb.tabCommand"

In tab mode, the <s:t>, <s:f>, <n:t>, <n:f> and * placeholders work the same way as in command mode.

commands: - "/tp <n:t> <n:t> <n:f>" - "/help*" ```

ADS