Package com.velocitypowered.api.event.player
Provides events for handling actions performed by players.
-
Interface Summary Interface Description DisconnectEvent This event is fired when a player disconnects from the proxy.GameProfileRequestEvent This event is fired after thePreLoginEventImpl
in order to set up the game profile for the user.KickedFromServerEvent Fired when a player is kicked from a server.KickedFromServerEvent.ServerKickResult Represents the base interface forKickedFromServerEvent
results.LoginEvent This event is fired once the player has been authenticated but before they connect to a server on the proxy.PlayerChannelRegisterEvent This event is fired when a client (Player
) sends a plugin message through the register channel.PlayerChatEvent PlayerChooseInitialServerEvent Fired when a player has finished connecting to the proxy and we need to choose the first server to connect to.PlayerClientSettingsChangedEvent PlayerModInfoEvent This event is fired when a modded 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.PostLoginEvent This event is fired once the player has been fully initialized and is about to connect to their first server.PreLoginEvent This event is fired when a player has initiated a connection with the proxy but before the proxy authenticates the player with Mojang or before the player's proxy connection is fully established (for offline mode).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.TabCompleteEvent This event is fired after a tab complete response is sent by the remote server, for clients on 1.12.2 and below. -
Class Summary Class Description DisconnectEventImpl This event is fired when a player disconnects from the proxy.GameProfileRequestEventImpl This event is fired after thePreLoginEventImpl
in order to set up the game profile for the user.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.KickedFromServerEventImpl Fired when a player is kicked from a server.LoginEventImpl This event is fired once the player has been authenticated but before they connect to a server on the proxy.PlayerChannelRegisterEventImpl This event is fired when a client (Player
) sends a plugin message through the register channel.PlayerChatEventImpl This event is fired when a player types in a chat message.PlayerChooseInitialServerEventImpl Fired when a player has finished connecting to the proxy and we need to choose the first server to connect to.PlayerClientSettingsChangedEventImpl PlayerModInfoEventImpl PlayerResourcePackStatusEventImpl This event is fired when the status of a resource pack sent to the player by the server is changed.PostLoginEventImpl This event is fired once the player has been fully initialized and is about to connect to their first server.PreLoginEventImpl This event is fired when a player has initiated a connection with the proxy but before the proxy authenticates the player with Mojang or before the player's proxy connection is fully established (for offline mode).ServerConnectedEventImpl 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.ServerPostConnectEventImpl Fired after the player has connected to a server.ServerPreConnectEvent.ServerResult Represents the result of theServerPreConnectEvent
.ServerPreConnectEventImpl This event is fired before the player connects to a server.TabCompleteEventImpl 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 DisconnectEvent.LoginStatus PlayerResourcePackStatusEvent.Status Represents the possible statuses for the resource pack.