#CLOSED GUI

1 messages · Page 1 of 1 (latest)

vale token
#

I am making a GUI to select a faction, the problem is that I want the person who has already chosen their faction to not be able to enter this GUI again. I am using luckperms. Someone knows?

mossy crane
vale token
#

like

#

it doesn't work when they DO NOT have this permission

mossy crane
vale token
#

u mean

#

like this?

mossy crane
vale token
#

so it is right

#

k

#

not working tho

#

i'll send u a lil video to let u see

#

can i?

mossy crane
#
open_requirement:
  requirements:
    'name':
      type: '!has permission'
      permission: 'open.menu.one'
    deny_commands:
      - '[message] &cmessage'
vale token
#

i already removed the perm in lp for this rank

vale token
#

i deoped myself before the test

#

and removed every rank from me

vale token
#

k gimme a sec

mossy crane
#

value false

vale token
#

whats the problem with that?

#

do i need to put it on true or sm?

mossy crane
#

you stupid, turn it to true

#

you disabled the permission

vale token
#

i mean

#

I'm supposed to have set it so that it can't be opened when you don't have that specific permission.

mossy crane
#

turn it to true and try again

vale token
#

k

#

didnt work

mossy crane
vale token
mossy crane
vale token
#

k

#

thats the new code and stills opening

mossy crane
# vale token same
open_requirement:
  requirements:
    'name':
      type: string equals
      input: '%luckperms_has_permission_open.menu.one'
      output: 'no'
    deny_commands:
      - '[message] &cmessage'
#

@vale token

#

@mossy crane

mossy crane
vale token
#

still opening

#

wait

#

nah

#

same

mossy crane
#

check op

#

add to menu_title %player_is_op%

#

@vale token

vale token
#

no

#

looks like DM dont detect %luckperms% placeholders as input

mossy crane
vale token
#

yes

#

the luckperms expansion for papi u mean, right?

vale token
#

so yeah i did it

mossy crane
vale token
#

i downloaded the papi expansion lit days ago

mossy crane
vale token
#

how does that even works bro

#

/papi parse (username) (message)

mossy crane
#

it will send you message after me

vale token
#

it says

#

im dump no

mossy crane
#

😀

#

try get perm and open menu again

vale token
vale token
mossy crane
#

XD

vale token
#

bro

#

im new at this

#

dont expect im a genius

#

everyone have a start

mossy crane
#

so check wiki

vale token
#

idk if the perm even exist tho

mossy crane
vale token
#

papi wiki u mean?

mossy crane
mossy crane
vale token
#

also tried with left click requerimets

mossy crane
#

at the video

vale token
#

oh shi

mossy crane
vale token
#

the second one u mean

#

or

mossy crane
#

this shit

vale token
#

omw

#

im trying a shit

#

nah bro nvm

mossy crane
#

pick one of them

vale token
#

im literally DUMP

#

fixed it

#

i was trying it outside the menu i wanted to be closed

mossy crane
#

work ?

vale token
#

yessir

#

thanks a lot

mossy crane