Packet Limiter 1.0.1

Simple plugin to prevent individual players from spamming packets

  1. Spottedleaf
    Native Minecraft Version:
    1.13
    Tested Minecraft Versions:
    • 1.12
    • 1.13
    • 1.14
    • 1.15
    • 1.16
    Source Code:
    https://github.com/Spottedleaf/PacketLimiter
    Overview

    Spigot/Vanilla does not provide any level of protection against packet spam. As such, individual players can send as many packets as they want.

    I found that while testing on 1.13, I could send about ~40,000 move packets to the server and either take it down or make it lag very hard due to the processing of the move packets on the server thread.

    The solution was to limit the maximum packets/s a client could send.

    Dependencies

    Requires https://www.spigotmc.org/resources/protocollib.1997/

    Configuration

    The configuration is simple, containing a max packet rate and the interval that rate is measured over. The kick message is also configurable.

    In general, raising the interval will allow higher peak packet rates, which will be better for players with very poor networking. Lowering will have the opposite effect.

    The defaults are targeted at preventing obvious packet spam, like my example, while still leaving good room for players with really bad networking.

Recent Updates

  1. Fix some errors

Recent Reviews

  1. imAverageNoob
    imAverageNoob
    5/5,
    Version: 1.0.1
    Excellent plugin. This really helped me a lot.

    Not only now my server average TPS is increased to 17-18 even though I only allocated 1GB for it, it also prevented some hackers trying to send too many packets and lag out the server.
  2. R00t
    R00t
    5/5,
    Version: 1.0.1
    Excellent resource. I decided to give it a go. What happened? The server's TPS increased, dramatically. Not sure why, or how. I knew I could count on the developer of Tuinity. ;)
  3. ArimaTheReaper
    ArimaTheReaper
    5/5,
    Version: 1.0.1
    this is an amazing plugin, it has protected my server countless times against hackers
  4. dinoboss2001
    dinoboss2001
    5/5,
    Version: 1.0.1
    me gusto este plugin :) yo tambiƩn estoy haciendo uno pero mas grandes se un core de 5 mb.
  5. Laukage
    Laukage
    5/5,
    Version: 1.0.1
    A must have for any server that just takes it a bit seriously, in some cases better than any anticheat :)
  6. Skidrat
    Skidrat
    5/5,
    Version: 1.0.1
    Works as described, has been helpful against hackers. Just another example of great work from Leaf. :)
  7. andrewkm
    andrewkm
    5/5,
    Version: 1.0.1
    Amazing little plugin. Saved us so much headache from recent hack clients doing naughty things. xD
  8. LoneDev
    LoneDev
    5/5,
    Version: 1.0.1
    Thanks for this, really simple and useful, must have for every server :D
  9. HexedHero
    HexedHero
    5/5,
    Version: 1.0.1
    Amazing resource by an amazing and talented developer. Thank you for this leaf <3