This update adds two long requested features: Action Bar support and Sound support.
ActionBar will display a message in your action bar when a command is blocked. It does not conflict with the "Message" option, so you can have a message appear in both. In fresh installs this will already be included in the config.yml, but in old installs you can add it manually. It will only attempt to display if the option exists in the config.
# Message displayed in the action bar informing the player that the command has been blocked. Leave blank to disable.
ActionBar: "<red>You cannot use that command!"
Sound will play a configured sound to you when a command is blocked, including the ability to change the pitch and volume. It uses Bukkit's built-in Sound enum. You can find a full list of that here: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Sound.html. Like the ActionBar settings, they will be included in fresh installs but will need to be manually added if trying to use it in pre-existing configurations.
# Plays a sound when the command has been blocked. Delete this section to disable it.
Sound:
Sound: ENTITY_ENDERMAN_TELEPORT # Sound to be played. You can find a full list here: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Sound.html
Pitch: 0.5 # Pitch of the sound. Range: 0.0 - 1.0
Volume: 1.0 # Volume of the Sound. Range: 0.0 - 1.0
Other Changes
- Updated adventure to 4.25.0
- Added support for blacklisting sub commands. (Note: they will still appear in tab complete)
- Fixed a bug that preventing hiding WorldEdit commands from tab complete.
- Updated adventure to 4.19.0.
- Added support for PlaceholderAPI
- Added support for BetterReload
- Fixed /commandblocker not having a permission set in plugin.yml (ironic, I know)
- Fixed the "commandblocker.bypass" permission not being in plugin.yml
- Updated adventure to 4.17.0.
- Fixed #4: Bypass permission does not work when hiding colon commands (by JasonHorkles)
- Allow proper multi-line YAML Strings in config.yml
- Slight performance improvements
- Improved the legacy-to-MiniMessage color code translation.
- Allow Folia to load the plugin
Additions
- Added support for versions 1.8 and higher.
Changes
- Updated Adventure to 4.14.0.
Initial Plugin Release


