squire:
material: LIME_CONCRETE
slot: 1
display_name: '&f[&aSquire&f] &8| &7Rank'
lore:
- '&f★ &f[&aSquire&f] ★'
- ''
- '&a&lFeatures:'
- '&7- 3 Homes'
- '&7- 10% mcMMO boost'
- ''
- '&a&lRewards:'
- '&7- 1 &eCommon Key'
- ''
- '&a&lPrice: &e$1500'
- '&bLeft click to purchase'
left_click_commands:
- '[sound] ENTITY_PLAYER_LEVELUP'
- '[takemoney] 1500'
- '[console] lp user %player_name% parent set bilge'
left_click_requirement:
requirements:
# no_rank: # This requirement will check if they have the rank, and if they do, it won't allow them to purchase the rank
money: # This requirement will check if they have 1500$ and if they don't, it won't allow them to purchase the rank
type: has money
amount: 1500
deny_commands:
- '[message]&cYou don''t have enough money!'
- '[close]'
view_requirement:
requirements:
no_rank: # This requirement will check if they have the rank, and if they do it will show the has_squire item instead.
type: "!has permission"
permission: default
has_squire: # This item will show up if they already have the squire rank
material: LIME_CONCRETE
enchantments:
- SILK_TOUCH;1
hide_enchantments: true
slot: 1
priority: 2
display_name: '&f[&aSquire&f] &8| &7Rank'
lore:
- '&f★ &f[&aSquire&f] ★'
- ''
- '&a&lFeatures:'
- '&7- 3 Homes'
- '&7- 10% mcMMO boost'
- ''
- '&a&lPurchased'