Skip to content

Vanilla-like experience page lists invalid values for packet-limiter #554

Open
@TonytheMacaroni

Description

@TonytheMacaroni

The values listed at https://docs.papermc.io/paper/vanilla#packet_limiter prevent players from logging in.

Image
Image

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions