WhiteCommand
WhiteCommand is a lightweight server-side Fabric mod that lets you whitelist player commands, hide blocked commands from tab completion, and manage access through LuckPerms groups. Easy to configure, fast, and perfect for any multiplayer server.
介绍
WhiteCommand
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.
✨ Features
- ✔️ Command whitelist system
- ✔️ LuckPerms integration
- ✔️ Different command sets for different groups
- ✔️ Hides blocked commands from tab completion
- ✔️ Prevents execution of unauthorized commands
- ✔️ Fully configurable messages
- ✔️ Reload configuration without restarting the server
- ✔️ Server-side only (clients do not need to install the mod)
📋 How It Works
Players can only execute commands that are listed in:
defaultCommands- Their assigned LuckPerms group
Any command not included in these lists will:
- Not appear in command suggestions (Tab Completion)
- Be blocked from execution
- Display a configurable “Unknown command” message
⚙️ Administrator Command
/whitecommand reload
Reloads the configuration without restarting the server.
Required permission:
whitecommand.admin
🔑 Permissions
Bypass Permission
Players with the following permission can use all commands:
whitecommand.bypass
Group Permissions
Grant access to command groups using:
whitecommand.group.<group>
Example:
whitecommand.group.vip
whitecommand.group.premium
📄 Configuration Example
{
"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"
]
}
}
💡 Perfect For
- Survival servers
- SMPs
- RPG servers
- Minigame servers
- Public servers
- Private communities
- Donation rank systems
✅ Compatibility
- Fabric
- Server-side only
- LuckPerms supported
- No client installation required
🚀 Why WhiteCommandFabric?
- Lightweight and fast
- Easy to configure
- Flexible permission system
- Clean integration with LuckPerms
- Works with vanilla commands and commands added by mods
- Keeps command suggestions clean by hiding blocked commands
📜 License
Released under the MIT License.
常见问题
WhiteCommand 支持哪些 Minecraft 版本?
WhiteCommand 支持 Minecraft Java 版 1.21.11,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。
WhiteCommand 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。
评论
登录后评论和评分