Skip to main content
warningConnection ErrorsAffects: All versions

How to Fix Packet Too Large / Payload Too Large

Fix Packet Too Large by removing items with excessive NBT data from the player's inventory via server console.

Quick Fix

Remove the oversized item (usually a book or modded item with excessive NBT) from the player's inventory via server console.

Error Message

Packet too large! / Payload may not be larger than X bytes

How to Fix

1

Clear the player's inventory: /clear <player>

2

Use NBTExplorer to remove excessive data from player dat file

3

Increase network-compression-threshold in server.properties

4

Report the issue to the mod developer

Common Causes

  • NBT data on items exceeding packet size limit
  • Books with too much text
  • Large modded item data
  • Mod sending oversized network packets

Diagnostic Steps

  1. If the player cannot connect, use server console to clear their inventory
  2. Check their player .dat file for oversized items
  3. Remove the problematic item
  4. Player can then reconnect

FAQ

What causes oversized packets?

Usually items with massive NBT data, like books with max text, maps with extensive data, or modded items storing large amounts of information.

Related Errors

Need More Help?