This tool allows you to remove all chunks outside a circle, very useful when your map has been heavily explored, making your world file size explode. Only a circle shape is supported for now, but you can move the center. You can also choose to remove only what is inside the circle.
It is in java with command line, so unlike most other programs you can execute it directly on your Linux server. Works very nicely with BIG maps, as it doesn't load the map in memory.
Put it in your world folder, et execute it from here in command line (cd to change directory)
Mincraft chunk removal : remove chunks inside or outside a circle
-s : statistics only (no removal)
-r [radius] : specify radius in blocks
-o [x block coord] [z block coord] : optional, center of the circle
-i : invert (remove chunks inside the circle)
Before : my map has been explore griefed
Output with statistics
After use of ChunksRemoval, only the area inside the circle remains
I am having an issue with my map EXPLODING from 60-70 megs to 1.53 gigs... This will help a immensely with trimming it down and figuring out if there is a greater issue with the map instead of just wiping the whole thing.
Wanted to just post a pic... yah this worked great on my server after the boo updated. Everyone went out looking for Biomes and made the world files insanely large. Which was causing some problems with doing server renders & regular backups.
The tool worked great and is easy to use! Here is a pic of my world after being cropped:
i'm trying to run this on my server and i seem to be having a bit of an issue
i copy the jar into the 'world' folder (mines named nomnom because of the server apparently). I then execute the following
java ChunksRemoval.jar -s -r 500 -o 134.5 118.5
and it says
Exception in thread "main" java.lang.NoClassDefFoundError: ChunksRemoval/jar
Caused by: java.lang.ClassNotFoundException: ChunksRemoval.jar
at java.security.AccessController.doPrivileged(Native Method)