Skip to content
/SLASHPLAY

How to start a Factorio dedicated server

Run ./bin/x64/factorio --start-server saves/world.zip --server-settings data/server-settings.json. On SLASHPLAY, deploy Factorio and the server starts this way for you.

--start-server

Starts a headless server that hosts the given save file.

--start-server <file>

Examples

./bin/x64/factorio --start-server saves/world.zip

Hosts the map in saves/world.zip.

Arguments

fileRequired
Path to the save, such as saves/world.zip.

What it does

This is what makes the Factorio binary run as a dedicated server. The save must exist: make one first with --create.

Good to know

  • SLASHPLAY starts the server with --start-server saves/world.zip. 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.