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.
Make yourself an admin
Section titled “Make yourself an admin”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):
- In the panel’s Console, type
/promote YourFactorioNameand press Enter. You do not need to be online: the server answers that you will be promoted when you join. - Run
/adminsonce 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:
-
Stop the server.
-
In Files, open or create
server-adminlist.jsonin the server root. Its contents are a JSON array of names:["YourFactorioName", "AFriendsName"] -
Start the server. Each name must match the player’s Factorio.com username.
Change server settings
Section titled “Change server settings”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.
Where your files are
Section titled “Where your files are”| 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 |
Upload an existing save
Section titled “Upload an existing save”- Take a backup.
- Stop the server.
- Upload your save’s
.zipintosaves/in Files or over SFTP. Do not unzip it, and do not rename it to something with spaces. - Set Save Name on Startup to the file name without
.zip. It accepts letters, numbers, dashes and underscores. - 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.
Install mods
Section titled “Install mods”This setup has no mod browser, so mods are uploaded as files:
- Take a backup and stop the server.
- Upload each mod — the
.zipfrom the mod portal, or the unpacked folder — intomods/. - Edit
mods/mod-list.jsonto enable them, or upload themod-list.jsonfrom the PC that already runs the mod set. - 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.
Useful console commands
Section titled “Useful console commands”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.
Common problems
Section titled “Common problems”- 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.jsonandmap-settings.jsononly 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.
