Package com.velocitypowered.api.event.player
Provides events for handling actions performed by players.
-
Interface Summary Interface Description KickedFromServerEvent.ServerKickResult Represents the base interface forKickedFromServerEventresults. -
Class Summary Class Description GameProfileRequestEvent This event is fired after thePreLoginEventin 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.PlayerChannelRegisterEvent This event is fired when a client (Player) sends a plugin message through the register channel.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 the login process, and we need to choose the first server to connect to.PlayerClientBrandEvent Fired when aPlayersends theminecraft:brandplugin message.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 This event is fired when the client sends new client settings for the player.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.ServerLoginPluginMessageEvent Fired when a server sends a login plugin message to the proxy.ServerLoginPluginMessageEvent.ResponseResult The result class, containing a response to the login plugin message sent by the server.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.ServerResourcePackSendEvent This event is fired when the downstream server tries to send a player a ResourcePack packet.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.