描述
这是一个简单的插件,允许你屏蔽命令。其中包括 /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 变量
安装方法
- 下载插件
- 将其拖放到你的 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?
评论 0
登录后参与评分
还没有评论,来抢沙发吧