ServerPlayConnectionEvents

public final class ServerPlayConnectionEvents

Offers access to events related to the connection to a client on a logical server while a client is in game.

Types

Disconnect
Link copied to clipboard
public interface Disconnect
Init
Link copied to clipboard
public interface Init
Join
Link copied to clipboard
public interface Join

Properties

DISCONNECT
Link copied to clipboard
public final static Event<ServerPlayConnectionEvents.DisconnectDISCONNECT
An event for the disconnection of the server play network handler.
INIT
Link copied to clipboard
public final static Event<ServerPlayConnectionEvents.InitINIT
Event indicating a connection entered the PLAY state, ready for registering channel handlers.
JOIN
Link copied to clipboard
public final static Event<ServerPlayConnectionEvents.JoinJOIN
An event for notification when the server play network handler is ready to send packets to the client.

Sources

jvm source
Link copied to clipboard