Packet Shield

Packet Shield

Client-side mod that automatically prevents kicks from malformed packets, excessive payloads, or impossible movement. Filters packets, checks rotation, and throttles interactions.

by
1.8K Downloads
fabricgame-mechanicsoptimizationutility
Rent Server with this Mod

About this Mod

Fixes these problems:

  • Outgoing packets that exceed 8,388,608 bytes or have lengths over 8 bytes/wider than 21 bits are blocked

  • Payloads larger than 1,048,576 bytes or 32,767 bytes are filtered

  • Compressed packets exceeding 2,097,152 bytes are rejected

  • Attempts to read NBT tags larger than 2,097,152 bytes are stopped

  • Chunk packets trying to allocate excessive memory on read are discarded

  • VarInt and VarLong values that exceed protocol limits are dropped

  • Connection timeouts caused by malformed or oversized packets are prevented

  • Player movements over 10 blocks per tick are blocked

  • Vertical jumps higher than 5 blocks are restricted

  • Extreme rotations (pitch beyond ±90° or yaw beyond safe per-tick limits) are filtered

  • Interaction spam (more than 10 hand swings or block actions per second) is prevented

PacketShield works at the Netty level to intercept and validate outgoing packets, automatically filtering unsafe data before it reaches the server. Fully automatic, no settings required.

For a normal player experiencing typical client-side errors on vanilla or lightly-modded servers, PacketShield could reduce self-inflicted kicks by roughly 80–95%.

Available Versions

Packet Shield 1.0release
MC 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11fabric
December 14, 2025

How to Install Packet Shield on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (1.21.11).

3

Install Mod

Open the mod browser in the dashboard and search for "Packet Shield". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

fabric

Minecraft Versions

1.21.11, 1.21.10, 1.21.9 (+9 more)

Server-side

Unsupported

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

Packet Shield server crashes on startup – what to do?

Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.11). You can switch loaders with one click in the panel.

Is Packet Shield compatible with fabric?

Packet Shield officially supports fabric for Minecraft 1.21.11, 1.21.10, 1.21.9. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with Packet Shield – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Packet Shield consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install Packet Shield with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
MIT License
Server-side
Unsupported

Supported Versions

1.21.111.21.101.21.91.21.81.21.71.21.61.21.51.21.41.21.31.21.2+2 more