Provides events for handling actions performed by players.
Interface Summary Interface Description KickedFromServerEvent.ServerKickResultRepresents the base interface for
Class Summary Class Description GameProfileRequestEventThis event is fired after the
PreLoginEventin order to set up the game profile for the user.
KickedFromServerEventFired when a player is kicked from a server. KickedFromServerEvent.DisconnectPlayerTells the proxy to disconnect the player with the specified reason. KickedFromServerEvent.NotifyNotifies the player with the specified message but does nothing else. KickedFromServerEvent.RedirectPlayerTells the proxy to redirect the player to another server. PlayerChannelRegisterEventThis event is fired when a client (
Player) sends a plugin message through the register channel.
PlayerChatEventThis event is fired when a player types in a chat message. PlayerChatEvent.ChatResultRepresents the result of the
PlayerChooseInitialServerEventFired when a player has finished connecting to the proxy and we need to choose the first server to connect to. PlayerClientBrandEventFired when a
PlayerModInfoEventThis event is fired when a Forge client sends its mods to the proxy while connecting to a server. PlayerResourcePackStatusEventThis event is fired when the status of a resource pack sent to the player by the server is changed. PlayerSettingsChangedEvent ServerConnectedEventThis event is fired once the player has successfully connected to the target server and the connection to the previous server has been de-established. ServerLoginPluginMessageEventFired when a server sends a login plugin message to the proxy. ServerLoginPluginMessageEvent.ResponseResult ServerPostConnectEventFired after the player has connected to a server. ServerPreConnectEventThis event is fired before the player connects to a server. ServerPreConnectEvent.ServerResultRepresents the result of the
TabCompleteEventThis 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.StatusRepresents the possible statuses for the resource pack.