描述
这是一个简单的插件,允许你屏蔽命令。其中包括 /minecraft: 和 /Bukkit: 命令!
此插件需要 CS-CoreLib。在更新时它会自动下载。
注意:此插件的事件优先级设置为 HIGHEST(最高)。对于非开发者来说,这基本上意味着在处理命令时,大多数插件都会覆盖此插件。
命令与权限
除了配置文件中定义的那些之外,没有其他的命令和权限。
配置
始终将命令用单引号括起来,CommandBlocker 会在不需要时自动移除它们。
commands: ## 命令列表 /minecraft: ## 要被屏蔽的命令,必须以斜杠 (/) 开头 permission: minecraft.permission ## 仅针对该命令的绕过权限 /reload: permission: reload.permission world-specific: ## 特定世界列表 world: ## 世界名称 /warp: ## 要被屏蔽的命令,必须以斜杠 (/) 开头,仅在该世界中屏蔽 permission: world.warp ## 仅针对该命令且仅在特定世界中的绕过权限 world_nether /tp: permission: worldnether.warp block-ops: ## 从所有 OP(管理员)中屏蔽的命令。对此没有绕过权限。 - /op - /reload - /stop - /deop options: auto-update: true
Messages.yml 变量
| 变量 | 描述 | |||
| {CMD} | 被替换为命令。 |
安装方法
- 下载插件
- 将其拖放到你的 plugins 文件夹中
- 重启服务器
- 享受玩家无法看到你的插件的乐趣吧!
即将推出
- 在下面评论任何你想要添加的内容!
指标统计
此插件还使用了一个 Metrics 系统,该系统收集匿名数据用于统计分析。有关此服务的更多信息请参见此处。 你可以通过转到 plugins/Plugin Metrics/config.yml 并将 opt-out 设置为 true 来选择不加入此服务。
捐赠
喜欢我的插件吗?想要表达你的感激之情?
Description
This is a simple plugin that allows you to block commands. These include /minecraft: and /Bukkit: commands!
This plugin requires CS-CoreLib. It will automatically be downloaded when updating.
NOTE: The event priority for this plugin is set to HIGHEST. For non-developers, this basically means most plugins will override this plugin when handling commands.
Commands & Permissions
There are no commands and permissions, except for the ones defined in the config.
Configuration
Always put single quotes around the command, CommandBlocker will remove them if they're not needed.
commands: ## Command list /minecraft: ## Command to be blocked, must start with a forward slash (/) permission: minecraft.permission ## Permission to bypass THAT COMMAND ONLY /reload: permission: reload.permission world-specific: ## World specific list world: ## World name /warp: ## Command to be blocked, must start with a forward slash (/), only blocked in that world permission: world.warp ## Permission to bypass THAT COMMAND ONLY, IN THAT WORLD ONLY world_nether /tp: permission: worldnether.warp block-ops: ## Commands to block from ALL ops. There is no bypass permission for this. - /op - /reload - /stop - /deop options: auto-update: true
Messages.yml variable
| Variable | Description | |||
| {CMD} | Replaced by the command. |
How to install
- Download the plugin
- Drag & drop it into your plugins folder
- Restart your server
- Enjoy players not being able to see your plugins!
Upcoming
- Comment anything you want added below!
Metrics
This plugin also uses a Metrics-System which collects anonymous data to use for statistics. See more information about this here. You can opt-out of this service can be done by going to plugins/Plugin Metrics/config.yml and set opt-out: true.
Donate
Like my plugin? Want to show your appreciation?
下载 CommandBlocker
下载 CommandBlocker
下载 CommandBlocker
下载 CommandBlocker
下载 CommandBlocker
下载 CommandBlocker
下载 CommandBlocker
下载 CommandBlocker
下载 CommandBlocker
下载 CommandBlocker
v4.0.1*
- 上传了错误的 jar 文件,抱歉 xD
v4.0.1
- 从 plugin.yml 中移除了 commandblocker.bypass 权限。
v4.0
- 重大更新!(又一次 xD)
全面重构
每条命令独立的权限(配置文件)
按世界区分可阻止的方块
阻止 OP(管理员)执行命令
添加了 Metrics 统计功能
v3.1
+ 为 messages.yml 添加了一个新变量:{CMD} - 将被替换为实际执行的命令。
- Bug 修复
修复了启动时显示错误版本号的问题(感谢 madtomic)。
v3.0.2
- Bug 修复
修复了部分用户在已安装 CS-CoreLib 的情况下仍遇到的错误。
v3.0.1
- Bug 修复
之前搞砸了,没有正确注册事件,导致插件完全无法工作。现在应该可以正常使用了!
v3.0
+ 新增依赖项:CS-CoreLib。将自动下载。
+ 支持在 messages.yml 中自定义提示消息。
- Bug 修复
插件现在基于 CraftBukkit jar 编译,而非 Spigot jar。这应能解决 CraftBukkit 用户的兼容性问题。
v2.0
+ 添加了配置文件,允许自定义被阻止的命令。
v1.1
+ 添加了 commandblocker.bypass 权限,用于允许使用 /minecraft: 和 /bukkit: 开头的命令。
v1.0
- 首次发布
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
ExyliaPlugins 的库。
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
一个在游戏内运行的 Minecraft 地图编辑器! 支持选区、蓝图、复制粘贴、笔刷和脚本。 可在创造模式中使用,也可在生存模式中临时使用。
插件
创建用户友好的菜单以前往不同的世界
插件
专为 Velocity 打造的自制聊天插件,功能丰富——支持跨服群组/全局/私聊消息,并集成 LibertyBans 的禁言功能。
插件
一个高度兼容、功能完善且稳定的 TPA 模组
评论 0
登录后参与评分
还没有评论,来抢沙发吧