All Mods Resource Packs Data Packs Shaders Modpacks Plugins
CommandBlocker

CommandBlocker

by firewolf8385 • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions

CommandBlocker

CommandBlocker is a simple plugin used to block players from using commands set in the configuration file. Useful for blocking commands such as /version and /plugins.

Features

  • Ability to blacklist or whitelist specific commands. Can be done in-game via commands.
  • Ability to hide specific commands from tab complete without blocking them.
  • Hides blocked commands from tab complete.
  • Option to hide all commands with a colon from tab complete.
  • Ability to bypass the block with the permission "commandblocker.bypass"
  • Configuration supports MiniMessage

Requirements

  • Java 8 or newer
  • Server Software with Bukkit API.

Commands

Command Description
/cb add [command] Adds a command to the command list.
/cb help Displays a list of plugin commands.
/cb mode [BLACKLIST/HIDE/WHITELIST] Sets the plugin mode.
/cb reload Reloads the plugin configuration.
/cb version Displays the plugin version.

Permissions

Permission Description
commandblocker.admin Required to run plugin commands.
commandblocker.bypass Allows the player to bypass the command block

Support

For bug reports and feature requests we'd prefer you use the GitHub Issue Tracker. For other types of support we also now have a discord server, which you can access with the button below.

bStats

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
26.3 26.2 26.1.x +14
Bukkit Folia Paper Purpur Spigot
9h ago 1
1.21.x 1.20.x 1.19.x +6
Bukkit Folia Paper Purpur Spigot
9h ago 1
1.21.x 1.20.x 1.19.x +11
Bukkit Folia Paper Purpur Spigot
9h ago 1
1.21.x 1.20.x 1.19.x +11
Bukkit Folia Paper Purpur Spigot
9h ago 1
1.21.x 1.20.x 1.19.x +11
Bukkit Folia Paper Purpur Spigot
9h ago 1
1.21.x 1.20.x 1.19.x +11
Bukkit Folia Paper Purpur Spigot
9h ago 1
1.21 1.20.x 1.19.x +11
Bukkit Folia Paper Purpur Spigot
9h ago 1
1.20.x 1.19.x 1.18.x +10
Bukkit Folia Paper Purpur Spigot
9h ago 1
1.20.x 1.19.x 1.18.x +10
Bukkit Folia Paper Purpur Spigot
9h ago 1
1.20.x 1.19.x 1.18.x +10
Bukkit Paper Purpur Spigot
9h ago 1
1.20.x 1.19.x
Bukkit Paper Purpur Spigot
9h ago 1
[1.7.2] CommandBlocker 1.7.2 by firewolf8385 on Oct 15, 2026
Download
  • Fixed Tab Completion not being blocked in Minecraft 26.0 and newer.
  • Added more commands to the default config.



  • A Note on Spigot and Legacy Minecraft Versions:**

As Mojang continues to push more technical changes, and Paper continues it's separation from Spigot, it is becoming harder and harder to support Spigot and older versions of Minecraft. As a result, this will be the final version that supports Spigot and Minecraft versions older than 1.16. Spigot makes up only 2.23% of servers currently using this plugin. Dropping support for these will allow new features to be implemented faster and will prevent the plugin from breaking during Minecraft updates.
[1.7.1] CommandBlocker 1.7.1 by firewolf8385 on Oct 15, 2026
Download
Fixed a compatibility issue with some plugins that caused commands to not be fully blocked.

[1.7] CommandBlocker 1.7 by firewolf8385 on Oct 15, 2026
Download
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.
``yaml
# 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](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.
`yaml
# 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
[1.6] CommandBlocker 1.6 by firewolf8385 on Oct 15, 2026
Download
  • 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.
[1.5] CommandBlocker 1.5 by firewolf8385 on Oct 15, 2026
Download
  • 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.
[1.4.1] CommandBlocker 1.4.1 by firewolf8385 on Oct 15, 2026
Download
[1.4] CommandBlocker 1.4 by firewolf8385 on Oct 15, 2026
Download
[1.3] CommandBlocker 1.3 by firewolf8385 on Oct 15, 2026
Download
[1.2] CommandBlocker 1.2 by firewolf8385 on Oct 15, 2026
Download
  • Improved the legacy-to-MiniMessage color code translation.
  • Allow Folia to load the plugin
[1.1] CommandBlocker 1.1 by firewolf8385 on Oct 15, 2026
Download
  • Additions**
  • Added support for versions 1.8 and higher.

  • Changes**
  • Updated Adventure to 4.14.0.
[1.0] CommandBlocker 1.0 by firewolf8385 on Oct 15, 2026
Download
Initial Plugin Release
CommandBlocker Icon
Download CommandBlocker
Select game version
Select platform