#Plugin fails to read permission checks using 'unofficial' variables.

1 messages · Page 1 of 1 (latest)

ember copper
#

Hey, so I am trying to have a DeluxeMenu check the permissions 'access.nether' among other permissions, but it doesn't work quite correctly.

The plugin regards these as always true, even if they are explicitely set to 'false' using LuckPerms.

These permissions are "unofficial", they don't come from any plugin rather they are set manually using LuckPerms and act as placeholders.

Running the permission check command using LuckPerms & using PlaceholderAPI to check the permission work perfectly, but DeluxeMenus does not seem to care.

I find no errors in the configuration, but perhaps someone else could have a better look? Cheers!

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

paper tendon
#

use string equals type with a luckperms placeholder instead

perm1:
  type: string equals
  input: '%luckperms_...%' #whichever one you tested as working
  output: 'yes'
#

Not sure what you meant by undefined permissions, but I do know that the has permission requirement type only works if you have vault and lp is hooked into it (iirc you can run luckperms without/independently of vault)

ember copper
#

I will give it a go, cheers!

By undefined I referance permissions that are not officially generated by any plugin, instead manually set & defined using LuckPerms.
Both Vault & LP are hooked, still no luck using 'has permission' I'm afraid.

paper tendon
#

oh I did just notice something

paper tendon
#

it is supposed to be view_requirement no s

#

also for minimum_requirements to work properly you need to add optional: true to each requirement