#Deluxemenus requirements

1 messages · Page 1 of 1 (latest)

rain escarp
#
    left_click_requirement:
      requirements:
        has_votes_has_playtime:
          type: javascript
          expression: "%vault_eco_balance% >= 10 && %vault_eco_balance_fixed% >= 4"
          deny_commands:
            - "[message] &cYou need at least 5 votes & 1 hour of playtime to unlock this level!"
        has_permission:
          type: has permission
          permission: level.1
          deny_commands:
            - "[message] &cYou have to unlock level1 first!"
    left_click_commands:
      - "[message] &c&lDEBUGGING"

Any reason for this to not function as intended ?

flat granite
#

i am pretty sure the permission is working tho

rain escarp
#

It indeed was, been messing around with it and I just had misunderstanding on how it was being handled, thanks for clearing it up through

#

I even found out that I can use the javascript expression to check for all 3 at the same time.

#

instead of seperating them

flat granite
#

does it work now?

rain escarp
#

Yes just have to get some util placeholders to return different colors