Packet 143
NetworkSettingsPacket
Sends tunable options from host to client (compression threshold and algorithm)
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- 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 1CompressionAlgorithmEnum-as-ValuePacketCompressionAlgorithmas
uint16- 0
ZLib - 1
Snappy - 2
None
- 0
- 2Client Throttle Enabled
boolean - 3Client Throttle Threshold
uint8 - 4Client Throttle Scalar
float
Changelog
Stable releases
Changes between stable protocol releases.
- Released
- Protocol
- 2225
Packet
1 entryChanged 1
- Changed supporting type
PacketCompressionAlgorithm: Changed enum valueNonefrom2to65535.
All builds
Changes between consecutive stable releases and preview builds.
- Released
- Protocol
- 2207
- Previous build
- 1.26.51
Packet
1 entryChanged 1
- Changed supporting type
PacketCompressionAlgorithm: Changed enum valueNonefrom2to65535.