Package com.velocitypowered.api.event.player
Provides events for handling actions performed by players.
-
Interface Summary Interface Description KickedFromServerEvent.ServerKickResult Represents the base interface forKickedFromServerEvent
results. -
Class Summary Class Description GameProfileRequestEvent This event is fired after thePreLoginEvent
in order to set up the game profile for the user.KickedFromServerEvent Fired when a player is kicked from a server.KickedFromServerEvent.DisconnectPlayer Tells the proxy to disconnect the player with the specified reason.KickedFromServerEvent.Notify Notifies the player with the specified message but does nothing else.KickedFromServerEvent.RedirectPlayer Tells the proxy to redirect the player to another server.PlayerChatEvent This event is fired when a player types in a chat message.PlayerChatEvent.ChatResult Represents the result of thePlayerChatEvent
.PlayerChooseInitialServerEvent Fired when a player has finished connecting to the proxy and we need to choose the first server to connect to.PlayerModInfoEvent This event is fired when a Forge client sends its mods to the proxy while connecting to a server.PlayerResourcePackStatusEvent This event is fired when the status of a resource pack sent to the player by the server is changed.PlayerSettingsChangedEvent ServerConnectedEvent This event is fired once the player has successfully connected to the target server and the connection to the previous server has been de-established.ServerPostConnectEvent Fired after the player has connected to a server.ServerPreConnectEvent This event is fired before the player connects to a server.ServerPreConnectEvent.ServerResult Represents the result of theServerPreConnectEvent
.TabCompleteEvent This event is fired after a tab complete response is sent by the remote server, for clients on 1.12.2 and below. -
Enum Summary Enum Description PlayerResourcePackStatusEvent.Status Represents the possible statuses for the resource pack.