Uses of Class
com.velocitypowered.api.event.player.PlayerChatEvent.ChatResult
Packages that use PlayerChatEvent.ChatResult
Package
Description
Provides events for handling actions performed by players.
-
Uses of PlayerChatEvent.ChatResult in com.velocitypowered.api.event.player
Methods in com.velocitypowered.api.event.player that return PlayerChatEvent.ChatResultModifier and TypeMethodDescriptionstatic PlayerChatEvent.ChatResult
PlayerChatEvent.ChatResult.allowed()
Allows the message to be sent, without modification.static PlayerChatEvent.ChatResult
PlayerChatEvent.ChatResult.denied()
Prevents the message from being sent.PlayerChatEvent.getResult()
static PlayerChatEvent.ChatResult
Allows the message to be sent, but silently replaces it with another.Methods in com.velocitypowered.api.event.player with parameters of type PlayerChatEvent.ChatResultModifier and TypeMethodDescriptionvoid
PlayerChatEvent.setResult
(PlayerChatEvent.ChatResult result) Deprecated.for 1.19.1 and newer, set this as denied will kick users