Package com.velocitypowered.api.event.connection
package com.velocitypowered.api.event.connection
Provides events for handling incoming connections to the proxy and logins.
-
ClassDescriptionThis event is fired when a handshake is established between a client and the proxy.This event is fired when a player disconnects from the proxy.The status of the connection when the player disconnected.This event is fired once the player has been authenticated, but before they connect to a server.This event is fired when a plugin message is sent to the proxy, either from a client (
Player
) or a server (ServerConnection
).A result determining whether or not to forward this message on.This event is fired once the player has been fully initialized and is about to connect to their first server.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).Represents an "allowed/allowed with forced online\offline mode/denied" result with a reason allowed for denial.This event is executed before sending a player to another host, either by the backend server or by a plugin using thePlayer.transferToHost(InetSocketAddress)
method.Transfer Result of a player to another host.