WhiteCommand is a lightweight server-side Fabric mod that allows administrators to control exactly which commands players can use through a configurable whitelist.
Instead of managing dozens of permissions, you simply define which commands are allowed. All other commands are automatically hidden from command suggestions and cannot be executed.
Players can only execute commands that are listed in:
defaultCommandsAny command not included in these lists will:
/whitecommand reload
Reloads the configuration without restarting the server.
Required permission:
whitecommand.admin
Players with the following permission can use all commands:
whitecommand.bypass
Grant access to command groups using:
whitecommand.group.<group>
Example:
whitecommand.group.vip
whitecommand.group.premium
{
"messages": {
"reload_success": "§a[WhiteCommand] Configuration reloaded successfully!",
"unknown_command": "Unknown or incomplete command, see below for error"
},
"defaultCommands": [
"spawn",
"msg",
"tell",
"help",
"rules"
],
"groups": {
"vip": [
"feed",
"heal",
"fly"
],
"premium": [
"craft",
"ext",
"tpahere"
]
}
}
Released under the MIT License.