LuckPerms

LuckPerms

41.4k Downloads

Notify players on group etc change

Jaimss opened this issue ยท 3 comments

commented

Can we get a feature that notifies a user when their role has been updated.
For promotions: You have been promoted from {old} to {new}.
For Demotions: You have been demoted from {old} to {new}
Setting Rank: Your rank has been set to {new}.
Adding A rank: You have been given the {new} rank.

Also, for temporary things, that would be something that is shown.
Ex. You have been given the {new} rank for {time}.

If I missed things where users would maybe need to be notified, let me know.

commented

Would be best implemented as a module IMO.

commented

@lucko I might try to implement this myself. Could you explain what you would want with a module? Are you thinking completely separate from this project, or something more like what BentoBox has done with addons for each gamemode.

Like maybe work into LP an extensions, addons, or modules folder. Then go and put individual jars in that folder, and you would be able to load them using LP commands or it would run when LP plugin itself loads.

I'm sort of trying to think about the project structure that would be used for this so that I can make it fit your ideas best.

commented

LP already has an extension system. :)

https://github.com/lucko/LuckPerms/wiki/Extensions