LuckPerms

LuckPerms

41.4k Downloads

getGroup (API?) | done

xJust1n opened this issue · 3 comments

commented

English

Hello, I would like to have my rank read out for my scoreboard (sidebar), but I cannot find any method for this. Do they even exist?

https://prnt.sc/qpyv4l


German:

Hallo, ich möchte für mein Scoreboard (sidebar) meinen Rang auslesen lassen, jedoch finde ich dafür keinerlei Methode. Gibt es diese überhaupt?

commented

Are you looking for placeholders? If you use something like featherboard, you can use the placeholders here.
That is what I use at least.

For the group, I think you would need to use %luckperms_primary_group_name%.

commented

Hey, no, I would like to program this into eclipse.

commented

Your rank or your prefix? Check out the wiki there should be an example of how to do this. https://github.com/lucko/LuckPerms/wiki/Developer-API:-Usage#retrieving-prefixessuffixes

You're better of reading the whole page actually, there are a lot of other things needed to get the prefix in the end. Everything should be explained there.