SANDBOX — this is a test environment. No servers are actually deployed and no real payments are charged.
Source-checkedPerformance

Biter Cleanup

by Pseudonymous · for Factorio

Continuously removes biter creep decoratives that aren't near a biter nest (or the mound of corpses left behind after destroying one). Performance impact should be pretty low but can be reduced further by adjusting settings if necessary.

10.0KDownloads
5 mo agoLast updated
MITLicense
2.1Latest game version

About Biter Cleanup

From Factorio Mod Portal

Continuously removes biter creep decoratives that aren't near a biter nest (or the mound of corpses left behind after destroying one). Performance impact should be pretty low but can be reduced further by adjusting settings if necessary.

Overview =======

A simple mod that deletes the nasty-ass decorative textures biters leave behind once the nests have been cleared out. It isn't fancy, it isn't pretty, it just deletes them with no fading or anything - though it does do it in a random order so it at least emulates a natural process. But with any luck you'll be away from the scene of the crime when it happens so it won't matter either way.

Any biter creep decal that isn't near a spawner, worm, or corpse thereof will be deleted.

How it works ==========

A list of all chunks in the save is created and maintained, updated in real time as chunks and surfaces are generated or deleted. This is used for various purposes.

The mod relies on 'state machines' to operate. At a rate configurable in the settings, these state machines are created and "ticked", with each state machine responsible for a single cleaning operation, split into stages spread out over time to keep the performance impact low. These state machines perform a different part of the cleanup each time they are ticked, and then move into a different state ready for the next time they are ticked. These stages are:

  • State 1: choosing a location. A random chunk is chosen from the list, and then a random tile within that chunk is chosen. The next state is always 2.
  • State 2: scanning for biter creep. A radius around the chosen tile is checked for biter creep. The next state is 3 if there is creep, or 0 if not.
  • State 3: scanning for biter nests. Another radius is checked for biter nest structures such as spawners and worms. The next state is always 4.
  • State 4: checking the distance from creep to nest. Every bit of creep is checked for proximity to a nest structure. Any out of range are marked for cleaning. The next state is 5 if some have been marked, or 0 if not.
  • State 5: scanning for other mess. Another radius is checked for mess which can appear in creep but also elsewhere. The next state is 6 if some is found, or 8 if not.
  • State 6: checking the distance from creep to mess. Every bit of that secondary mess is checked if it's close enough to the creep to be considered a part of it, and then it is marked for cleaning if and only if all the creep it is part of is also being cleaned. The next state is 7 if some mess has been marked, or 8 if not.
  • State 7: actually cleaning the mess. Any of the mess that was marked in state 6 is now actually removed. The next state is always 8.
  • State 8: actually cleaning the main creep. Any creep that was marked in state 4 is now actually removed. The next state is always 0.
  • State 0: the null state. Nothing happens in this state - being in this state means the state machine has finished, so it gets deleted.

Version 4.2.0 fixes a critical bug that prevented versions 4.0.0 - 4.1.2 from actually cleaning. Please update as soon as possible to actually have this mod work.

Thank you for your patience while this update has been in the works. I hope your factories continue to grow without further issues.

Planned features =============

  • Support for pentapod egg rafts and the mess surrounding them (Space Age)
  • Possibly restoring creep under biter nest structures if it was removed, for example under spawners that were captive and then freed

Compatibility ==========

It should check any entities that use the types "unit-spawner" or "turret" (which is how worms are classified) and which are tagged with "placeable-enemy" when looking for nests around decals. This means it shouldn't delete creep decals near modded spawners like those from Armoured Biters, and modded worms too (though I don't know of any examples). A cursory test seems to agree with that assessment but it hasn't been rigorously tested.

Highlights

From source data

Game versions

Built for Factorio 2.1.

Footprint

Rated a light load on a server.

License

Published under MIT.

Biter Cleanup on Nxeon

From our catalogue
One-click install
Supported on Nxeon Factorio servers. We download it from Factorio Mod Portal, place it, and restart the server.
Server side
Required on the server
Server load
light
Smallest plan we suggest
Factorio — 2 GB (2 GB RAM). This follows our own load rating above, not a benchmark.
Latest build
4.2.1, released 2026-06-24

Run Biter Cleanup on a Factorio server

Pick a server or deploy a new one above; it is installed in one click.

What kind of mod it is

From the catalog
Listed on Factorio Mod Portal as “Mods”

Performance

Makes the game or server run faster or lighter without changing how it plays.

Runs on your server

From source side support

Factorio Mod Portal lists Biter Cleanup as required on the server. Check its Factorio Mod Portal page to see whether players need it too.

Compatibility

Game
Factorio
Runs on
Serverrequired on the server
Game versions
2.1

Verified at the source

  • ✓Factorio Mod PortalOfficial listing, checked 2026-10-08Open ↗
  • ✓AuthorPseudonymous, as published on Factorio Mod Portal
  • ✓LicenseMITFree

Biter Cleanup, answered

Generated from the mod’s own source data.

Do my players need to install Biter Cleanup?

Factorio Mod Portal lists Biter Cleanup as required on the server. Check its Factorio Mod Portal page to see whether players need it too.

Is it free?

Yes. Biter Cleanup is free to download from Factorio Mod Portal. Its license is MIT.

How do I add it to my Nxeon server?

Use “Add to a server” on this page, or open NxLabs from your dashboard. We install it, restart your server and switch it on.

NxLabs

Run Biter Cleanup on a Factorio server.

Deploy in about a minute from $2.99 a month, then add Biter Cleanup in one click.