CommandAllow manages server commands with a simple allowlist system. Instead of blocking commands, you just define which ones are allowed for each group. Everything else is automatically blocked.
It provides instant feedback with custom messages, actionbar alerts, and sounds when a command is denied.
Features:
Simple Command Allowlist: Only allow the commands you want. Deny everything else.
Group System with Inheritance: Create ranks that inherit commands from each other.
LuckPerms & Permissions Support: Automatically uses LuckPerms groups or falls back to standard permission nodes (commandallow.group.vip).
Custom Feedback: Full MiniMessage support for chat and actionbar messages.
Custom Sounds: Set unique sounds for denied commands.
Secure Tab-Complete: Players only see commands they can actually use.
Easy to Use: Clean config and a simple reload command.
Commands:
/commandallow reload - Reloads the configuration.
Permissions:
commandallow.bypass - Bypass all command restrictions. (default: op)
commandallow.reload - Allows reloading the config. (default: op)
commandallow.group.<groupName> - Assigns a player to a group (if not using LuckPerms)
commandallow.group.default - The default group for any player without another assigned group. (default: true)
Code (YAML):
# CommandAllow Configuration # Config version: 1.0.1 (DO NOT CHANGE THIS) config_version: "1.0.1"
# Prefix settings for messages in chat(enable/disable prefix per message type) prefix_settings:
enabled: true
messages:
no_permission: false
unknown_command: false
config_reloaded: true
# Security settings security: # Hide unknown commands from non-bypass players (recommended for security) # When true: Players always see "no_permission" for unknown commands # When false: Players see "unknown_command" for unknown commands hide_unknown_commands: true
# Messages support MiniMessage formatting: <red>Red</red>, <bold>Bold</bold> messages: # Message when player doesn't have permission for a command no_permission: "<red>You don't have permission to do this.</red>"
# Message when command doesn't exist unknown_command: "<red>Unknown command. Type /help for help.</red>"
# Message when configuration is reloaded config_reloaded: "<white>Configuration reloaded.</white>"
# Actionbar messages (support MiniMessage formatting) actionbar:
enabled: true
# Message when player doesn't have permission for a command no_permission: "<red><bold>✗</bold> No permission!</red>"
# Message when command doesn't exist unknown_command: "<red><bold>?</bold> Unknown command!</red>"
# Message delivery: CHAT, ACTIONBAR, or BOTH message_type: BOTH
# Group configuration # Use 'inherits: groupName' for inheritance # Use "*" to allow all commands # # Group Detection: # - With LuckPerms: Automatically detects player groups # - Without LuckPerms: Uses permissions like 'commandallow.group.groupName' # - All players without specific groups get the 'default' group groups:
default:
commands: - msg
- help
- spawn
- rules
- list
- tell
- r
# Example groups (uncomment and customize as needed): # # vip: # inherits: default # commands: # - fly # # mod: # inherits: default # commands: # - kick # - mute # - tempban # # admin: # inherits: mod # commands: # - "*"