DUXPLIMA Documentation

API

Reaching uxmChat from another plugin, and the events it fires.

Other plugins reach com.uxplima.chat.api.UxmChat through Bukkit's services manager:

UxmChat chat = Bukkit.getServicesManager().load(UxmChat.class);

and listen to the events in com.uxplima.chat.api.event:

EventFired whenCancellable
ChatLineEventA player's line is about to go outyes
ChatLineSentEventA line went outno
ChatMentionEventA player was mentionedno
PrivateMessageEventA private message is sentno
ServerLineEventA server line (join, quit, death...) is saidno
StaffActionEventA staff action is recorded: mute, delete, clear, lockno

Depend on uxmChat in your paper-plugin.yml with load: BEFORE and join-classpath: true to see the API classes.

Related: Integrations