Class PlayerChat

java.lang.Object
dev.majek.hexnicks.event.PlayerChat
All Implemented Interfaces:
org.bukkit.event.Listener

public class PlayerChat extends Object implements org.bukkit.event.Listener
Handles formatting player chat if enabled in the config.
  • 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.