I'm trying to make "backpack_purchased" switch to "backpack" if you have the permission "backpack.size.1". Everything I've tried leads to whichever item having the highest priority show up no matter what perms I have.
Here's my config:
items:
'backpack':
material: chest
slot: 4
display_name: '&e&lTier 1 Backpack'
lore:
- '&bCosts - 64 Diamonds'
- '&7Click to buy!'
priority: 1
'backpack_purchased':
material: dirt
slot: 4
display_name: '&e&lTier 1 Backpack'
lore:
- '&bYou have already purchased this item!'
priority: 0
view_requirements:
requirements:
perm2:
type: has permission
permission: backpack.size.1