What feature do you want to see added?
It'll be good if you provide some kind of event bus to listen for prefix/suffix changes in plugin.
I think Bukkit event api can be used.
Are there any alternatives?
I added LP dependency as temporary solution:
LP documentation:
https://luckperms.net/wiki/Developer-API-Usage#listening-for-changes-to-user-cached-data
Example in kotlin:
private val luckPerms: LuckPerms?
get() = plugin.server.servicesManager.load(LuckPerms::class.java)
luckPerms?.eventBus?.subscribe(UserDataRecalculateEvent::class.java) {
// update prefix, suffix, etc...
}
Anything else?
No response
What feature do you want to see added?
It'll be good if you provide some kind of event bus to listen for prefix/suffix changes in plugin.
I think Bukkit event api can be used.
Are there any alternatives?
I added LP dependency as temporary solution:
LP documentation:
https://luckperms.net/wiki/Developer-API-Usage#listening-for-changes-to-user-cached-data
Example in kotlin:
Anything else?
No response