Event System

Hook into game events with @EventHandler. Player connections, chat, combat, and more.

← Back to Events

PlayerSetupConnectEvent

Player Cancellable Async Safe

com.hypixel.hytale.server.core.event.events.player

Pre-connection authentication. Cancel to reject connection.

Fields

Field Type Getter
packetHandler PacketHandler getPacketHandler()
username String getUsername()
uuid UUID getUuid()
auth PlayerAuthentication getAuth()
referralSource HostAddress getReferralSource()
cancelled boolean isCancelled()
reason String getReason()
clientReferral ClientReferral getClientReferral()