How to use custom map settings on a Factorio server
Create the map with --create saves/world.zip --map-gen-settings map-gen-settings.json, starting from data/map-gen-settings.example.json. It applies only to a new map.
--map-gen-settings
A JSON file of map generator settings (ores, water, cliffs, enemy bases, map size), used with --create or --start-server-load-scenario.
--map-gen-settings <file> Examples
--create saves/world.zip --map-gen-settings map-gen-settings.json A new map with your generator settings.
Arguments
fileRequired- Path to the JSON file.
What it does
Copy data/map-gen-settings.example.json, which ships with the server, and edit it. It only shapes a new map, not one that exists.
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.