
Your Minecraft map is taking up more space, and server backups are becoming slower. Before deleting files, establish what is actually growing: the world itself, archived backups, logs or plugin data. Each requires a different approach to cleanup.
For an enclosed lobby or BoxPvP map, it can be relatively straightforward to define the terrain you need. On SMP and LifeSteal worlds, player builds may be spread across the map, so the deletion area needs much more careful inspection.
Measure directories and keep a backup first
Record directory sizes and the date of your measurement. Check whether duplicate world copies or old ZIP archives left in the server directory are responsible. Keep your only verified backup rather than deleting it to make room for another operation.
Before modifying world data, stop the server and make a full copy. Test the cleanup in a separate environment. The goal is to preserve builds and gameplay data while recovering space.
Identify the terrain that must remain
Collect the coordinates of spawn, arenas, mines, parkour areas and player builds. Include underground structures and rarely visited locations. An area receiving few visits is not proof that it is unnecessary.
If your SMP map contains distant bases, a small boundary around spawn is not a safe cleanup area. When in doubt, keep the terrain and look for savings in other directories.
Avoid deleting arbitrary region files. Compare your planned retained area with the actual locations of builds before making changes.
Trim chunks on a test copy
Chunky's trim operation deletes chunks outside the selected area. Deleted data requires a backup to recover, so verify the world and boundaries before confirming the operation. The documentation requires a server restart afterwards. See the chunk trimming guide.
Example for a test copy of a lobby:
/chunky trim lobby_bf square 0 0 1000This command retains a square centred at X=0, Z=0 with a radius of 1000 blocks and deletes chunks outside it. Do not run it on your own world without checking these parameters. Your builds may be outside the example area. The Chunky command reference covers the syntax.
Read the confirmation message. After trimming and restarting, explore the map and compare important locations with the pre-change copy. Also check teleportation destinations in deleted areas.
Verify the result before applying it publicly
Compare the world's size before and after the change. Test protection, respawn points and the game mode itself. Keep a record of the retained area, deleted terrain and backup location.
If the result is not what you expected, return to the original copy and adjust the selection. On a survival map, preserving a player's home matters more than saving a few gigabytes.
A smaller map file is not a performance measurement
Evaluate world-size reduction through recovered storage and easier backups. Investigate gameplay performance separately, for example with spark. The Paper profiling guide explains this diagnostic approach.