#Permissions menu

1 messages · Page 1 of 1 (latest)

dense scarab
quiet moat
dense scarab
quiet moat
#

it will check if the player doesnt have the given requirement

#

if you remove !, it will check if the player has the given requirement

dense scarab
quiet moat
#

you can create a new item set with material barrier with no requirements. but make sure the priority of this new item is lower than the item with material glass
you will also need to replace the click_requirement of the item with material glass to view_requirement

dense scarab
#

How can I secure that priority?

quiet moat
#

basically the item with material glass will have the priority: 1
basically the item with material barrier will have the priority: 2

#

so it'll check if you meet view requirement of item with material glass first. if no then it'll display you item with material barrier

#

😭 im tired of writing it.

dense scarab
dense scarab
quiet moat
#

priority 1 will be checked first. if the requirement is met it would skip the next item in that same slot

#

priority 1 > priority 2

#

also you have set same item name for locked items

dense scarab
quiet moat
#

set priority of '20x20': to 2

#

and priority 1 for 'locked':

#

wait

#

after making these changes, you'll only see locked item

#

the menu seems to be correct

#

you dont need to make changes other than the same item name

dense scarab
#

oka nice

quiet moat
#

oh wait

#

bruh 🤦‍♂️

dense scarab
#

?

quiet moat
#

you forgot to set the view requirement for the glass item

#
    view_requirement:
      requirements:
        has_money:
          type: has money
          amount: 3000
#

add this above left_click_requirement of your glass item

#

then it should be okay

dense scarab
#

this?

quiet moat
#

copy paste requirements: of left_click_requirement: to view_requirement:

dense scarab
#

yes

#

yes

#

thank you