LuckPerms

LuckPerms

981k Downloads

Suggestion: Support "use-server-uuid-cache" for PAPI Placeholders

Closed this issue ยท 1 comments

commented

Description

I enabled use-server-uuid-cache: true in LuckPerms and had online-mode set to false to support unauthenticated/cracked user

but doesn't work for placeholder

e.g.

%parseother_{s1arvion}_{luckperms_groups}%

the player is now OFFLINE but hasJoinedBefore with a list of groups assigned instead of 0 groups

and %luckperms_groups% is returning an empty string which I assume it's still checking with OFFLINE method or use-server-uuid-cache: true only checks for Commands Instead of Placeholders

Proposed Behaviour

swap OfflineMode method with hasJoinedBefore for PAPI PlaceHolders when

use-server-uuid-cache: true

Extra Details

No response

commented

as explained in discord, LP cannot safely resolve permission checks for players that are offline