Quick answer
- Most settings live in
data/server-settings.json. auto_pauseis on by default: the game pauses when no players are connected.- Admins go in
server-adminlist.jsonor are added in game with/promote.
The important settings#
| Setting | What it does |
|---|---|
name, description | How the server appears in the multiplayer list. |
visibility.public | Lists the server in the public browser. Needs username and token from factorio.com. |
game_password | Password players must enter to join. |
require_user_verification | Only players logged in to factorio.com can join (recommended). |
max_players | Player limit (0 = no limit). Free FreeGameHost servers allow up to 20. |
autosave_interval, autosave_slots | Minutes between autosaves and how many rotating autosaves to keep. |
afk_autokick_interval | Minutes before idle players are kicked (0 = never). |
auto_pause | Pauses the game when nobody is connected. Default true. |
only_admins_can_pause_the_game | Stops regular players pausing for everyone. |
non_blocking_saving | Saves in the background on Linux so players don't freeze during autosaves. |
Should the factory run when nobody is online?#
With auto_pause set to true (the default), the server stays online but the game is paused until someone joins, so nothing is produced overnight. Set it to false if you want the factory to keep running. Keep in mind biters keep attacking too.
{
"name": "Our Megabase",
"visibility": { "public": false, "lan": false },
"game_password": "changeme",
"require_user_verification": true,
"max_players": 20,
"autosave_interval": 10,
"autosave_slots": 5,
"auto_pause": false,
"only_admins_can_pause_the_game": true,
"non_blocking_saving": true
}On FreeGameHost#
The Startup page sets the most common values for you each time the server starts: Server Name, Description, Server Username and Server Token, Auto Save Interval, Auto Save Slots and AFK Kick. Change everything else, such as auto_pause and game_password, directly in data/server-settings.json in the file manager, then restart. Factorio servers don't sleep. Free servers run on a timer: each click on Renew adds 12 hours, up to 48 hours stored, as often as you like.
Admins#
/promote PlayerName
/demote PlayerName
/adminsMods for your server: how to install mods on a Factorio server.
Frequently asked questions#
Why does my Factorio server pause when nobody is online?
auto_pause is true by default. Set it to false in data/server-settings.json and restart if you want the factory to keep running.
How do I make my Factorio server public?
Set visibility.public to true and add your factorio.com username and token. On FreeGameHost, fill Server Username and Server Token on the Startup page.
How do I add an admin?
Use /promote PlayerName in game or the server console, or list names in server-adminlist.json.
