#Permissions Check Problems

1 messages · Page 1 of 1 (latest)

maiden ice
#

I wanna know why it is checking incorrectly?

#

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.

maiden ice
#

@lofty oxide Any chance you are able to assist, truly sorry for the @, I am on a time table 🙏

lofty oxide
#

as am I, please don't ping

maiden ice
#

You are a support agent though...

#

What is the point of support if you cannot @ them in time of serious need.

lofty oxide