material: diamond_pickaxe
display_name: "&c&lRubint csákány"
lore:
- "&f&lLEÍRÁS:"
- ""
- "&f&l◆ &7Ezzel a csákánnyal lehetőséged van"
- "&7kibányászni a &cRubint &7ércet."
- "&7&o(A zafírt csak ezzel a csákánnyal bányászható ki!)"
- ""
- "&f&l◆ &b&lÁRA: &f10.000$"
- ""
- "&fVásárláshoz &bkattints &fide."
left_click_requirement:
requirements:
anything_here:
type: has money
amount: 10000
deny_commands:
- '[message] &b&lᴄʀʏꜱᴛᴀʟᴄʀᴀꜰᴛ &f- SNincs elegendő összeged, hogy csákányt vásárolhass.'
left_click_commands:
- '[console] eco take %player_name% 10000'
- '[console] give %player_name% diamond_pickaxe 1 {display:{Name:'["",{"text":"Rubint csákány","italic":false,"color":"red"}]'}}'
- '[message] &b&lᴄʀʏꜱᴛᴀʟᴄʀᴀꜰᴛ &f- Sikeresen vásároltál egy kulcsot.'
slot: 0
What is the problem?
I have a tip that with the give command, because when that line is inside, it won't let me open it, but how can I do it so that the menu and the give command work
ERROR CODE:
[20:51:36 WARN]: [DeluxeMenus] Requirement type at path: items.2.left_click_requirement.requirements.anything_here is not a valid requirement type!