安全命令方块
什么是 Safe Command Block?
Safe Command Block 让命令方块的管理变得更容易、更安全。
原生的命令方块存在一些缺陷:
- 非 OP(管理员)玩家无法使用命令方块。
- 命令方块可以执行几乎所有命令(除了 kick、ban、op、deop、stop),因此它们并不安全。
- 你只能使用铁砧来设置命令方块的名称。
如果你运营一个公共服务器,这些问题将导致你无法与其他玩家一起制作冒险地图。
Safe Command Block 通过以下功能解决了这些问题:
- 命令白名单或黑名单
- 世界白名单(可选)
- 即使玩家不是 OP 且处于创造模式,也可以设置命令
- 设置命令方块的名称
- 重置命令方块的命令
- 支持权限限制
- 额外的颜色代码
使用该插件后,你可以毫无顾虑地制作冒险地图了!
运行 Safe Command Block 需要什么?
你需要安装名为 ProtocolLib 的插件,并且需要使用 bukkit build #2685 或更高版本。安装并让它与 Safe Command Block 一同运行。
如果发生任何错误,请留言评论。
你可以安装其他一些插件以增强安全性!
命令/权限列表
| 权限 | 命令 | 描述 |
| SafeCommandBlock.access | 无 | 允许某人访问命令方块(修改命令) |
| SafeCommandBlock.bypass | 无 | 允许某人绕过白名单、黑名单和世界白名单 |
| SafeCommandBlock.color | 无 | 允许某人使用颜色代码编写命令到命令方块中 |
| SafeCommandBlock.resetCommand | /resetcommand | 允许某人重置命令方块的命令(管理员命令) |
| SafeCommandBlock.setCommandName | /setCommandName | 允许某人设置命令方块的名称(管理员命令) |
| SafeCommandBlock.setCommand | /setCommand | 允许某人设置命令方块的命令 |
| SafeCommandBlock.reload | /scbreload | 允许某人重新加载 Safe Command Block 的配置文件 |
格式化代码可以在 这里 找到 - 注意:你将使用 & 代替 $。
注意:管理员命令不会检查其他权限,如黑名单或白名单!
点击 这里 查看配置示例。
使用方法
如果你想修改命令方块的命令或使用 Safe Command Block 的命令,请确保直接指向该命令方块。这样做就不会出错!
遇到问题?
如果是小问题,只需留言评论。如果是大问题/严重问题,请使用工单功能。谢谢!
Safe Command Block
What is Safe Command Block?
Safe Command Block makes the management of command blocks easier and safer.
There are some problems what command blocks have:
- Command blocks cannot be used from a player who doesn't is a op.
- Command blocks can execute nearly every command (except kick, ban, op, deop, stop), so they aren't safe.
- You can only set a name of a command block only with a anvil.
If you have a public server you won't be able to build a adventure map with other players with this problems.
Safe Command Block solves these problems with these features:
- Whitelist or Blacklist Commands
- World Whitelist (optional)
- Commands can be set from players even if they not op and in creative mode
- Set the name of a command block
- Reset the command of a command block
- With permission limitation
- Extra Color Codes
With this plugin you are now able to build a adventure map without worries!
What do I need to run Safe Command Block?
You will need a plugin called ProtocolLib and you need the bukkit build #2685 or higher. Install it and run it together with Safe Command Block.
If anythig goes wrong just write a comment.
You may install some other plugins for more safety!
List of Commands/Permissions
| Permission | Command | Description |
| SafeCommandBlock.access | Nothing | If someone has access to command blocks (modify the command) |
| SafeCommandBlock.bypass | Nothing | If someone can bypass whitelist, blacklist and worldwhitelist |
| SafeCommandBlock.color | Nothing | If someone can write the command with color codes to command blocks |
| SafeCommandBlock.resetCommand | /resetcommand | If someone can reset the command of a command block (admin command) |
| SafeCommandBlock.setCommandName | /setCommandName | If someone can set the name of a command block (admin command) |
| SafeCommandBlock.setCommand | /setCommand | If someone can set the command of a command block |
| SafeCommandBlock.reload | /scbreload | If someone can reload the config file of Safe Command Block |
Formatting Codes can be found here - Note: You'll use a & instead of a $.
Note: Admin commands won't check for other permissions like blacklist or whitelist!
For config sample click here.
How to use
If you want to modify the command of the command block or use a command from Safe Command Block, please be sure to target the command block directly. If you do so, nothing should go wrong!
Having Problems?
If it is a small problem, just write a comment. If it is a big/heavy problem, then please use the ticket function. Thank you!
评论 0
登录后参与评分
还没有评论,来抢沙发吧