Class ClientDisconnectEvent

Emitted when a client disconnected or is force-disconnected from the server.

Hierarchy

  • BasicEvent
    • ClientDisconnectEvent

Implements

Properties

eventName: "client.disconnect" = ...
client: Connection

The client that was disconnected from the server.

customMessage?: string

Custom message for why the client was disconnected, if reason is "Custom".

eventName: "client.disconnect" = ...

The reason for why the client disconnected.

Constructors

Generated using TypeDoc