#Problem with view_requirements

1 messages · Page 1 of 1 (latest)

sonic quest
#

Hi, I'm trying to make a rankup menu and I'm using view_requirements with luckperms placeholders to decide which item to show for each rank (green concrete = rank already claimed, yellow_concrete = next rank, red concrete = blocked rank) but I'm having a problem where an item shows even tho it doesn't comply with the requirements.

Here is the code: https://pastebin.com/hxYYQ7my

The problem I'm having is that now it should show green concrete but its showing the yellow one. And "%luckperms_inherits_group_adventurer%" is "yes".

Anyone know why it could be?

Thanks.

daring berry
#
    view_requirement:
      requirements:
        group:
          type: "string equals"
          input: "%luckperms_inherits_group_adventurer%"
          output: "no"