← Packet index

Packet 143

NetworkSettingsPacket

Sends tunable options from host to client (compression threshold and algorithm)

Packet datagramWire order
HeaderID 143varuint
0Compression Thresholduint16 · 2 bytes
1CompressionAlgorithmuint16 · 2 bytes
2Client Throttle Enabledboolean · 1 byte
3Client Throttle Thresholduint8 · 1 byte
4Client Throttle Scalarfloat · 4 bytes

Serialized fields

5 top-level fields
  1. 0Compression ThresholdDetermines the smallest size of raw network payload to compress. NOTE: 0 is disable compression, 1 is compress everything 1 byte or larger (so everything)uint16
  2. 1CompressionAlgorithmEnum-as-ValuePacketCompressionAlgorithmas uint16
    1. 0ZLib
    2. 1Snappy
    3. 2None
  3. 2Client Throttle Enabledboolean
  4. 3Client Throttle Thresholduint8
  5. 4Client Throttle Scalarfloat

Changelog

Stable releases

Changes between stable protocol releases.

No stable release changes are recorded for this packet.