Railroads

v0.1.9·Updated 2026-10-12

Stone railroads for Valheim. A coal locomotive, wagons, stations and switches. Trains keep running when nobody is near.

Screenshots 5 screenshots

About this mod Author’s original text

Railroads

Vikings had ships. Now they have trains.

You lay stone track with the hammer, put a station on it, give the station a name and send a locomotive there. Or sit on the bench and drive it yourself, like in Factorio.

You can play it alone, host a game for friends or run it on a dedicated server. Trains keep going when nobody is near, and the server plans the routes, so 2 trains never get the same track.

What you get:

  • 24 track pieces: straights from 1 to 32 m, curves, slopes, switches, a crossing, a turning loop, a T and an X junction
  • stations with a name board
  • a locomotive that burns coal, with a speed lever and a switch lever
  • wagons with 18 slots of storage, a bench for 2 and a sign you write yourself
  • a wagon restaurant with a table that shows the food you put on it
  • a portal wagon, a portal that travels with the train
  • track, stations and trains on the map

Everything is in the Transport tab of the hammer. A train at full speed hits whatever stands on the track, so don't stand on the track.

Install it with a mod manager, or copy the folder Railroads into BepInEx/plugins. The server and every player need the same version. With another version you get a message and no rail pieces.

Settings are in BepInEx/config/vladasz.railroads.cfg. The Server section counts only on the server:

  • TopSpeed, 4 to 15 m/s, default 10
  • CoalPer100Meters, 0 to 5, default 1. With 0 trains need no coal
  • MaxCoal, 20 to 500, default 100
  • MaxWagons, 0 to 8, default 4
  • Hits: Everything, MobsOnly or Nothing
  • SureKill: a train at 9.5 m/s kills any mob it hits, a boss too
  • PortalWagon: on or off
  • MapTrack, MapStations, MapTrains: what players may see on the map

If something does not work, tell me on Discord:

Install & use Install: BepInEx plugin

  1. The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
  2. Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
  3. Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
  4. Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.

Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file. In multiplayer, the host and every client need the same mods installed.

Dependencies

Install these first, or the mod will not work:

denikson-BepInExPack_Valheim

File & checksum

Filename
Railroads-0.1.9.zip
File size
1.4 MiB