====== S2C Packet 9: Forced Disconnect ====== Informs the client that the connection is about to be closed. ===== Format ===== ^ Index ^ Type ^ Description ^ | 0 | ''%%9%%'' | Forced Disconnect packet ID | | 1 | [[sockchat:types#bool|bool]] | If the client has to wait until it can connect again. | | 2 | [[sockchat:types#timestamp|timestamp]] | Timestamp at which the client can reattempt connection. Only present if the boolean at index 1 is true. If this value is equal to ''%%-1%%'', a permanent ban is in effect. | ===== Examples ===== The client has been kicked but is able to reconnect immediately: 9\t0 The client has been banned and must wait until Sunday, 13 April 2025 22:56:22 GMT to reconnect: 9\t1\t1744584982 The client has been permanently banned: 9\t1\t-1 ===== See Also ===== * [[sockchat:commands:ban|/ban]] - One command that causes this packet to be sent to another user. * [[sockchat:commands:kick|/kick]] - Another command that causes this packet to be sent to another user.