Variable Menu
# How to Determine if Button is Clickable Based on Variables
- Main Nodes
conditions
conditionNotMet 1.7.1+
'conditions':
index: 29
name: ' &8[&cVariable Condition&8]'
material: ARROW
lore:
- "&f- &7Variable conditions support 6 symbols"
- "&f- &7 = ; !=; >; <; >=; <="
- "&f- &7 = ; !=; no restrictions"
- "&f- &7>; <; >=; <= must be numbers"
- "&f- &7Player name: &a%player_name%"
isEnchant: false
custom-model-data: 0
# Custom conditions
conditions:
- '%player_name% = Rice'
- '%player_money% > 100'
# Custom click condition not met reminder
conditionNotMet: "Conditions not met, reason: not Rice"
commands:
- '[message] say You clicked this button'