permission:
SLOT: 1
type: predicate
CLICK-REQUIREMENT:
default:
permission:
PERMISSION: bettergui.test
fail-command: 'tell: &cYou don''t have the correct permission!'
button:
COMMAND: 'tell: &a[v] You have the correct permission!'
NAME: '&8Permission test'
LORE:
- 'To use this item, you need the'
- 'permission "bettergui.test".'
- 'Otherwise, a configurable error'
- 'message will be displayed.'
ID: iron bars
level-view-requirement:
type: predicate
slot: 2
button:
id: exp_bottle
name: "&cA exp bottle"
lore:
- "You will see this icon when the level is higher than 5"
fallback:
id: stone
name: "&cA stone"
lore:
- "You will see this icon when the level is lower than 5"
view-requirement:
level:
level: 5