CommandBlockerPro icon

CommandBlockerPro -----

Highly Configurable Command and Tab Completion Blocking Plugin



CommandBlockerPro

CommandBlockerPro is a feature-rich command blocking plugin for Spigot and Paper servers running Minecraft 1.8 or later. It's designed for servers trying to take their configuration to the next level, with the ability to set multiple different filters based on different conditions, with configurable block messages that support PlaceholderAPI.


Features
  • Ability to define multiple rules with different permissions.
  • Block Full Commands.
  • Block commands with a given string in them/
  • Block commands based off regex.
  • Whitelist specific commands based off the above conditions.
  • Hide (without blocking) specific commands with the same conditions.
  • An API to interact with the plugin through.
  • MiniMessage support
  • PlaceholderAPI support

Commands
» /cb reload - Reloads the config file.


Permissions
» commandblocker.admin - Gives access to plugin commands.


Configuration
Code (YAML):
#  ________  ________  ________
# |\   ____\|\   __  \|\   __  \
# \ \  \___|\ \  \|\ /\ \  \|\  \
#  \ \  \    \ \   __  \ \   ____\
#   \ \  \____\ \  \|\  \ \  \___|
#    \ \_______\ \_______\ \__\
#     \|_______|\|_______|\|__|
#
# Version ${project.version}
# by JadedMC

# The message sent to a player when a command is blocked.
# Can be overridden by adding this setting to each rule.
# Supports legacy color codes, but you should be using MiniMessage instead (https://docs.advntr.dev/minimessage/format.html).
blockMessage
: "<red><bold>Error</bold> <dark_gray>» <red>You do not have access to that command."

# Defines different rules that can be enforced when determining when to block or hide commands.
# You can add as many as you want.
# You can also name them anything you want, I just used numbers for simplicity.
rules
:
  1
:
    # Changes now the rule should operate.
    # Options:
    #  - BLACKLIST (Blocks provided commands)
    #  - WHITELIST (Only allows the provided commands)
    #  - HIDE (Hides the provided commands from tab complete, but does not block them)
    type
: BLACKLIST

    # The permission node required to bypass the rule.
    # You can change this to whatever you want, and can be different for each rule.
    bypassPermission
: "cb.admin"

    # The list of commands the rule should apply to.
    # Each one should begin with a '/'
    commands
:
     - /?
      - /about
      - /bukkit:?
      - /bukkit:about
      - /bukkit:help
      - /bukkit:pl
      - /bukkit:plugins
      - /bukkit:ver
      - /bukkit:version
      - /help
      - /icanhasbukkit
      - /paper
      - /paper:paper
      - /pl
      - /plugins
      - /pufferfish
      - /pufferfish:pufferfish
      - /purpur
      - /purpur:purpur
      - /spigot
      - /spigot:spigot
      - /ver
      - /version

  # Example of blocking commands containing a given string.
  2
:
    type
: HIDE
    bypassPermission
: "cb.admin"

    # This time we are looking for all commands that have a colon (':') in them.
    # You can use both "contains" and "commands" in the same rule.
    # You can add as many to check as you want.
    contains
:
     - ":"


[​IMG]



[​IMG]
Resource Information
Author:
----------
Total Downloads: 190
First Release: May 8, 2024
Last Update: Oct 14, 2024
Category: ---------------
All-Time Rating:
1 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings