Interface: ConnectionChangeEvent
Represents the event emitted when a player's connection status changes.
Property Type Description Optional typestring = "connection" Constant string indicating the event type. actionstring = "connect" | "disconnect" Indicates if the player connected or disconnected. previousConnectionboolean | null The previous connection state before the event. currentConnectionboolean | null The current connection state after the event.