添加防删除黑名单...

Signed-off-by: 502647092 <jtb1@163.com>
This commit is contained in:
502647092
2015-12-18 17:31:31 +08:00
parent 3f52c0462a
commit e403b13659
4 changed files with 18 additions and 8 deletions

View File

@ -1,3 +1,9 @@
Version: 1.0
Version: 1.2
#是否只允许控制台执行插件命令
onlyCommandConsole: false
onlyCommandConsole: false
#是否只允许控制台执行插件文件命令
onlyFileCommandConsole: true
#禁止rm -rf的文件夹列表
blacklist:
- 'plugins'
- 'worlds'

View File

@ -12,8 +12,8 @@ commands:
permission-message: §c你没有 <permission> 的权限来执行此命令!
file:
description: MC文件管理命令
usage: §6使用§a/yum help§6查看帮助!
permission: yum.use
usage: §6使用§a/file help§6查看帮助!
permission: file.use
permission-message: §c你没有 <permission> 的权限来执行此命令!
permissions:
yum.use: