If you use packet 67 with Dimensions, make sure the first data is an Int16 with a message type not already used to avoid it being misread as one of the below. If you publish a plugin or tool which uses this packet and that is used with Dimensions, add the type and information to this file.
Dimensions sends this to a Terraria Server to update the client's IP address from the IP of the machine Dimensions is running on to the real IP of the client.
| Info | Size | Datatype |
|---|---|---|
| Type | 2 | Int16 |
| IP | ? | String |
Gamemodes uses this to specify what mode the user has joined for.
| Info | Size | Datatype |
|---|---|---|
| Type | 2 | Int16 |
Terraria Servers use this to tell Dimensions to switch the clients Dimension
| Info | Size | Datatype |
|---|---|---|
| Type | 2 | Int16 |
| Dimension Name | ? | String |
| Info | Size | Datatype |
|---|---|---|
| Type | 2 | Int16 |
| Server IP | ? | String |
| Server Port | 2 | UInt16 |
| Server Name | ? | String |
| Terraria Servers use this to tell Dimension to switch the client to a specific ip/port that is not in the Dimensions config. |
Server Name is optional and only present when bytes remain after Server Port.
Dimensions sends this to a Terraria Server to report the current TCP RTT values measured by the proxy.
Unavailable RTT values are encoded as -1.
| Info | Size | Datatype |
|---|---|---|
| Type | 2 | Int16 |
| Player ID | 1 | Byte |
| Client RTT Micros | 4 | Int32 |
| Server RTT Micros | 4 | Int32 |
| Overall RTT Micros | 4 | Int32 |
| Updated At | 8 | UInt64 |