Jump to content

Is there a way to unload chunks within a world and make these dark on the map again?


Recommended Posts

Posted (edited)

I recently corrupted many chunks around my base as I accidently uninstalled a world gen mod. I've just flown around in repair mode and regenerated those chunks and all is fixed however it would be great if I could 'de-generate' those chunks and turn back to dark in my map all chunks in a certain radius around my base both to save disk space and as I feel I've cheated! (Wish i could have done this to begin with) 

The only other chunks I'd need are those which the trader is in who gave me details of the Archives as I wouldn't want to reset him and lose access to the Chapter two.

Any help would be appreciated, apologies if I've not used the correct terms for anything! 

Thanks!

 

Edit- Title change 

Edited by ubertronic
  • ubertronic changed the title to Is there a way to unload chunks within a world and make these dark on the map again?
Posted

To save disk space, you can use /db purge.

I’d place or remove 9 blocks right next to the trader, then use

/db purge 8 

That’ll get rid of chunks without at least 8 modified blocks (or 8 or fewer, not sure) in them from the DB, to save space. You’ll need to use /db vacuum to actually free up the space.

I find I need to run /db purge in dry run mode first, or the server crashes, but YMMV.

[ Sorry if the commands aren’t quite right, I’m away from my VS computer. /help db should steer you in the right direction. ]

  • Like 1
Posted (edited)

I'm away from a computer with VS, too, but I believe it's "prune", not "purge".

That does not clear the map. Or at least it didn't in the past. About all you can do is wipe the entire map and start opening up the blackness again.

[EDIT]

I don't know for sure, but I suspect you could use one of those waypoint sharing mods to save your waypoints if you do end up clearing the map.

Edited by Thorfinn
Posted

Oops, you’re 100% right. To do a trial run:

/db prune 8 keep

To do it for real:

/db prune 8 keep confirm

To vacuum later to actually shrink the save file;

/db vacuum

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.