此插件修复了一个 Velocity 代理问题,当发送过多的“已知数据包”时,可能导致客户端在 Minecraft 1.21+ 的配置阶段断开连接。这通常会导致诸如 KnownPacksPacket 错误或帧损坏异常等问题,尤其在重度模组化环境中更为常见。
该问题发生在握手/配置阶段,此时模组化客户端和服务器通过 Velocity 代理交换大量的模组或配置数据包,超出了协议的实际限制,从而导致连接不稳定。
此插件应用了一种兼容性解决方案,以减少或防止这些断连现象,从而改善通过 Velocity 加入模组化服务器时的稳定性。
- 修复因“已知数据包过多” / KnownPacksPacket 导致的断连问题
- 提升配置阶段中 Velocity 代理的兼容性
- 专为模组化 Minecraft 环境设计(以 NeoForge 为主,也可能适用于其他加载器)
- 有助于稳定重度模组化服务器的连接
为何需要这个插件
本人在运行一个基于 Velocity 后端的模组化 1.21+ 环境时亲身遇到了这个问题。当时并没有清晰可靠的修复方案,因此开发了这一临时解决方案并公开分享,希望能为遇到相同问题的其他人提供帮助。如果你的服务器因此受益,欢迎使用——我们乐意之至。 :D
This plugin fixes a Velocity proxy issue that can cause clients to disconnect during the Minecraft 1.21+ configuration phase when too many “known packs” are sent. This often results in errors such as KnownPacksPacket or corrupted frame exceptions, especially in heavily modded environments.
The issue occurs during the handshake/configuration phase when modded clients and servers exchange a large number of mod or configuration packs through a Velocity proxy, exceeding practical protocol limits and leading to unstable connections.
This plugin applies a compatibility workaround to reduce or prevent these disconnects, improving stability when joining modded servers through Velocity.
Fixes “too many known packs” / KnownPacksPacket disconnects
Improves Velocity proxy compatibility during the configuration phase
Designed for modded Minecraft environments (NeoForge-focused, may work with others)
Helps stabilize connections on heavily modded servers
Why this exists
This was created while running into the issue personally on a modded 1.21+ setup behind Velocity. There wasn’t a clear or reliable fix available at the time, so this workaround was developed and shared publicly in case others encounter the same problem. If it helps your server, feel free to use it — you're welcome. :D
评论 0
登录后参与评分
还没有评论,来抢沙发吧