#DeluxeMenus Xp requirement

1 messages · Page 1 of 1 (latest)

solar kite
#
    material: book
    slot: 4
    lore:
      - '&eTank II'
      - ''
      - '&7- Click here to Buy Tank II for 10 xp levels'
    left_click_requirement:
      requirements:
        has_exp:
          type: has exp
          amount: 20
          level: true # true if you want to check for exp levels, false for exp points
      deny_commands:
        - '[message] &cYou don''t have enough xp for this!'
    left_click_commands:
      - '[console] give %player_name% GOLD_BLOCK 1'
      - '[takeexp] 20'
      - '[message] &aYou bought 1 &eTank II book &afor 20 levels```


Does anyone see a issue with this and why its still giving me the item even tho i dont have the xp?
visual garden
solar kite
red wigeon
#

are you checking for 10 levels or 20 levels @solar kite ?

#

lore says 10, but your requirement and commands say 20

#

also what deluxemenus version? Type /dm to find out

solar kite
#

1.13.2 and the lore vs requirement doesnt matter right now as its not taking any xp from me

red wigeon
#

can you elaborate on the situation a bit more

#

What DOES happen when you click it?

#

even if you don't have the xp: it gives the item, doesn't take exp, sends &aYou bought 1 &eTank II book &afor 20 levels message?