mirror of
https://github.com/YouHaveTrouble/minecraft-optimization.git
synced 2026-05-12 06:16:55 +00:00
clarify networking
This commit is contained in:
@@ -71,12 +71,12 @@ It's key to remember that the overworld, nether and the end have separate world
|
|||||||
#### [`server.properties`]
|
#### [`server.properties`]
|
||||||
|
|
||||||
##### network-compression-threshold
|
##### network-compression-threshold
|
||||||
This allows you to set the cap for the size of a packet before the server attempts to compress it. Setting it higher can save some resources at the cost of bandwidth, and setting it to -1 disables it. If your server is in a network with a proxy or on the same machine (with less than 2 ms ping), disabling this (-1) will be beneficial, since internal network speeds can usually handle the additional uncompressed traffic.
|
This allows you to set the cap for the size of a packet before the server attempts to compress it. Setting it higher can save some cpu resources at the cost of bandwidth, and setting it to -1 disables it. Setting this higher may also hurt clients with slower network connections. If your server is in a network with a proxy or on the same machine (with less than 2 ms ping), disabling this (-1) will be beneficial, since internal network speeds can usually handle the additional uncompressed traffic. Never disable this unless you are on the same machine or behind a proxy.
|
||||||
|
|
||||||
#### [`purpur.yml`]
|
#### [`purpur.yml`]
|
||||||
|
|
||||||
##### use-alternate-keepalive
|
##### use-alternate-keepalive
|
||||||
you can enable purpur's alternate keepalive system so players with bad connection don't get timed out as often. Has known incompatibility with TCPShield.
|
You can enable purpur's alternate keepalive system so players with bad connection don't get timed out as often. Has known incompatibility with TCPShield.
|
||||||
|
|
||||||
```
|
```
|
||||||
Enabling this sends a keepalive packet once per second to a player, and only kicks for timeout if none of them were responded to in 30 seconds.
|
Enabling this sends a keepalive packet once per second to a player, and only kicks for timeout if none of them were responded to in 30 seconds.
|
||||||
|
|||||||
Reference in New Issue
Block a user