Free hosting
Minecraft JavaMinecraft BedrockPaperMCFabricForgeGeyserMCTerrariaFactorioHytaleDiscord botsRLCraftCobblemonBetter MCCreate
Go premium

No hibernation, no timers, 5 GHz CPUs and up to 32 GB RAM.

From €1.99/month →
Tools & help
RAM calculatorMOTD generatorServer status checkerserver.properties generatorColor codesGuidesDiscord community
Language
EnglishNederlandsEspañolFrançaisDeutschItalianoPortuguêsLatviešuPolskiSuomiNorskRomânăPortuguês (BR)Türkçeहिन्दी
Start free
Factorio · Settings

Factorio Server Settings Explained (server-settings.json)

Factorio servers are configured in data/server-settings.json. Here are the settings that matter, including the one that decides whether your factory keeps running when nobody is online.

FreeGameHost logo FreeGameHost Guides Updated 6 min read

Quick answer

  1. Most settings live in data/server-settings.json.
  2. auto_pause is on by default: the game pauses when no players are connected.
  3. Admins go in server-adminlist.json or are added in game with /promote.

The important settings#

SettingWhat it does
name, descriptionHow the server appears in the multiplayer list.
visibility.publicLists the server in the public browser. Needs username and token from factorio.com.
game_passwordPassword players must enter to join.
require_user_verificationOnly players logged in to factorio.com can join (recommended).
max_playersPlayer limit (0 = no limit). Free FreeGameHost servers allow up to 20.
autosave_interval, autosave_slotsMinutes between autosaves and how many rotating autosaves to keep.
afk_autokick_intervalMinutes before idle players are kicked (0 = never).
auto_pausePauses the game when nobody is connected. Default true.
only_admins_can_pause_the_gameStops regular players pausing for everyone.
non_blocking_savingSaves 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.

data/server-settings.json (excerpt)
{
  "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
}
Free Factorio serverUp to 20 players, mods and Space Age. No credit card.
Create a Factorio server

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#

In-game console
/promote PlayerName
/demote PlayerName
/admins

Mods 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.