1
1
mirror of https://github.com/geekfrog/PermissionsTime.git synced 2024-11-22 15:48:51 +00:00
PermissionsTime/config/packages.yml
2017-08-01 18:00:09 +08:00

50 lines
1.6 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 配置文件版本.
# 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 请及时续期.'