How to set the map seed on a Factorio server
Create the map with --create saves/world.zip --map-gen-seed 123. Type /seed on a running server to see the current map's seed.
--map-gen-seed
Sets the map seed for --create or --start-server-load-scenario. It overrides the seed in the map generator settings.
--map-gen-seed <seed> Examples
--create saves/world.zip --map-gen-seed 123 A new map from seed 123.
Arguments
seedRequired- A number.
What it does
Use the same seed and settings to get the same starting map again.
Good to know
- Factorio has no Launch args field on SLASHPLAY. The start line is in
.slashplay/boot.sh, which you can edit from Advanced, Terminal; the change applies at the next Restart.
Run it on your server
Type commands with the leading slash in the Console tab, which runs them as the server; in game, admins type them in chat. Settings go in config/server-settings.json in the Files tab and apply at the next restart. New to this? Start a Factorio server first.
Your own
Factorio server.
From $0.03 an hour, only while it runs. New accounts get 6 free tokens.