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.ChatResultPlayerChatEvent.ChatResult.allowed()Allows the message to be sent, without modification.static PlayerChatEvent.ChatResultPlayerChatEvent.ChatResult.denied()Prevents the message from being sent.PlayerChatEvent.getResult()static PlayerChatEvent.ChatResultAllows 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 TypeMethodDescriptionvoidPlayerChatEvent.setResult(PlayerChatEvent.ChatResult result) Deprecated.for 1.19.1 and newer, set this as denied will kick users