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

The Cave Auto-Dig

by hanshino · for Factorio

Removes the repetitive clicking of manual digging in The Cave, without speeding anything up: mining speed, reach, and every dig's consequences are exactly the same as clicking it yourself.

113Downloads
3 mo agoLast updated
LGPL-3.0License
Factorio Mod PortalSource

About The Cave Auto-Dig

From Factorio Mod Portal

Removes the repetitive clicking of manual digging in The Cave, without speeding anything up: mining speed, reach, and every dig's consequences are exactly the same as clicking it yourself.

The Cave — Auto-Dig

Removes the repetitive clicking that manual digging in The Cave requires, without changing the pace of the game in any way.

This is not a speed-up mod. Everything this mod does is exactly what a manual click already does — it just saves you from doing the click yourself, over and over, for hours:

  • Mining speed is unchanged. Auto-dig computes the same effective mining speed the game

uses for hand-mining — base character mining speed, multiplied by your character's mining speed bonus, multiplied by your force's manual-mining-speed research bonus — and waits exactly that long between digs. It never mines faster than you could by holding the mouse button down yourself.

  • Reach is unchanged. Every target is checked with the same reach-distance rule the game

enforces on manual mining. Nothing is dug from further away than you could reach by hand.

  • Every dig consequence is unchanged. Digging goes through the same mining call a manual

click uses, so resource yields, cave-ins/room generation, enemy spawns, and any other consequence The Cave attaches to a dig trigger exactly as if you had clicked the rock yourself. Nothing is skipped, and nothing extra is granted.

What it does

  • Cursor mode — point at a rock or a pile of rubble and it keeps digging it, like holding

the mouse button down on it.

  • Forward mode — hold a movement key into the wall and it digs that direction, one layer

at a time, as the wall retreats in front of you. Tunnel width is 1 or 3 tiles; a 3-wide tunnel clears the sides first, so the corridor stays walkable.

  • Auto-clear mode — no pointing or walking required. It digs the nearest rock or rubble

pile within your mining reach on its own, over and over, so you can just stand still (or run around doing other things) while it clears everything reachable around you. Reach is exactly your character's normal mining-reach stat, so it grows with the same research that extends manual mining range — nothing is extended beyond what you could already reach by hand.

  • Two safety gates, so it stops itself instead of digging you into trouble while your

attention is on something else:

  • Collapse-stress gate — stops as soon as nearby rock stress approaches The Cave's

collapse threshold, and tells you the measured value against the configured limit. Only active when The Cave's own the-cave-collapse-mode startup setting is enabled; that is not the default, so on a stock install the enemy gate below is the only one running.

  • Enemy gate — stops the moment the number of enemies near you increases, so it never

digs straight into a nest.

  • A GUI panel (and a toggle hotkey) controls all of the above per player. Mode, tunnel width,

and both gates are switched from the panel; only turning auto-dig on/off has a hotkey. Both gates and the tunnel width can be tuned per player; the collapse-stress limit is a server-wide setting.

Requirements

Requires The Cave (2.7.0 or later) and Factorio 2.0.

Notes for server admins

The collapse-stress gate depends on two of The Cave's own internals that this mod does not control: a startup setting (the-cave-collapse-mode) and an internal debug/benchmark remote interface. Neither is a guaranteed public API. If a future version of The Cave renames or removes either one, this mod detects it, prints a one-time warning, and keeps digging with just the enemy gate — it never crashes or silently mines through a gate that stopped working.

Highlights

From source data

Footprint

Rated a light load on a server.

License

Published under LGPL-3.0.

Last update

Its author last shipped an update 3 mo ago.

The Cave Auto-Dig 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
0.2.1, released 2026-08-11

Recent builds

BuildReleasedGame versionsLoaders
0.2.12026-08-112.0n/a
0.2.02026-08-012.0n/a
0.1.12026-08-012.0n/a
0.1.02026-08-012.0n/a

Dependencies

Declared by the newest build that lists any. Required ones are installed with it on one-click installs.

Run The Cave Auto-Dig 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”

World generation

Changes or adds to how new terrain, biomes and structures are created.

Runs on your server

From source side support

Factorio Mod Portal lists The Cave Auto-Dig 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

Verified at the source

  • ✓Factorio Mod PortalOfficial listing, checked 2026-10-16Open ↗
  • ✓Authorhanshino, as published on Factorio Mod Portal
  • ✓LicenseLGPL-3.0Free

The Cave Auto-Dig, answered

Generated from the mod’s own source data.

Do my players need to install The Cave Auto-Dig?

Factorio Mod Portal lists The Cave Auto-Dig as required on the server. Check its Factorio Mod Portal page to see whether players need it too.

Is it free?

Yes. The Cave Auto-Dig is free to download from Factorio Mod Portal. Its license is LGPL-3.0.

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 The Cave Auto-Dig on a Factorio server.

Deploy in about a minute from $2.99 a month, then add The Cave Auto-Dig in one click.