跳到正文

Packet Shield

作者:najsvan

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

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

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%.

常见问题

Packet Shield 支持哪些 Minecraft 版本?

Packet Shield 支持 Minecraft Java 版 1.21–1.21.11,共 12 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

Packet Shield 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分