LuckPerms

LuckPerms

41.4k Downloads

PAPI with ExtraContext crashes server

SLASHLogin opened this issue ยท 5 comments

commented

Using

placeholderapi: true
placeholderapi-placeholders:
  allowflight: "%player_allow_flight%"
  god: "%luckperms_check_permission_essentials.god.others%"

in extracontext causes server to crash whenever luckperm tries to calculate player.
allowflight works and does not produce this bug.

Version: 1.16
LP: 5.1.26

https://pastebin.com/NLZ8z1iY

commented

Have you installed the luckperms papi cloud extension? see: https://github.com/lucko/LuckPerms/wiki/Placeholders

commented

Also what's the output of /papi parse USER %luckperms_check_permission_essentials.god.others%

commented

Of course I did install the extension.
And parsing outputs yes/no accordingly to the user.
Only issue happens when I add placeholder to the extracontext. I can provide more information whether other plugins affect this bug and for what placeholders it happens later this day.

commented

You cannot use LuckPerms placeholders or placeholders which query permissions in the PAPI extracontexts section.

commented

The latest version of EssentialsX adds a dedicated placeholder for god mode anyway btw:)