Package com.velocitypowered.api.event.connection
Provides events for handling incoming connections to the proxy and logins.
-
Class Summary Class Description ConnectionHandshakeEvent This event is fired when a handshake is established between a client and the proxy.DisconnectEvent This event is fired when a player disconnects from the proxy.LoginEvent This event is fired once the player has been authenticated but before they connect to a server on the proxy.PluginMessageEvent This event is fired when a plugin message is sent to the proxy, either from a client (Player
) or a server (ServerConnection
).PluginMessageEvent.ForwardResult A result determining whether or not to forward this message on.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).PreLoginEvent.PreLoginComponentResult Represents an "allowed/allowed with forced online\offline mode/denied" result with a reason allowed for denial. -
Enum Summary Enum Description DisconnectEvent.LoginStatus