Mod Updatet to Factorio version 1.1 by Casishur
Original Description from mod https://mods.factorio.com/mod/unused-chunk-removal
This mod is intended to help keep map size down in multiplayer servers with lots of exploration.
THIS WILL NOT TRACK EXISTING CHUNKS IF YOU ARE ADDING THIS TO AN EXISTING GAME! Only works on newly generated chunks while the mod is active.
It keeps track of all map chunks and player activity and buildings. Every fixed interval (default 1 hour, but configurable), the map is cleared of all unused chunks. An unused chunk is any chunk not containing or near any building or player. Has not had recent vision. Is not covered by an active radar. Is not covered by pollution.
The game will stutter and freeze for a few seconds while the delete happens, this is UNAVOIDABLE and is part of how chunk deletion works. It is completely playable on multiplayer though and helps keep the save size down a LOT when you have lots of players exploring or spread out over the map.
I originally wrote it as a soft-mod for my Oarc scenario. I have now converted it to a proper mod that can be configured and integrated with other mods/scenarios.
There are a few settings that allow "stand-alone" use meaning you can enable it for the default nauvis surface and/or for any surface created while this mod is loaded.
Or you can use the remote calls in the mod to configure it for your own custom surface and other events.
The command /trigger-map-cleanup was renamed /force-map-cleanup to prevent a command conflict.
the two changes i have made is the command and a filename regrowth_map in force_regrowth_map to prevent filename conflict with OARC
This mod should work with OARC if Chunk Regrowth was turned off in the scenario.
With the command.
/force-map-cleanup will execute the command
attention
This version ignores vehicles that are far away or out of radar range - they will be deleted.
https://github.com/Oarcinae/FactorioScenarioMultiplayerSpawn/issues/124
Credits go to the mod author https://mods.factorio.com/user/Oarc
https://github.com/Oarcinae/FactorioScenarioMultiplayerSpawn