menu_title: '&6➽ &8Shop - Blocks'
open_command:
- shopblocks
size: 45
open_commands:- '[sound] ENTITY_ZOMBIE_INFECT'
items:
'stone':
material: basehead-eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMTU0ODE4MjMzYzgxMTg3M2U4NWY1YTRlYTQ0MjliNzVmMjNiNmFlMGVhNmY1ZmMwZjdiYjQyMGQ3YzQ3MSJ9fX0
amount: 64
slot: 1
display_name: '&f&lStone &7[Blocks]'
lore:- ''
- '&6&lBuy Price'
- '&f$15.000'
- ''
- ''
- '&fThis item cannot be sold!'
- ''
- '&6➜ &7Left-Click to purchase'
left_click_commands: - '[console] eco take %player_name% 25000'
- '[console] give %player_name% STONE 64'
- '[message] &6&lShop &8» &fYou bought &e64 x stone &ffor &a$25.000&f.'
left_click_requirement:
requirements:
anything_here:
type: has money
amount: 25000
inventory:
type: string equals
input: '%javascript_inv%'
output: 'true'
deny_commands:- '[message] &c&lError &8» &fYou don''t have enough money or your inventory is full.'
right_click_commands:
- '[message] &c&lError &8» &fYou don''t have enough money or your inventory is full.'
- '[console] eco take %player_name% 25000'
- '[console] give %player_name% STONE 64'
- '[message] &6&lShop &8» &fYou bought &e64 x stone &ffor &a$25.000&f.'
right_click_requirement:
requirements:
anything_here:
type: has money
amount: 25000
inventory:
type: string equals
input: '%javascript_inv%'
output: 'true'
deny_commands:- '[message] &c&lError &8» &fYou don''t have enough money or your inventory is full.'
- '[sound] ENTITY_ZOMBIE_INFECT'