Class ConnectionHandshakeEvent
java.lang.Object
com.velocitypowered.api.event.connection.ConnectionHandshakeEvent
This event is fired when a handshake is established between a client and the proxy.
Velocity will fire this event asynchronously and will not wait for it to complete before
handling the connection.
-
Constructor Summary
ConstructorDescriptionConnectionHandshakeEvent
(InboundConnection connection) Deprecated, for removal: This API element is subject to removal in a future version.ConnectionHandshakeEvent
(InboundConnection connection, HandshakeIntent intent) -
Method Summary
-
Constructor Details
-
ConnectionHandshakeEvent
-
ConnectionHandshakeEvent
Deprecated, for removal: This API element is subject to removal in a future version.This method is only retained to avoid breaking plugins that have not yet updated their integration tests.- Parameters:
connection
- the inbound connection
-
-
Method Details
ConnectionHandshakeEvent(InboundConnection, HandshakeIntent)