Package io.papermc.paper.event.player
Class ChatEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.player.PlayerEvent
io.papermc.paper.event.player.AbstractChatEvent
io.papermc.paper.event.player.ChatEvent
- All Implemented Interfaces:
Cancellable
Deprecated.
An event fired when a
Player
sends a chat message to the server.-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
-
Field Summary
Fields inherited from class org.bukkit.event.player.PlayerEvent
player
-
Constructor Summary
ConstructorDescriptionChatEvent
(Player player, Set<Audience> viewers, ChatRenderer renderer, Component message, Component originalMessage, SignedMessage signedMessage) Deprecated. -
Method Summary
Methods inherited from class io.papermc.paper.event.player.AbstractChatEvent
isCancelled, message, message, originalMessage, playerMessage, renderer, renderer, setCancelled, signedMessage, viewers
Methods inherited from class org.bukkit.event.player.PlayerEvent
getPlayer
Methods inherited from class org.bukkit.event.Event
callEvent, getEventContext, getEventName, isAsynchronous, isSupportInterrupt
-
Constructor Details
-
ChatEvent
@Internal public ChatEvent(Player player, Set<Audience> viewers, ChatRenderer renderer, Component message, Component originalMessage, SignedMessage signedMessage) Deprecated.
-
-
Method Details
-
getHandlers
Deprecated.- Specified by:
getHandlers
in classEvent
-
getHandlerList
Deprecated.
-
AsyncChatEvent
instead, wherever possible.