13
0
geforkt von Mirrors/Paper
Paper/paper-server/patches/sources/net/minecraft/network
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
..
chat Add PlayerKickEvent causes 2021-05-15 20:30:45 -07:00
protocol MC-4: Fix item position desync 2020-12-08 20:24:52 -06:00
syncher Remap CraftBukkit to Mojang+Yarn Mappings 2024-12-11 22:26:55 +01:00
Connection.java.patch Add packet limiter config 2020-10-30 22:37:16 -07:00
FriendlyByteBuf.java.patch Adventure 2021-01-29 17:54:03 +01:00
PacketEncoder.java.patch Adventure 2021-01-29 17:54:03 +01:00
Varint21FrameDecoder.java.patch Optimize NetworkManager Exception Handling 2020-07-05 22:38:18 -04:00