mirror of
https://github.com/geekfrog/PermissionsTime.git
synced 2024-11-25 01:48:54 +00:00
50 lines
1.6 KiB
YAML
50 lines
1.6 KiB
YAML
# 配置文件版本.
|
||
# Config version.
|
||
version: 1.00
|
||
# 默认权限组.
|
||
# Default permission group.
|
||
defaultGroup: Default
|
||
packages:
|
||
# 权限包名称.
|
||
# Permission package name.
|
||
example1:
|
||
# 权限包显示名称.
|
||
# Permission package display name.
|
||
displayName: '&4Test Package'
|
||
# 显示的物品类型.
|
||
# 可以使用id, 但不可与type同时使用.
|
||
# 可以定义物品的种类, 特殊的如头颅可以指定哪个玩家的头颅.
|
||
# Show the type of item.
|
||
# 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
|
||
type: NETHER_STAR
|
||
# 是否有附魔发光的特效
|
||
glowing: false
|
||
# 标签.
|
||
# 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
|
||
# 权限包过期后执行的控制台命令
|
||
# Package expire console commands.
|
||
expireCommands:
|
||
- 'say %player% 的权限包到期了.'
|
||
- 'say 请及时续期.'
|