#[BUG] Why view requirement not working?

1 messages · Page 1 of 1 (latest)

undone swallow
#

https://paste.helpch.at/olifazanib.yaml

I have tntrun.doublejumps.3 permission true
and parsing %luckperms_has_permission_tntrun.doublejumps.3% says yes
But in 12 slot it shows icon with priority 2 instead of showing icon with priority 0

undone swallow
#

I have tried to replace it with string equal and %luckperms_has_permission_tntrun.doublejumps.3% = yes

#

I have tried to remove or add spaces in different places

#

Nothing works

#

It shows till I have permission tntrun.doublejumps.2

#

But as soon as I have tntrun.doublejumps.3

#

it stops

#

But it should because minimum is 1 so if I have 1 out of 10 it should, isn't it?

#

[BUG] Why view requirement not working?

undone swallow
undone swallow
#

It should be all green

#

because I have tntrun.doublejumps.4 now

#

Look like it only checks the first permission in the list

#

Instead of go throgh them till it find a match

frigid snow
#

I have this exact same issue, have you found a way to fix this mess? @undone swallow

undone swallow
#

Like
%luckperms_has_perm…% == yes || %luckperms_has_perm…% == yes l|….

#

And a loooong list of this checks

#

But I want to warn you that it is bad for performance.. and it takes about 1 sec to open menu

frigid snow
#

Thank you so much! I've been staring at VSC for hours trying to figure out why its so broken.

frigid snow
round island
#

@undone swallow you can use permission expansion from ecloud for make the requirements shorter

#

%permssion_has-any_perm.1 perm.2 perm.3%