WhiteCommand 图标

WhiteCommand

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.0
本资源为搬运资源,原资源地址: https://modrinth.com/mod/whitecommand
资源信息

Minecraft 版本: 1.21.11

平台: fabric

标签: game-mechanics social technology

资源介绍

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.

下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Bloodline trials

价格:0 墨喵币
下载量:0

查看详情
Simply: Faithful Void

价格:0 墨喵币
下载量:0

查看详情
MTrolling

价格:0 墨喵币
下载量:0

查看详情
UltraSpeedLimit

价格:0 墨喵币
下载量:0

查看详情