Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- '0':
- material: GRANITE
- slot: 11
- display_name: '&fGranite'
- lore:
- - ''
- - "&8• &7Buy for: &c$&f100"
- - "&8• &7Sell for: &a$&f25"
- - ''
- - '&8Left click to buy'
- - '&8Right click to sell'
- - ''
- left_click_requirement:
- requirements:
- anything_here:
- type: has money
- amount: 100
- deny_commands:
- - '[message] &6Shop &8> &7You need &c$100 &fto buy &c1 x Granite&f.'
- right_click_requirement:
- requirements:
- Item:
- type: string equals
- input: '%player_hasitem-mat:GRANITE-amt:1%'
- output: 'yes'
- deny_commands:
- - '[message] &6Shop &8> &fYou don''t have &c1 x Granite &fto sell.'
- left_click_commands:
- - '[console] eco take %player_name% 100'
- - '[console] give %player_name% GRANITE 1'
- - '[message] &6Shop &8> &fYou bought &a1 x Granite &ffor &a$100&f.'
- right_click_commands:
- - '[console] eco give %player_name% 25'
- - '[console] clear %player_name% GRANITE 1'
- - '[message] &6Shop &8> &fYou sold &a1 x Granite &ffor &a$25&f.'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement