Suffering from "Badly compressed packet - size of xxx is larger than protocol maximum of 2097152" error ?
Loading your savefile and hitting a "Tried to read NBT tag that was too big" limit ?
Search no further, here is the mod you are in need of !
What does it do ?
It seriously uplift both limits.
Which version of Minecraft does it handle ?
From 1.7.10 up to 1.12.2.
How to know it is effective ?
Hit the Mod button on your title screen, then select "Bigger Packets, Please !" on the modlist at left.
Description of the mod will gives you current status.
Where can I get mine ?!?
You saved my life (well, the day at least) !
Great ! Please let me know it worked for you, too.
A simple reply to this thread with your minecraft version would be perfect.
Especially point 2 and 3 are really important (in my opinion). I'm not sure what exactly you are doing, but this seems to be quite a hack - and should be fixed in the offending mods or in forge/netty directly.
There is probably a reason why there is a limit to the packet size and you dont talk about possible issues that may occur when using this core mod.
This mod already cover Coremod's policy : it is signed since version 1.1, and contains nothing but the Transformer class and some glue to update its description with details of modified classes. BTW, version check is done via Forge's update checker.
As documenting the way it works, everything is in the logs, really. The names and details of the up to two patched methods, each with up to two modified constants are clearly reported. No "hacky" interception or bypass...
I used the lightest (and safest) way, expecting users feedback showing it was enough to do the job.
But, IMHO, this constraint shouldn't be enforced on the client side... You ever trust the server or don't play on it.
This side restriction might be done in future Forge release, leaving existing ones at bay.
As of what may occur using this mod, it mightjust works and having users not crashing.
It doesn't impact data, you can even add it to your setup long enough to reconnect and move away from offending chunk before removing it, if so you wish.
Still hoping feedback from users of the mod, in order to see if I should go any further here, my own mod saved me the day couple times already, and that's already enough.
Hey, thanks for clarifying. I will definitely keep this mod in mind if I ever encounter this issue.
Last thing though, could you plug in a link to the source? I'm just curious what exactly is happening in the background. (see point 3 of the coremod policy)
[B#498] io.netty.handler.codec.DecoderException: java.io.IOException: Packet was larger than I expected, found 38328 bytes extra whilst reading packet 9
[B#498] at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:263) ~[ByteToMessageDecoder.class:?]
[B#498] at io.netty.handler.codec.ByteToMessageDecoder.channelInactive(ByteToMessageDecoder.java:196) ~[ByteToMessageDecoder.class:?]
[B#498] at io.netty.channel.DefaultChannelHandlerContext.invokeChannelInactive(DefaultChannelHandlerContext.java:237) [DefaultChannelHandlerContext.class:?]
[B#498] at io.netty.channel.DefaultChannelHandlerContext.fireChannelInactive(DefaultChannelHandlerContext.java:223) [DefaultChannelHandlerContext.class:?]
[B#498] at io.netty.handler.codec.ByteToMessageDecoder.channelInactive(ByteToMessageDecoder.java:214) [ByteToMessageDecoder.class:?]
[B#498] at io.netty.channel.DefaultChannelHandlerContext.invokeChannelInactive(DefaultChannelHandlerContext.java:237) [DefaultChannelHandlerContext.class:?]
[B#498] at io.netty.channel.DefaultChannelHandlerContext.fireChannelInactive(DefaultChannelHandlerContext.java:223) [DefaultChannelHandlerContext.class:?]
[B#498] at io.netty.channel.ChannelInboundHandlerAdapter.channelInactive(ChannelInboundHandlerAdapter.java:75) [ChannelInboundHandlerAdapter.class:?]
[B#498] at io.netty.channel.DefaultChannelHandlerContext.invokeChannelInactive(DefaultChannelHandlerContext.java:237) [DefaultChannelHandlerContext.class:?]
[B#498] at io.netty.channel.DefaultChannelHandlerContext.fireChannelInactive(DefaultChannelHandlerContext.java:223) [DefaultChannelHandlerContext.class:?]
[B#498] at io.netty.channel.ChannelInboundHandlerAdapter.channelInactive(ChannelInboundHandlerAdapter.java:75) [ChannelInboundHandlerAdapter.class:?]
[B#498] at io.netty.handler.timeout.ReadTimeoutHandler.channelInactive(ReadTimeoutHandler.java:143) [ReadTimeoutHandler.class:?]
[B#498] at io.netty.channel.DefaultChannelHandlerContext.invokeChannelInactive(DefaultChannelHandlerContext.java:237) [DefaultChannelHandlerContext.class:?]
[B#498] at io.netty.channel.DefaultChannelHandlerContext.fireChannelInactive(DefaultChannelHandlerContext.java:223) [DefaultChannelHandlerContext.class:?]
[B#498] at io.netty.channel.DefaultChannelPipeline.fireChannelInactive(DefaultChannelPipeline.java:767) [DefaultChannelPipeline.class:?]
[B#498] at io.netty.channel.AbstractChannel$AbstractUnsafe$5.run(AbstractChannel.java:558) [AbstractChannel$AbstractUnsafe$5.class:?]
[B#498] at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:354) [SingleThreadEventExecutor.class:?]
[B#498] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:348) [NioEventLoop.class:?]
[B#498] at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:101) [SingleThreadEventExecutor$2.class:?]
[B#498] at java.lang.Thread.run(Unknown Source) [?:1.8.0_231]
[B#498] Caused by: java.io.IOException: Packet was larger than I expected, found 38328 bytes extra whilst reading packet 9
[B#498] at net.minecraft.util.MessageDeserializer.decode(SourceFile:42) ~[ez.class:?]
[B#498] at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:232) ~[ByteToMessageDecoder.class:?]
[B#498] ... 19 more
Do not work with MC1.12.2 forge1.12.2-14.23.5.2847
mod Status is Unsupported Minecraft version
log out put message
[11:34:08] [main/ERROR] [biggerpacketsplz.ClassTransformer]: Exception while seeking for mcVersion
[11:34:08] [main/ERROR] [biggerpacketsplz.ClassTransformer]: Undetected Minecraft version
please use the code q2h7 to download the full log(sorry I must use Baidu Net Disk due to the net error , It's language is Chinese but you can follow the blue button to download the log file)
Suffering from "Badly compressed packet - size of xxx is larger than protocol maximum of 2097152" error ?
Loading your savefile and hitting a "Tried to read NBT tag that was too big" limit ?
Search no further, here is the mod you are in need of !
What does it do ?
It seriously uplift both limits.
Which version of Minecraft does it handle ?
From 1.7.10 up to 1.12.2.
How to know it is effective ?
Hit the Mod button on your title screen, then select "Bigger Packets, Please !" on the modlist at left.
Description of the mod will gives you current status.
Where can I get mine ?!?
You saved my life (well, the day at least) !
Great ! Please let me know it worked for you, too.
A simple reply to this thread with your minecraft version would be perfect.
New version, 1.2, fixing compatibility with modpack DW20 2.3.0 and most likely other packs too.
Would gladly read any feedback, positive or negative...
Hey, could you make your mod compliant to the forge core mod policy?
http://www.minecraftforge.net/forum/topic/58706-regarding-minecraft-112-and-policy-changes/
Especially point 2 and 3 are really important (in my opinion). I'm not sure what exactly you are doing, but this seems to be quite a hack - and should be fixed in the offending mods or in forge/netty directly.
There is probably a reason why there is a limit to the packet size and you dont talk about possible issues that may occur when using this core mod.
Thanks for your post !
This mod already cover Coremod's policy : it is signed since version 1.1, and contains nothing but the Transformer class and some glue to update its description with details of modified classes. BTW, version check is done via Forge's update checker.
As documenting the way it works, everything is in the logs, really. The names and details of the up to two patched methods, each with up to two modified constants are clearly reported. No "hacky" interception or bypass...
I used the lightest (and safest) way, expecting users feedback showing it was enough to do the job.
About "fixing" the offender, Minecraft, the issue is already reported for almost four years now. But is mostly triggered by mods having real use of entitie's data.
According to LexManos the limit is voluntary.
But, IMHO, this constraint shouldn't be enforced on the client side... You ever trust the server or don't play on it.
This side restriction might be done in future Forge release, leaving existing ones at bay.
As of what may occur using this mod, it might just works and having users not crashing.
It doesn't impact data, you can even add it to your setup long enough to reconnect and move away from offending chunk before removing it, if so you wish.
Still hoping feedback from users of the mod, in order to see if I should go any further here, my own mod saved me the day couple times already, and that's already enough.
Hey, thanks for clarifying. I will definitely keep this mod in mind if I ever encounter this issue.
Last thing though, could you plug in a link to the source? I'm just curious what exactly is happening in the background. (see point 3 of the coremod policy)
This mod worked for me! Minecraft version 1.12.2, modpack DW20
When it fails to activate/turn on by itself where can I manually turn the mod on? And where can I set the new max size? There is No config file.
Still got these issues:
Seen packets 0, 4, 9, 48
Stacktrace:
Sadly, it will not increase the size of packets that are allowed from client to server...

I tried the mod in hope, that it will cover this too :/
Do not work with MC1.12.2 forge1.12.2-14.23.5.2847
mod Status is Unsupported Minecraft version
log out put message
[11:34:08] [main/ERROR] [biggerpacketsplz.ClassTransformer]: Exception while seeking for mcVersion
[11:34:08] [main/ERROR] [biggerpacketsplz.ClassTransformer]: Undetected Minecraft version
please use the code q2h7 to download the full log(sorry I must use Baidu Net Disk due to the net error , It's language is Chinese but you can follow the blue button to download the log file)
Full log file
Does this work in Minecraft Forge 1.19.2?
"Hello there," Obi-Wan said calmly.