Package dev.majek.hexnicks.event
Class PlayerChat
java.lang.Object
dev.majek.hexnicks.event.PlayerChat
- All Implemented Interfaces:
org.bukkit.event.Listener
Handles formatting player chat if enabled in the config.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onChat
(io.papermc.paper.event.player.AsyncChatEvent event) Fires on chat to format.
-
Constructor Details
-
PlayerChat
public PlayerChat()
-
-
Method Details
-
onChat
public void onChat(io.papermc.paper.event.player.AsyncChatEvent event) Fires on chat to format. Lowest priority to allow other plugins to modify over us.- Parameters:
event
- AsyncChatEvent.
-