About Some Train Stations Are Optional
From Factorio Mod Portalif a station cannot be reached, it will be skipped if it starts/ends with '?'
This mod was inspired by KatherineOfSky who wanted special behavior for her "builder" trains, see Factorio Entry Level to Megabase 7, Ep 20.
Train stations with the question mark character as the first and/or last character of their name are "optional". If such a station cannot be reached from the current station (either no path, or all of the same name are all full / disabled), then the train will simply ignore it and go to the next named station on the schedule.
This mod is different from other existing mod(s) that try to accomplish something similar, in that it does not alter the schedule in any way. It merely watches the schedule (read-only) and changes how the game moves through it.
Stations may be enabled/disabled the conventional ways, with circuits or via train limits.
There are a lot of present limitations to this mod:
- It requires the train schedule to have at least two stops. One can't skip a stop if there is only a single stop on the schedule.
- It requires at least one train stop in the schedule to always be reachable. It works better (less game impact) if more than one train stop is reachable. An annoying thing happens when only one stop is reachable, every such train oscillates between waiting and arriving at the same station every alternate tick*.
- It requires each stop to have a wait condition. The wait condition can be as simple as wait for 0 seconds of inactivity, or any other desired wait condition. In other words, there needs to be a reason for the train to actually stop at the station. Without a wait condition, a train will sail right through at high speed.
- It requires a train to start from a station in the schedule. There could be cases where it will not go to the right station if a train starts away from a station and switches from manual mode to automatic.
- Bidirectional trains haven't been tested.
Tested with SpaceAge, but should work just as well/poorly with vanilla Factorio 2.0.
Contributors: Shemp provided the code changes to support Multiplayer without desyncing. THANK YOU!
- Note Shemp also provided a patch to change this behavior, but it modifies the schedule by introducing a temporary stop. I do not plan to include this patch until I update the mod to make it something that can be enabled/disabled via a user-controlled mod option.
FAQ
- Does this work with multiplayer?
It does now, thanks to Shemp.
Highlights
From source dataFootprint
Rated a light load on a server.
License
Published under LGPL-3.0.
Last update
Its author last shipped an update 4 mo ago.
Some Train Stations Are Optional 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.0.3, released 2026-06-26
Recent builds
| Build | Released | Game versions | Loaders |
|---|---|---|---|
| 1.0.3 | 2026-06-26 | 2.1 | n/a |
| 1.0.2 | 2026-01-09 | 2.0 | n/a |
| 1.0.1 | 2026-01-03 | 2.0 | n/a |
| 1.0.0 | 2026-01-01 | 2.0 | n/a |
Run Some Train Stations Are Optional 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 catalogVehicles & ships
Cars, boats, aircraft, ships and other things to drive or fly.
Runs on your server
From source side supportFactorio Mod Portal lists Some Train Stations Are Optional 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-08Open ↗
- ✓Authorgust334, as published on Factorio Mod Portal
- ✓LicenseLGPL-3.0Free
