#Item Priority Issue

1 messages · Page 1 of 1 (latest)

gaunt minnow
#

So basically Im creating a DeluxeMenus gui that will ENABLE/DISABLE (toggle) Tags - using DeluxeTags.

I have the issue that the priority of the items dont update fast enough. They only update for the player once they exit the menu and then enter it again. What I need to be able to do is for the items to update straight away.

For example - I click to ENABLE the Nerd tag, then it enables the nerd tag, but then I need to close and reopen the menu for the item to show that the tag is active (glowing)

This is how my config looks:

    material: oraxen-tags
    slot: 10
    priority: 0
    update: true
    enchantments:
    - DURABILITY;1
    hide_enchantments: true
    hide_attributes: true
    view_requirement:
      requirements:
        tag_nerd:
          type: string contains
          input: "%deluxetags_tag%"
          output: "Nerd"
    display_name: '&#EAE513[Nerd] Tag &7(&aActive&7)'
    lore:
    - '&8A cosmetic that shows in chat!'
    - '&r'
    - '&a&lUNLOCKED'
    - '&r'
    - '&eᴄʜᴀᴛ ᴘʀᴇᴠɪᴇᴡ:'
    - '&f%luckperms_prefix%%player_name% &#EAE513[Nerd] &8▶ &fHello!'
    - '&r'
    - '&e➥ &eLeft-Click to disable'
    left_click_commands:
    - '[console] deluxetags:tags clear %player_name%'
    right_click_commands:
    - '[console] deluxetags:tags clear %player_name%'` ```