PaperMC/paper-server/patches/sources
Spottedleaf 0277ecd75d Add packet limiter config
Example config:
packet-limiter:
  kick-message: '&cSent too many packets'
  limits:
    all:
      interval: 7.0
      max-packet-rate: 500.0
    ServerboundPlaceRecipePacket:
      interval: 4.0
      max-packet-rate: 5.0
      action: DROP

all section refers to all incoming packets, the action for all is
hard coded to KICK.

For specific limits, the section name is the class's name,
and an action can be defined: DROP or KICK

If interval or rate are less-than 0, the limit is ignored
2020-10-30 22:37:16 -07:00
..
com/mojang Check requirement before suggesting root nodes 2021-09-12 00:14:21 +02:00
net/minecraft Add packet limiter config 2020-10-30 22:37:16 -07:00