#Requirements

1 messages · Page 1 of 1 (latest)

sullen tiger
#

is there a way to have both view_requirement and click_requirement together like this, click requirement doesnt works so i wanna know if this is cause

    view_requirement:
      requirements:
        hearts:
          type: '<='
          input: '%lifesteal_hearts%'
          output: '5'
          
    click_requirement:
      requirements:
        hearts:
          type: '>'
          input: '%lifesteal_hearts%'
          output: '5'
          deny_commands:
            - "[message] "
            - "[message] &#f52e2e⚠ &lINSUFFICIENT HEARTS!"
            - "[message] &7/ᴡᴀʀᴘ ᴀʀᴇɴᴀ"
            - "[message] "
            - "[message] &#f52e2e♦ &fYou have: &#f52e2e%lifesteal_hearts% &fHearts"
            - "[message] &#f52e2e♦ &fYou need: &#f52e2e%math_5-%lifesteal_hearts%% &fmore Hearts"
            - "[message] "
            - "[message] &#f52e2e[Kill Players @ /warp arena]"
            - "[message] "```
sullen tiger
#

?

valid quartz
# sullen tiger ?

It is definitely possible to use both view and click requirements on one item. Can you send the full config you’re working on so I can get a better sense of what you’re working with?