Class ChatListener

java.lang.Object
dev.plex.listener.PlexListener
dev.plex.listener.impl.ChatListener
All Implemented Interfaces:
PlexBase, org.bukkit.event.Listener

public class ChatListener extends PlexListener
  • Field Details

    • URL_REPLACEMENT_CONFIG

      public static final net.kyori.adventure.text.TextReplacementConfig URL_REPLACEMENT_CONFIG
    • PRE_RENDERER

      public static BiConsumer<io.papermc.paper.event.player.AsyncChatEvent,PlexPlayer> PRE_RENDERER
    • renderer

      private final ChatListener.PlexChatRenderer renderer
    • format

      private static final net.kyori.adventure.text.Component format
  • Constructor Details

    • ChatListener

      public ChatListener()
  • Method Details

    • onChat

      public void onChat (io.papermc.paper.event.player.AsyncChatEvent event)
    • defaultChatProcessing

      private static void defaultChatProcessing (io.papermc.paper.event.player.AsyncChatEvent event, PlexPlayer plexPlayer)