Command Blocker Plus
一种轻量且可靠的方式,用于保护服务器的命令并隐藏敏感信息。
CommandBlockerPlus 赋予服务器管理员完全控制玩家可见和可使用命令的权限。无论您是想隐藏插件配置、防止命令滥用,还是为员工创建自定义的命令访问权限,此插件都能使其变得简单高效。
功能
命令保护
阻止任何未被明确允许的指令。玩家只能执行配置中列出的命令。
隐藏命令
未授权的命令会从标签补全(Tab completion)中完全移除,防止玩家发现他们无权访问的命令。
隐藏你的插件
防止玩家发现服务器的插件和内部设置。未经授权的用户将无法访问或看到被阻止的命令,从而更难识别服务器正在运行的软件。
整洁的标签建议
玩家只能看到他们实际有权使用的命令,从而提供更干净、更友好的用户体验。
即时反馈
当使用被阻止的命令时,玩家会立即收到反馈,包括村民“拒绝”音效和操作栏消息,而不是聊天刷屏。
现代操作栏消息
默认情况下,被阻止的命令显示:
ᴛʜɪꜱ ᴄᴏᴍᴍᴀɴᴅ ᴅᴏᴇꜱ ɴᴏᴛ ᴇxɪꜱᴛ.
该消息可在配置中完全自定义。
员工命令访问
为版主或受信任的玩家提供额外的命令,而无需授予 OP 权限。非常适合需要访问 /ban、/kick 或 /mute 等命令的管理团队。
OP 绕过
服务器操作员自动绕过所有限制,允许管理员不受限制地管理服务器。
配置
示例 config.yml:
# CommandBlockerPlus Configuration
blocked-message: "&cᴛʜɪꜱ ᴄᴏᴍᴍᴀɴᴅ ᴅᴏᴇꜱ ɴᴏᴛ ᴇxɪꜱᴛ."
# Commands available to all non-OP players
allowed-commands:
- tpa
- tpaccept
- tpdeny
- tpahere
- pw
- rtp
- spawn
- msg
- r
- help
# Extra commands available for players with
# the permission: commandblockerplus.noneopscommands
noneops-commands:
- gamemode
- tp
- ban
- kick
- mute
- tempban
- warn
权限
commandblockerplus.noneopscommands
允许访问配置中 noneops-commands 下列出的所有命令。
安装
- 下载
CommandBlockerPlus.jar。
- 将文件放入服务器的
plugins 文件夹中。
- 重启服务器。
- 编辑配置文件以匹配服务器需求。
- 享受更干净、更安全的命令系统。
保持服务器安全,隐藏敏感命令,并通过 CommandBlockerPlus 仅给予玩家所需的访问权限。
OPEN SOURCE CODE
Command Blocker Plus
A lightweight and reliable way to protect your server's commands and keep sensitive information hidden.
CommandBlockerPlus gives server owners full control over which commands players can see and use. Whether you want to hide your plugin setup, prevent command abuse, or create custom command access for staff, this plugin makes it simple and efficient.
Features
Command Protection
Block any command that is not explicitly allowed. Players can only execute commands that are listed in your configuration.
Hidden Commands
Unauthorized commands are completely removed from tab completion, preventing players from discovering commands they shouldn't have access to.
Hide Your Plugins
Prevent players from discovering your server's plugins and internal setup. Unauthorized users won't be able to access or see blocked commands, making it much harder to identify what software your server is running.
Clean Tab Suggestions
Players only see commands they are actually allowed to use, resulting in a cleaner and more user-friendly experience.
Instant Feedback
When a blocked command is used, the player receives immediate feedback with a Villager "No" sound and an Action Bar message instead of chat spam.
Modern Action Bar Message
By default, blocked commands display:
ᴛʜɪꜱ ᴄᴏᴍᴍᴀɴᴅ ᴅᴏᴇꜱ ɴᴏᴛ ᴇxɪꜱᴛ.
The message is fully customizable in the configuration.
Staff Command Access
Give moderators or trusted players additional commands without granting them OP. Perfect for moderation teams that need access to commands like /ban, /kick, or /mute.
OP Bypass
Server operators automatically bypass all restrictions, allowing administrators to manage the server without limitations.
Configuration
Example config.yml:
# CommandBlockerPlus Configuration
blocked-message: "&cᴛʜɪꜱ ᴄᴏᴍᴍᴀɴᴅ ᴅᴏᴇꜱ ɴᴏᴛ ᴇxɪꜱᴛ."
# Commands available to all non-OP players
allowed-commands:
- tpa
- tpaccept
- tpdeny
- tpahere
- pw
- rtp
- spawn
- msg
- r
- help
# Extra commands available for players with
# the permission: commandblockerplus.noneopscommands
noneops-commands:
- gamemode
- tp
- ban
- kick
- mute
- tempban
- warn
Permissions
commandblockerplus.noneopscommands
Allows access to all commands listed under noneops-commands in the configuration.
Installation
- Download
CommandBlockerPlus.jar.
- Place the file inside your server's
plugins folder.
- Restart the server.
- Edit the configuration to match your server's needs.
- Enjoy a cleaner and more secure command system.
Keep your server secure, hide sensitive commands, and give players only the access they need with CommandBlockerPlus.
OPEN SOURCE CODE
评论 0
登录后参与评分
还没有评论,来抢沙发吧