13
0
geforkt von Mirrors/Paper
Paper/paper-server
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
..
patches/sources Add packet limiter config 2020-10-30 22:37:16 -07:00
src Add missing InventoryType 2023-12-27 16:46:07 -08:00
.gitignore Setup Gradle project 2020-12-10 20:54:19 -08:00
build.gradle.kts Implement Mob Goal API 2020-01-03 16:26:19 +01:00
LGPL.txt We're LGPL. 2011-01-02 10:58:11 +01:00
LICENCE.txt We're LGPL. 2011-01-02 10:58:11 +01:00