Connection Events
ConnectionEvent
Fired when a client first connects to the proxy, before any protocol handshake occurs. This is the earliest point where you can interact with or modify the connection.ConnectionHandshakeEvent
Fired when a handshake is established between a client and the proxy. This occurs after the initial connection but before login.Authentication Events
PreLoginEvent
Fired when a player initiates a connection but before authentication with Mojang or before the connection is fully established in offline mode.AllowedPreLogin: Allow the login to proceedDeniedPreLogin: Deny the loginForceOnlineModePreLogin: Force online mode authenticationForceOfflineModePreLogin: Force offline mode
GameProfileRequestEvent
Fired afterPreLoginEvent to set up the game profile for the user. This can be used to configure a custom profile, such as for skin replacement.
LoginEvent
Fired when a player attempts to log in. This is your last chance to deny the login before the player enters the proxy.PostLoginEvent
Fired after a player has successfully logged in to the proxy but before they are connected to any server.Disconnect Event
DisconnectEvent
Fired when a player disconnects from the proxy.SuccessfulLoginStatus: Normal disconnect after successful loginConflictingLoginStatus: Disconnected due to conflicting loginCanceledByUserLoginStatus: User canceled the loginCanceledByProxyLoginStatus: Proxy canceled the loginCanceledByUserBeforeCompleteLoginStatus: User canceled before completion
Chat and Command Events
PlayerChatEvent
Fired when a player sends a chat message. Messages starting with ”/” triggerCommandExecuteEvent instead.
CommandExecuteEvent
Fired when someone attempts to execute a command.Player Settings Event
PlayerSettingsChangedEvent
Fired when a player’s client settings are updated or initialized.Permission Event
PermissionsSetupEvent
Fired when a permission subject’s permissions are being initialized.Plugin Message Events
PlayerChannelRegisterEvent
Fired when a client sends a plugin message through the register channel.PlayerChannelUnregisterEvent
Fired when a client sends a plugin message through the unregister channel.PlayerClientBrandEvent
Fired when a player sends theminecraft:brand plugin message.

