CommandBlocker icon

CommandBlocker -----

Allows you to easily block specific commands on your server!



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

Need more features? Check out CommandBlockerPro

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

Commands
  • /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
  • commandblocker.admin - Required to run plugin commands.
  • commandblocker.bypass - Allows the player to bypass the command block

Default Configuration
# Changes how the plugin should behave.
# Options:
# - BLACKLIST (Blocks provided commands)
# - WHITELIST (Only allow provided commands)
# - HIDE (Hides the provided commands from tab complete, but doesn't block them)
Mode: BLACKLIST

Message: "<red><bold>Error</bold> <dark_gray>» <red>You do not have access to that command."

# The list of commands the plugin should look for.
Commands:
- /?
- /about
- /bukkit:?
- /bukkit:about
- /bukkit:help
- /bukkit :pl
- /bukkit :plugins
- /bukkit:ver
- /bukkit:version
- /help
- /paper
- /paper :paper
- /pl
- /plugins
- /pufferfish
- /pufferfish :pufferfish
- /purpur
- /purpur :purpur
- /spigot
- /spigot:spigot
- /ver
- /version

# Hides all commands that have a ':' in them.
# Such as: /bukkit:version, /minecraft:tp, etc
HideColonCommands: false

[​IMG]


bStats
[​IMG]
Resource Information
Author:
----------
Total Downloads: 383
First Release: Jun 22, 2023
Last Update: Oct 14, 2024
Category: ---------------
All-Time Rating:
3 ratings
Find more info at github.com...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings