CommandAllow

CommandAllow 通过简洁的白名单机制,让你对服务器命令拥有精确的控制权。你可以明确定义每个组别允许使用的命令;其余所有命令默认均被禁止。组别之间支持继承关系,因此你可以构建简单或复杂的等级阶梯,而无需重复配置列表。
当命令被拒绝时,玩家会收到即时且可定制的反馈:包括 MiniMessage 格式的聊天文本、操作栏通知以及可选的声音提示。借助 ProtocolLib,Tab 补全和客户端的命令列表在重载后也会立即更新——无需重新登录。CommandAllow 专为高性能打造,它会缓存结果,并在权限或组别发生变化时自动使缓存失效。简单的配置文件、/commandallow reload(或 /ca reload)命令以及合理的默认设置,使其易于部署和使用。
特性:
- 简易命令白名单: 仅允许你指定的命令,其他一律禁止。
- 支持继承的组别系统: 创建可从彼此继承命令的等级。
- LuckPerms 与 Permissions 支持: 自动使用 LuckPerms 组别,或在未安装时回退到标准权限节点(如
commandallow.group.vip)。
- 自定义反馈: 完全支持 MiniMessage 格式用于聊天和操作栏消息。
- 自定义声音: 为被拒绝的命令设置独特的音效。
- 安全的 Tab 补全: 玩家只能看到他们实际可以使用的命令。
- 易于使用: 清晰的配置文件和简单的重载命令。
依赖项:
命令:
/commandallow(ca) reload - 重载配置文件。
权限:
commandallow.bypass - 绕过所有命令限制。(默认:op)
commandallow.reload - 允许重载配置文件。(默认:op)
commandallow.group.<groupName> - 将玩家分配至某个组别(如果未使用 LuckPerms)
commandallow.group.default - 未分配其他组别的玩家的默认组别。(默认:true)
commandallow.* - 授予所有插件权限
CommandAllow

CommandAllow gives you precise control over server commands with a clean allowlist. Define exactly which commands each group may use; everything else is denied by default. Groups can inherit from one another, so you can build simple or advanced rank ladders without repeating lists.
When a command is denied, players get instant, customizable feedback: MiniMessage chat text, actionbar notifications, and optional sounds. With ProtocolLib, tab-complete and the client’s command list update immediately on reload—no relog required. Built for performance, CommandAllow caches results and automatically invalidates them when permissions or groups change. Simple configuration, /commandallow reload (or /ca reload), and sensible defaults make it easy to drop in and use.
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.
Requirements:
Commands:
/commandallow(ca) 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)
commandallow.* - Grant all plugin permissions
评论 0
登录后参与评分
还没有评论,来抢沙发吧