PaperMC/paper-server/patches/sources/net/minecraft
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
..
advancements Add more advancement API 2021-07-09 18:50:40 +02:00
commands Vanilla command permission fixes 2021-08-25 13:19:53 -07:00
core Correctly check if bucket dispenses will succeed for event 2024-01-01 12:57:19 -08:00
nbt Reduce memory footprint of CompoundTag 2020-04-06 17:39:25 -07:00
network Add packet limiter config 2020-10-30 22:37:16 -07:00
resources Sanitize ResourceLocation error logging 2021-08-26 12:09:47 +02:00
server Don't respond to ServerboundCommandSuggestionPacket when tab-complete is disabled 2021-09-12 00:14:21 +02:00
stats Allow statistics to be disabled/forced 2014-01-07 15:56:26 +00:00
util PreCreatureSpawnEvent 2018-01-14 17:01:31 -05:00
world Optimise BlockSoil nearby water lookup 2021-06-10 14:36:00 -07:00
ChatFormatting.java.patch Adventure 2021-01-29 17:54:03 +01:00
CrashReport.java.patch Deobfuscate stacktraces in log messages, crash reports, and etc. 2021-06-20 18:19:09 -07:00
CrashReportCategory.java.patch Deobfuscate stacktraces in log messages, crash reports, and etc. 2021-06-20 18:19:09 -07:00
Util.java.patch Improve Server Thread Pool and Thread Priorities 2018-10-23 23:14:38 -04:00