#DeluxeMenus click requirements

1 messages · Page 1 of 1 (latest)

split mason
#

Any reason this requirement isn't working? I'm pretty sure its constructed properly. Doubt theres a syntax error.

    click_requirement:
      requirements:
        experience:
          type: has exp
          amount: 100
          level: false
          success_commands:
            - '[console] ebc &a&lSUCCESS TEMPORARY'
          deny_commands:
            - '[message] 虞 &#fd4a4aYou do not have enough XP to buy this!'
            - '[sound] BLOCK_ANVIL_PLACE'
split mason
#

full item entry:

  'common':
    material: MAP
    nbt_int: CustomModelData:1
    slot: 19
    display_name: '&fCommon'
    click_requirement:
      minimum_requirements: 1
      requirements:
        experience:
          type: has exp
          amount: 1000
          level: false
          success_commands:
            - '[console] ebc &a&lSUCCESS TEMPORARY'
          deny_commands:
            - '[message] 虞 &#fd4a4aYou do not have enough XP to buy this!'
            - '[sound] BLOCK_ANVIL_PLACE'
visual scroll
#

success_commands is not a thing, nor has exp afaik

split mason
#

I found the solution, it was the success_commands parameter.

visual scroll
#

okay

split mason
#

Someone may need to update the wiki in that case.

#

Thanks for your time.

deep granite
livid reef
#

Wiki is OS if you wanna pr it 😉

final pumice
#

Gaby is just being dumb. Both are a thinh

split mason
#

success commands just didn’t work for me, idk why. Things only worked once I removed that parameter