Hey, I'm trying to make it so that if a player does not have a permission they will see, A.K.A the 'Locked' version:
I have added the following from below to the 'Unlocked version', which I want it to check the view_requirement first. But it seems to be skipping it and appearing as 'Unlocked' even thought they don't have the permission, what am I doing wrong?
Any help would be greatly appreciated! Thank you very much.
Code:
'37':
material: 421
slot: 25
priority: 2
display_name: '&2&l[&e&lFarmer&2&l]'
lore:
- '&7Status: &c&lLocked'
- '&7(&c&l!&7) &7Unlocked via shop.primeskies.net!'
Code:
'36':
material: 421
slot: 25
priority: 1
view_requirement: 'BukkitPlayer.hasPermission("deluxetags.tag.Farmer")'
display_name: '&2&l[&e&lFarmer&2&l]'
lore:
- '&7Status: &a&lUNLOCKED'
- '&7(&c&l!&7) &7Unlocked via shop.primeskies.net!'
Last edited:
