Fix too large/corrupted chunks (Minecraft)


One day you start your minecraft server but it crashes when players load a specific chunk. You go into the logs and find that apparently a chunk was "too large". On spigot or on Reddit you will find that this bug is unfixable (This was true when I wrote this (2024.02.02) ) without deleting and regenerating the corrupted chunk. Let's say you build a nice house on that chunk and you don't have any backups. I will show you how to fix this and get your chunk back.


Common causes:


Assuming you run a bukkit based server:
- Lagmachines,
- enormous mobfarms,
- large item stashes
- A chunk regenerator machine (this can't be fixed according to my knowledge.)


What can you do?


1. Try to load the chunk in singleplayer
Trust me, the built-in integrated server is OP as it will not kick the player for packet issues like a normal server would. Go into singleplayer, load your world and remove the cause. If the problem is a big mobfarm consider using a resourcepack which hides entities (replaces them with a 1 by 1 pixel) or use a custom client which can hide entities.


2. Use MCEdit or Worldpainter
If the cause is a huge lag machine, the singleplayer trick will not work. Load the world in MCEdit or Worldpainter and remove the lagmachine with the tools provided.


I hope this helped you. If you managed to load the world in singleplayer but when loaded the world back to the server and it didn't work again then it is probably a good idea to check your plugins. Perhaps a worldgenerator or a plugin which uses Async chunk accesses crashes or overloads a chunk.


Go back to main page