#
# 菜单的图标
#
Icons:
# 图标的唯一 ID, 可配合布局使用
'#':
# 显示图标的动态更新周期, 若设置多个则依次对应为 Material, Name, Lore, Slots
# 设置一个即为所有项相同更新周期
update: [-1, 10, 15, -1]
# 菜单的显示部分
display:
material: 'Gray Stained Glass Pane'
name: ['&fTr&7Menu', '&7Tr&8Menu', '&8Tr&0Menu','&7Tr&8Menu']
lore:
- - '&7Thanks &f:> &7for using!'
- - '&7Thanks &f:) &7for using!'
# 点击菜单后执行的动作
actions:
all: 'sound: BLOCK_NOTE_BLOCK_PLING-1-2'
#
# 优先级图标示例
#
Icons:
'#':
update: 20
display:
material: 'Gray Stained Glass Pane'
name: '&7Normal'
actions:
all: 'sound: BLOCK_NOTE_BLOCK_PLING-1-2'
icons:
# 条件,拥有 mvp.user
- condition: 'hasPerm.mvp.user'
prioriry: 2
# 深度继承默认图标
inherit: true
display:
name: '&bMVP'
actions:
all: 'tell: Hello, MVP User!'
# 条件,拥有 vip.user
- condition: 'hasPerm.vip.user'
priority: 1
display:
name: '&aVIP'
actions:
all: 'tell: Hello, VIP User!'