Delete Empty Chunks

Delete chunks which contain no player entities. Useful for slimming down save files and recovering lost performance from fruitless exploration. Can configure radius of adjacent chunks to keep and toggle keeping chunks with paving

Version History:

v0.3.3 (2018-06-17)

v0.3.2 (2018-05-02)

Surface.count_tiles_filtered now accepts a table of filters in Factorio 0.16.40

Prevent deleting the chunk a player is in when that chunk has not yet been charted

v0.3.1 (2018-03-11)

Added support for RSO. Unavoidable side effects: Because of the way RSO handles resource generation, if you've 'pinned' part of a resource, RSO will create an identical resource shifted by a bit within that region. If you delete the starting area chunks, those resources are gone. Otherwise, if RSO is allowed to regenerate them, it will spam the starting area with duplicates as many times as one clicks the button.

v0.3.0 (2018-03-04)

No need to search invisible chunks for player entities or paving (nearly three times faster)

Removed hard-coded enumeration of tile names from other mods

Now detect all non-vanilla tiles as paving added by other mods except those specifically ignored

Cleaned up log and print messages

Limited to only deleting chunks from a single surface specified by an option. It is not reliably safe to delete chunks from surfaces added by mods