Skip to content

Factorio server guide

Your Factorio server is the official Linux headless build, installed at the version you pick on Startup. It creates saves/<Save Name>.zip on first start if the file is not there, and from then on always loads that save. The panel rewrites data/server-settings.json from the Startup fields at every boot, so treat that file as read-only and change the panel instead.

Factorio admins are Factorio.com account names, kept in a plain JSON list. The server has no admin until you add one.

From the console (quickest):

  1. In the panel’s Console, type /promote YourFactorioName and press Enter. You do not need to be online: the server answers that you will be promoted when you join.
  2. Run /admins once you have joined to confirm the list.

The server writes server-adminlist.json the first time you promote someone, in the same folder as factorio-current.log — the server root.

By editing the file:

  1. Stop the server.

  2. In Files, open or create server-adminlist.json in the server root. Its contents are a JSON array of names:

    ["YourFactorioName", "AFriendsName"]
  3. Start the server. Each name must match the player’s Factorio.com username.

Everything in this table is a Startup field. Save, then restart.

Field What it does
Server Name Name shown in the server list and the in-game browser
Server Description One line under the name
Server Password Join password; leave empty for an open server
Auto Save Interval Minutes between autosaves (10 by default)
Auto Save Slots How many autosaves are kept (5 by default)
AFK Kick Minutes before an idle player is kicked; 0 turns it off
Save Name Which save in saves/ the server loads and creates
Server Username / Server Token Your factorio.com account and token, needed only for the public server list
Factorio Version Which headless build is installed — latest, experimental, or a version number

Maximum Slots is locked at 20. Ask support if you need a different number; do not try to change it yourself.

For the public list, see Game keys and tokens. Without a token the server still runs and players join by address.

A few map-generation options are not on Startup: data/map-gen-settings.json (resource richness, water, cliffs) and data/map-settings.json (evolution, pollution, biter expansion) are read when a world is created. Editing them later does nothing to an existing save.

Path Contents
saves/<Save Name>.zip The world the server loads
data/server-settings.json Settings file, rewritten from Startup at every start
data/map-gen-settings.json Map generation, used only when creating a world
data/map-settings.json Map behaviour, used only when creating a world
mods/ Installed mods, one folder or .zip each
mods/mod-list.json Which mods are enabled, and their versions
server-adminlist.json Admin names
factorio-current.log The current log; read it first when a start fails
  1. Take a backup.
  2. Stop the server.
  3. Upload your save’s .zip into saves/ in Files or over SFTP. Do not unzip it, and do not rename it to something with spaces.
  4. Set Save Name on Startup to the file name without .zip. It accepts letters, numbers, dashes and underscores.
  5. Start the server and watch the console for the “Hosting game at” line.

The save must have been made on the same Factorio version or older; a save from a newer build will refuse to load.

This setup has no mod browser, so mods are uploaded as files:

  1. Take a backup and stop the server.
  2. Upload each mod — the .zip from the mod portal, or the unpacked folder — into mods/.
  3. Edit mods/mod-list.json to enable them, or upload the mod-list.json from the PC that already runs the mod set.
  4. Start the server. The console lists every mod it loads, and stops with an error if one is missing a dependency.

Factorio checks the mod set when a player joins, so every player needs the same mods at the same versions. A mismatch is the usual reason a join fails during the handshake after a game update.

Type these into the command box on the Console tab.

  • /save <name> — save the game under that name.
  • /promote <username> — make a player an admin.
  • /admins — list the current admins.
  • /quit — stop the server cleanly.

Prefer the panel’s stop button over /quit; the panel shuts the server down the same way and keeps its state consistent.

  • The server is not in the public list. No Server Token, or a token that does not match Server Username. The console logs an authentication error and the server keeps running unlisted.
  • “Could not establish connection” or a handshake failure. Mod set or version mismatch. Compare the mod list and the build number in the console with the client’s.
  • The server starts a fresh world. Save Name does not match a file in saves/, so the start command created a new one. Set it to the exact file name without .zip.
  • A world edit does nothing. map-gen-settings.json and map-settings.json only apply when a world is created.
  • Changing Factorio Version appears to do nothing. The version is downloaded at install time. Set it on Startup and reinstall from Settings — take a backup first, because a reinstall replaces server files.
  • Players time out on a big factory. A late-game base with a large map needs more RAM. Compare your plan against the calculator on the Factorio game page.