LuckPerms

LuckPerms

41.4k Downloads

PAPI Support doesn't contain NEXT or PREVIOUS elements.

dynamojake opened this issue ยท 4 comments

commented

Attempting to use something like "%luckperms_prefix_element_next_group_on_track_ranks%"
This doesn't work as there is no element of "Next_group_on_track".

Same issue applies to "Previous_group_on_track".

Will this be implemented in the future / Is this intentional?

Thanks -
Jakob!

commented

There already is %luckperms_next_group_on_track%, same idea for previous.

https://luckperms.net/wiki/Placeholders

commented

Also this https://github.com/LuckPerms/placeholders/issues will be a better place for placeholder related things

commented

If you read it again, that's not what I asked. Simply using next group on track returns the NAME of a group, I need a PREFIX. Working with the element part of the placeholder API support, it is indeed missing.

I'm asking for "Next_group_on_track" to be implemented as an ELEMENT to be used alongside "%luckperms_prefix_element_{ELEMENT}%"

commented

"Next group on track" doesn't really fit into the prefix stacking system, unfortunately: https://luckperms.net/wiki/Prefix-&-Suffix-Stacking#how-do-i-add-other-elements

Perhaps you could use a custom placeholder to achieve this. I don't think it's something that is in-scope for LP to support itself.