Unsupported as I am no longer actively involved in the minecraft scene. It may still work for you or not, please test thoroughly. Thanks for downloading and using my contributions to the community 
fergyCommandBlocker is a powerful Minecraft plugin that gives you full control over commands within your server. With fergyCommandBlocker, you can effortlessly manage blocked commands.

fergyCommandBlocker is a powerful Minecraft plugin that gives you full control over commands within your server. With fergyCommandBlocker, you can effortlessly manage blocked commands.
- Block Specific Commands: Take charge of your server by blocking specific commands that you deem inappropriate or unnecessary. Keep your server environment safe and streamlined by preventing the execution of unwanted commands.
- Console-Only Restrictions: Protect critical server commands by enforcing console-only access. Define a list of commands that can only be executed by the server console, ensuring that administrative functions remain secure and exclusive.
- Partial Match Blocking: Exercise fine-grained control over command usage by blocking commands based on partial matches. Specify keywords or phrases, and fergyCommandBlocker will automatically prevent any command that contains those elements from executing.
- Tab Completion Management: Enhance your server's usability by removing blocked commands from tab completion suggestions. With fergyCommandBlocker, players will no longer be prompted with commands they are not allowed to use, reducing confusion and enhancing gameplay efficiency.
- Extensive Configuration: fergyCommandBlocker provides a comprehensive configuration system, allowing you to easily customize the plugin's behavior to suit your server's specific needs. Fine-tune settings, define blocked commands, manage console-only commands, and more.
YAML:
#
# fergyCommandBlocker by fergydanny (https://fergydanny.com)
#
# Discord: https://fergydanny.com/discord
#
# Do you want to also prevent tab completion of blocked commands?
hide-blocked-commands-from-tab: true
# Anyone with this permission can bypass all the restrictions except console-only
bypass-permission: "fergycmdblocker.bypass"
# Checks if the command is exactly the below. Can contain spaces to match specific commands with arguments.
commands:
- "/a"
- "/about"
- "/icanhasbukkit"
- "/ver"
- "/version"
- "/?"
- "/plugman list"
- "/hd"
- "/chatcontrol"
- "/chc"
- "/pex"
- "//calc"
- "/lp"
- "/pl"
# Checks if these are found at the start of the command. Don't put slashes (/) in here.
# An example of how this works is "bukkit:" will prevent /bukkit:<anything>
contains:
- "bukkit:"
- "minecraft:"
- "spigot:"
- "essentials:"
- "multiverse-core:"
- "ess:"
- "luckperms:"
- "fastasyncworldedit:"
# Commands that can only be run in console. Cannot be bypassed at all.
console-only:
- "/op"
- "/deop"
- "/reload"
- "/featherboard resetconfig"
# Set a message to "" to not send anything. You can use hex codes by using #ffffff like format or regular
# color codes like &a
messages:
commands: "&cYou are not allowed to use {cmd}." # commands has a {cmd} placeholder that will output the blocked command.
contains: "&cYou are not allowed to use commands that include {match}." # contains has a {match} placeholder that will output the blocked part of the command.
console-only: "&cYou are not allowed to use this command"