Advertisement
Guest User

helpmeplz

a guest
Feb 1st, 2020
1,023
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.24 KB | None | 0 0
  1. '0':
  2. material: GRANITE
  3. slot: 11
  4. display_name: '&fGranite'
  5. lore:
  6. - ''
  7. - "&8• &7Buy for: &c$&f100"
  8. - "&8• &7Sell for: &a$&f25"
  9. - ''
  10. - '&8Left click to buy'
  11. - '&8Right click to sell'
  12. - ''
  13. left_click_requirement:
  14. requirements:
  15. anything_here:
  16. type: has money
  17. amount: 100
  18. deny_commands:
  19. - '[message] &6Shop &8> &7You need &c$100 &fto buy &c1 x Granite&f.'
  20. right_click_requirement:
  21. requirements:
  22. Item:
  23. type: string equals
  24. input: '%player_hasitem-mat:GRANITE-amt:1%'
  25. output: 'yes'
  26. deny_commands:
  27. - '[message] &6Shop &8> &fYou don''t have &c1 x Granite &fto sell.'
  28. left_click_commands:
  29. - '[console] eco take %player_name% 100'
  30. - '[console] give %player_name% GRANITE 1'
  31. - '[message] &6Shop &8> &fYou bought &a1 x Granite &ffor &a$100&f.'
  32. right_click_commands:
  33. - '[console] eco give %player_name% 25'
  34. - '[console] clear %player_name% GRANITE 1'
  35. - '[message] &6Shop &8> &fYou sold &a1 x Granite &ffor &a$25&f.'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement