docs
docs copied to clipboard
Vanilla-like experience page lists invalid values for `packet-limiter`
The values listed at https://docs.papermc.io/paper/vanilla#packet_limiter prevent players from logging in.
packet-limiter:
all-packets:
action: KICK
interval: 0.000001
max-packet-rate: 999999.0
After testing, an interval of 0.000001 ends up calculating a rate (the value of interval here is 1000) of 999999.9999999999 when the first packet is received. 999999.9999999999 is greater than 999999.0 by ~1, so the connection is killed here.