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

trainsaver

by asher_sky · for Factorio

A dynamic screensaver that follows trains as they drive around

7.7KDownloads
10 mo agoLast updated
CC BY-NC-SALicense
2.0Latest game version

About trainsaver

From Factorio Mod Portal

A dynamic screensaver that follows trains as they drive around

Ko-fi Donate GitHub Contribute Crowdin Translate Mod Portal Download

Sit back, relax, and watch your trains drive around!

This mod creates a dynamic screensaver which follows trains as they drive around from station to station. The screensaver can be started or stopped at any time with cmd/ctrl + t or the /trainsaver chat command. The screensaver can also start automatically when a player is AFK. Most game-control keys will exit the screensaver and return control to the player, except the right/left arrow keys which navigate a history of previously viewed targets.

Please report any issues or suggestions on the Discussion page.


Features

  • Easy Access: start or stop trainsaver at any time with a configurable hotkey (default: cmd/ctrl + t) or use the /trainsaver command in chat console
  • AFK AutoStart: trainsaver can start automatically when player is afk
  • Quick Escape: easily exit trainsaver by pressing any game-control key (movement, inventory, logistic network, train overview, etc.)
  • Fully Configurable: each player has their own individual settings to control how trainsaver behaves (zoom, transitions, AFK AutoStart time, etc.)
  • Time Travel: take control of the focus target and navigate through your history of previously viewed targets (default: right/left arrow keys)
  • Custom Achievements: 8 unique trainsaver achievements to unlock, plus 3 secret hidden ones!
  • Scope Creep: enable the scope creep mod setting to expand trainsaver's focus beyond just trains /|\(◦.◦)/|\

trainsaver demo video

(4 minutes, v0.0.3, December 2020)


trainsaver extended preview video

(30 minutes, v0.0.3, December 2020)


Commands

trainsaver provides the following chat commands:

  • /trainsaver --> toggles trainsaver on or off
  • /ts-start --> starts trainsaver
  • /ts-end --> ends trainsaver
  • /ts-verbose --> toggles verbose mode debug messages on or off
  • /ts-reset_history --> clears the target history for the player
  • /ts-next_target --> tells trainsaver to go forward in history. finds a new target if current target is the newest in history
  • /ts-previous_target --> tells trainsaver to go backward in history. won't do anything if the current target is the oldest in history
  • /ts-ignore_stations <train-stop> --> adds the specified train stations to the ignored stations list
  • /ts-unignore_stations <train-stop> --> removes the specified train stations from the ignored stations list
  • /ts-list_ignored_stations --> lists all currently ignored train stations

Interface

trainsaver provides an interface for other mods to interact with. The interface is named trainsaver and includes the following functions:

  • trainsaver_status(player_index) --> returns the status of trainsaver for a given player, either "active" or "inactive"
  • trainsaver_target(player_index) --> returns the current target (LuaEntity | LuaUnitGroup) trainsaver is following for a given player, or nil if there is none
  • start_trainsaver(player_index) --> starts trainsaver for a given player
  • end_trainsaver(player_index) --> ends trainsaver for a given player
  • toggle_trainsaver(player_index) --> toggles trainsaver for a given player
  • focus_next_target(player_index) --> tells trainsaver to go forward in history. finds a new target if current target is the newest in history
  • focus_previous_target(player_index) --> tells trainsaver to go backward in history. won't do anything if the current target is the oldest in history
  • reset_player_history(player_index) --> clears the target history for a given player

Example interface usage:

Read the full description on Factorio Mod Portal →

Highlights

From source data

Game versions

Built for Factorio 2.0.

Footprint

Rated a light load on a server.

License

Published under CC BY-NC-SA.

trainsaver 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.1.1, released 2026-02-03

Run trainsaver 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 trainsaver 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.0

Verified at the source

  • ✓Factorio Mod PortalOfficial listing, checked 2026-10-08Open ↗
  • ✓Authorasher_sky, as published on Factorio Mod Portal
  • ✓LicenseCC BY-NC-SAFree

trainsaver, answered

Generated from the mod’s own source data.

Do my players need to install trainsaver?

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

Is it free?

Yes. trainsaver is free to download from Factorio Mod Portal. Its license is CC BY-NC-SA.

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 trainsaver on a Factorio server.

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