Connection Packet Fixer
by alchemyyy
Connection Packet Fixer changes several packet and timeout limits in NeoForge 1.21.1 so that connections that would fail under default settings can stay open.
What it does
Connection Packet Fixer relaxes the packet size limits and timeouts that govern how a NeoForge connection handles large or slow traffic. Login compression, chunk and NBT packet limits are raised, and the keepalive timeout during login is extended, so servers and clients with heavy payloads or slow links are less likely to drop out with packet errors or timeouts.
The mod also addresses cleanup problems after a connection ends. A slow disconnect is bounded in time, so closed channels no longer hang indefinitely, and repeated malformed traffic sent before login is blocked. Client disconnects caused by signed chat verification failures are suppressed, and packet decode exceptions and payload issues caused by the same limits are reduced.
The mod is published for NeoForge only, for 1.21.1, with the 1.0.0 file dated 2026-06-03. A server running it needs every connecting player to have it too. The code is open source under the MIT License, and the source code and issue tracker are public.
Key features
Raised packet limits
Login compression, chunk and NBT packet limits are raised above their defaults to allow larger payloads.
Longer login keepalive
The keepalive timeout during login is extended, giving slow connections more time before they are dropped.
Bounded disconnect cleanup
Slow cleanup of closed channels is capped in time, so those channels do not hang forever.
Malformed pre-login traffic blocked
Repeated malformed packets sent before login completes are blocked, limiting their effect on the server.
Quieter chat verification
Client disconnects caused by signed chat verification failures are suppressed instead of ending the session.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Questions
Does Connection Packet Fixer need to be installed on both sides?
Which NeoForge version does Connection Packet Fixer support?
Is the source code of Connection Packet Fixer available?
More from alchemyyy
What the author says
Relaxes packet limits, connection timeouts, packet decode exceptions, and payload issues.
Official listing
- Modrinth page
- modrinth.com/mod/connectionpacketfixer
- Owner
- alchemyyy
- Published
- 2026-06-03
- Updated on Modrinth
- 2026-06-03
- Facts verified
- 2026-10-15
