Command Whitelist is a lightweight plugin that gives server administrators full control over which commands players can execute. Any command not explicitly listed in the whitelist is completely hidden from players and it won't appear in tab completion, won't show up in the client's command list, and will be silently blocked on execution with a configurable action bar message and sound effect (defaulting to the villager "no" sound).
To reload the plugins configuration, use "/commandwhitelist reload".
For support and any issues/bugs/feature requests DM on Discord: andrey565_0
Java 25+ as of now, may change in future.
Players with the commandwhitelist.bypass permission are exempt from all restrictions.
CONFIG:
# CommandWhitelist Configuration
# List every command (without the leading /) that players are allowed to use.
# Namespace variants like "minecraft:gamemode" are automatically resolved —
# you only need to add the base label (e.g. "gamemode").
# Operators / players with commandwhitelist.bypass skip this list entirely.
allowed-commands:
- pl
# Message sent to the player when they try a blocked command.
# Supports & color codes.
blocked-message: "&cUnknown command. Type \"/help\" for help."
# Sound played to the player when they try a blocked command.
# Accepted formats:
# entity_villager_no (underscore, no namespace — recommended)
# entity.villager.no (dot notation, no namespace)
# minecraft:entity.villager.no (fully qualified namespaced key)
# Set to NONE to play no sound at all.
# Full sound list: https://minecraft.wiki/w/Sounds.json#Java_Edition_values
blocked-sound: entity_villager_no
blocked-sound-volume: 1.0
blocked-sound-pitch: 1.0
To reload the plugins configuration, use "/commandwhitelist reload".
For support and any issues/bugs/feature requests DM on Discord: andrey565_0
Java 25+ as of now, may change in future.
Players with the commandwhitelist.bypass permission are exempt from all restrictions.
CONFIG:
# CommandWhitelist Configuration
# List every command (without the leading /) that players are allowed to use.
# Namespace variants like "minecraft:gamemode" are automatically resolved —
# you only need to add the base label (e.g. "gamemode").
# Operators / players with commandwhitelist.bypass skip this list entirely.
allowed-commands:
- pl
# Message sent to the player when they try a blocked command.
# Supports & color codes.
blocked-message: "&cUnknown command. Type \"/help\" for help."
# Sound played to the player when they try a blocked command.
# Accepted formats:
# entity_villager_no (underscore, no namespace — recommended)
# entity.villager.no (dot notation, no namespace)
# minecraft:entity.villager.no (fully qualified namespaced key)
# Set to NONE to play no sound at all.
# Full sound list: https://minecraft.wiki/w/Sounds.json#Java_Edition_values
blocked-sound: entity_villager_no
blocked-sound-volume: 1.0
blocked-sound-pitch: 1.0
