Hey, I am trying to get my shop menu to work, I am trying to take money from player and give him the items, the menu works but the requirements and buying/giving items doesnt work
example of my try:
end_crystal:
display_name: "&bEnd Crystal &7| &a$1950"
material: END_CRYSTAL
amount: 2
slot: 10
left_click_requirement:
requirements:
money:
type: has money
ammount: 1950
succes_commands:
'[console] money take %player% 1950'
'[console] give %player% end_crystal 2'
deny_command:
"[message] Hey %player% you don´t have enough money to buy this item."