Skip to main content

Module teleport

Module teleport 

Source
Expand description

Teleport state tracking for server-side position confirmation.

When the server teleports a player, it assigns a teleport ID and waits for the client to acknowledge it via SAcceptTeleportation. Until acknowledged, movement packets are rejected. This struct manages that handshake.

Vanilla: ServerGamePacketListenerImpl.awaitingPositionFromClient, awaitingTeleport, awaitingTeleportTime.

Structsยง

TeleportState
Tracks the state of a pending server-initiated teleport.