Package dev.plex.listener.impl
Class ChatListener
java.lang.Object
dev.plex.listener.PlexListener
dev.plex.listener.impl.ChatListener
- All Implemented Interfaces:
PlexBase
,org.bukkit.event.Listener
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final net.kyori.adventure.text.Component
static BiConsumer
<io.papermc.paper.event.player.AsyncChatEvent, PlexPlayer> private final ChatListener.PlexChatRenderer
static final net.kyori.adventure.text.TextReplacementConfig
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static void
defaultChatProcessing
(io.papermc.paper.event.player.AsyncChatEvent event, PlexPlayer plexPlayer) void
onChat
(io.papermc.paper.event.player.AsyncChatEvent event)
-
Field Details
-
URL_REPLACEMENT_CONFIG
public static final net.kyori.adventure.text.TextReplacementConfig URL_REPLACEMENT_CONFIG -
PRE_RENDERER
-
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)
-