ClientDisconnectionReason

Contains the costants describing the possible reasons why a disconnection from the server occurred.

Members

(static, constant) BANNED :string

Client was banned from the server.

Banning can occur automatically (e.g. for flooding, if the flood filter is active) or due to the intervention of a User with enough privileges (administrator or moderator).

Type:
  • string

(static, constant) IDLE :string

Client was disconnected because it was idle for too long.

The connection timeout depends on the server settings.

Type:
  • string

(static, constant) KICKED :string

Client was kicked out of the server.

Kicking can occur automatically (e.g. for swearing, if the words filter is active) or due to the intervention of a User with enough privileges (administrator or moderator).

Type:
  • string

(static, constant) MANUAL :string

The client manually disconnected from the server.
Type:
  • string

(static, constant) RECONNECTION_FAILURE :string

The client reconnection system was not able to re-establish a connection to the server successfully.
Type:
  • string

(static, constant) UNKNOWN :string

A generic network error occurred, and the client is unable to determine the cause of the disconnection.

The server-side log should be checked for possible error messages or warnings.

Type:
  • string