2017-07-16 08:44:12 +00:00
|
|
|
|
# 配置文件版本.
|
|
|
|
|
# Config version.
|
|
|
|
|
version: 1.00
|
|
|
|
|
# 默认权限组.
|
|
|
|
|
# Default permission group.
|
|
|
|
|
defaultGroup: Default
|
|
|
|
|
packages:
|
|
|
|
|
# 权限包名称.
|
|
|
|
|
# Permission package name.
|
|
|
|
|
example1:
|
|
|
|
|
# 权限包显示名称.
|
|
|
|
|
# Permission package display name.
|
|
|
|
|
displayName: '&4Test Package'
|
|
|
|
|
# 显示的物品类型.
|
2017-07-19 10:40:41 +00:00
|
|
|
|
# 可以使用id, 但不可与type同时使用.
|
|
|
|
|
# 可以定义物品的种类, 特殊的如头颅可以指定哪个玩家的头颅.
|
2017-07-16 08:44:12 +00:00
|
|
|
|
# Show the type of item.
|
2017-07-19 10:40:41 +00:00
|
|
|
|
# You can use 'id', but you can't use 'type' at the same time.
|
|
|
|
|
# You can define the type of item, such as skull can set which player's head.
|
|
|
|
|
#id: 397
|
|
|
|
|
#type: SKULL_ITEM:5
|
|
|
|
|
#type: SKULL_ITEM:MHF_Present1
|
2017-07-16 08:44:12 +00:00
|
|
|
|
type: NETHER_STAR
|
2017-07-19 10:40:41 +00:00
|
|
|
|
# 是否有附魔发光的特效
|
|
|
|
|
glowing: false
|
2017-07-16 08:44:12 +00:00
|
|
|
|
# 标签.
|
|
|
|
|
# Lores.
|
|
|
|
|
lores:
|
|
|
|
|
- '&2This is a test lore.'
|
|
|
|
|
# 是否跨服权限?
|
|
|
|
|
# Is multiple server permission?
|
|
|
|
|
global: false
|
|
|
|
|
# 权限包含有的权限 world1、world2、world3是赋值给玩家permission2权限的世界.
|
|
|
|
|
# 如果所有世界都赋值权限则不用注明世界名称如:permission1.
|
|
|
|
|
# Package contain permissions.
|
|
|
|
|
# Add ':world1' at the end can restrict permissions used in 'world1'.
|
|
|
|
|
permissions:
|
|
|
|
|
- permission1
|
|
|
|
|
- permission2:world1:world2:world3
|
|
|
|
|
# 权限包含有的权限组.
|
|
|
|
|
# Package contain groups.
|
|
|
|
|
groups:
|
|
|
|
|
- group1
|
|
|
|
|
- group2:world1
|
2017-08-01 09:50:44 +00:00
|
|
|
|
# 权限包过期后执行的控制台命令
|
|
|
|
|
# Package expire console commands.
|
|
|
|
|
expireCommands:
|
2017-08-01 10:00:09 +00:00
|
|
|
|
- 'say %player% 的权限包到期了.'
|
|
|
|
|
- 'say 请及时续期.'
|