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

Automatic train repair

by ickputzdirwech · for Factorio

If any locomotive or wagon is destroyed the train is stopped and a ghost is created. Including inventory filters, inventory limit and requests for fuel and equipment. As soon as the train is fully repaired it is set to automatic mode again.

14KDownloads
5 yr agoLast updated
MITLicense
1.1Latest game version

About Automatic train repair

From Factorio Mod Portal

If any locomotive or wagon is destroyed the train is stopped and a ghost is created. Including inventory filters, inventory limit and requests for fuel and equipment. As soon as the train is fully repaired it is set to automatic mode again.

Overview

If any locomotive or wagon is destroyed the train it belongs to is brought to an immediate halt and a ghost is created. This ghost contains by default requests for all fuel and equipment that was inside the destroyed rolling stock. Inventory filters and limits are saved and restored as well. As soon as the train is complete again it will be set to automatic mode, if it was in that mode originally.

Settings

The following map settings are available:

  • Automatically enable automatic mode (trains will be set to automatic mode again as soon as all entity ghosts were built). Default = false
  • Create item requests for destroyed equipment. Default = true
  • Create item requests for fuel. Default = true
  • Name of the fuel that should be requested (if left empty the destroyed fuel will be requested). Default = empty
  • How much of the fuel should be requested. Default = 1

The following player setting is available:

  • Create alerts. Default = true

Known issues

  • If multiple rolling stock were destroyed, they need to be rebuild in reverse order for the automatic mode to work
  • The check whether a train is complete again is relatively simple. It doesn't wait for all item requests to be fulfilled and can't tell the difference between different entities of the same type.
  • Equipment is inserted into cargo inventory first and only moved into the grid if the item request is fulfilled completely or otherwise destroyed.
  • The item request icons in ghosts for wagons are, unlike for locomotives, not grouped.

Highlights

From source data

Game versions

Built for Factorio 1.1.

Footprint

Rated a light load on a server.

License

Published under MIT.

Automatic train repair 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
1.1.4, released 2021-12-07

Run Automatic train repair 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”

Vehicles & ships

Cars, boats, aircraft, ships and other things to drive or fly.

Runs on your server

From source side support

Factorio Mod Portal lists Automatic train repair 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
1.1

Verified at the source

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

Automatic train repair, answered

Generated from the mod’s own source data.

Do my players need to install Automatic train repair?

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

Is it free?

Yes. Automatic train repair 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 Automatic train repair on a Factorio server.

Deploy in about a minute from $2.99 a month, then add Automatic train repair in one click.