#Permissions Check Problems
1 messages · Page 1 of 1 (latest)
Anyone know why it doesn't allow me to do this: I wanna make it so once the item has been purchased and they have the permission, it should no longer allow them to purchase it again;
material: CANDLE
slot: 11
priority: 0
update: true
hide_attributes: true
display_name: '&6ᴇxᴛᴇɴꜱɪᴏɴ - ʟᴇᴠᴇʟ 1'
lore:
- '&8ᴅᴇꜱᴄʀɪᴘᴛɪᴏɴ'
- ''
- '&7ᴘᴜʀᴄʜᴀꜱᴇ ᴇxᴛᴇɴꜱɪᴏɴꜱ ᴛʜᴀᴛ ᴀʟʟᴏᴡꜱ ʏᴏᴜ'
- '&7ᴛᴏ ᴘʟᴀᴄᴇ ᴍᴏʀᴇ ɪᴛᴇᴍꜱ ᴏɴ ᴀᴜᴄᴛɪᴏɴ.'
- ''
- '&e&l| &eᴄʟɪᴄᴋ ᴛᴏ ᴘᴜʀᴄʜᴀꜱᴇ.'
left_click_requirement:
requirements:
balance_check:
type: '>='
input: '%playerpoints_points%'
output: '50'
deny_commands:
- '[message] &c[✘ᴇʀʀᴏʀ] ʏᴏᴜ ʜᴀᴠᴇ ɪɴꜱᴜꜰꜰɪᴄɪᴇɴᴛ ꜰᴜɴᴅꜱ. ʏᴏᴜ ɴᴇᴇᴅ 50 ꜱʜᴀʀᴅꜱ ʙᴜᴛ ᴏɴʟʏ ʜᴀᴠᴇ %playerpoints_points%.'
- '[close]'
has_permission:
type: '!has permission'
permission: axauctions.limit.2
deny_commands:
- '[message] &c[✘ᴇʀʀᴏʀ] ʏᴏᴜ ᴄᴀɴɴᴏᴛ ʙᴜʏ ᴀɴ ᴇxᴛᴇɴꜱɪᴏɴ ʟᴇᴠᴇʟ ᴍᴏʀᴇ ᴛʜᴀɴ ᴏɴᴄᴇ.'
left_click_commands:
- '[console] lp user %player_name% permission set axauctions.limit.2 server=lifesteals2'```
It should check firstly if the player does have the right amount of Playerpoints and then if the player doesn't already have the permission I stated in the configuration of this specific item. But for some reason it states that I have already purchased the extension.
@lofty oxide Any chance you are able to assist, truly sorry for the @, I am on a time table 🙏
as am I, please don't ping