Package com.velocitypowered.api.event.player
package com.velocitypowered.api.event.player
Provides events for handling actions performed by players.
-
ClassDescriptionThis event is fired when a cookie response from a client is received by the proxy.A result determining whether or not to forward the cookie response on.This event is fired when a cookie from a client is requested either by a proxy plugin or by a backend server.A result determining whether or not to forward the cookie request on.This event is fired when a cookie should be stored on a player's client.A result determining whether or not to forward the cookie on.This event is fired after the
PreLoginEvent
in order to set up the game profile for the user.Fired when a player is kicked from a server.Tells the proxy to disconnect the player with the specified reason.Notifies the player with the specified message but does nothing else.Tells the proxy to redirect the player to another server.Represents the base interface forKickedFromServerEvent
results.This event is fired when a client (Player
) sends a plugin message through the register channel.This event is fired when a player types in a chat message.Represents the result of thePlayerChatEvent
.Fired when a player has finished the login process, and we need to choose the first server to connect to.Fired when aPlayer
sends theminecraft:brand
plugin message.This event is fired when a Forge client sends its mods to the proxy while connecting to a server.This event is fired when the status of a resource pack sent to the player by the server is changed.Represents the possible statuses for the resource pack.This event is fired when the client sends new client settings for the player.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.Fired when a server sends a login plugin message to the proxy.The result class, containing a response to the login plugin message sent by the server.Fired after the player has connected to a server.This event is fired before the player connects to a server.Represents the result of theServerPreConnectEvent
.This event is fired when the downstream server tries to remove a resource pack from player or clear all of them.This event is fired when the downstream server tries to send a player a ResourcePack packet.This event is fired after a tab complete response is sent by the remote server, for clients on 1.12.2 and below.