Menu
 

Change Server Settings - Factorio Wiki

Factorio: Server Configuration Guide

Factorio dedicated servers are controlled by three main JSON files. Each controls a different aspect of the game, and confusing them can lead to settings not applying.

1. server-settings.json

Effect: Dynamic. Can be changed at any time.

Controls: Name, Password, Max Players, Autosave intervals, Admin list.

2. map-settings.json

Effect: Requires World Reset (or console commands).

Controls: Pollution, Enemy Expansion (Biter Evolution), Pathfinding costs.

3. map-gen-settings.json

Effect: Requires World Reset (New Save).

Controls: Ore frequency, Cliff generation, Water coverage, Map Size.

How to Edit Settings

Editing Server Settings (Safe)

You can edit server-settings.json in the /config/ folder freely. A simple restart will apply changes like:

  • "name": "My Super Factory"
  • "max_players": 16
  • "afk_autokick_interval": 0 (Set to 0 to disable kicking)

Editing Map Gen Settings (Dangerous)

If you want to change **Ore Frequency** or **remove Cliffs** after the game has started, editing the JSON file will NOT work for existing chunks. It only applies to a NEW map.

Workaround: To change these on a running server, you must use Lua commands in the in-game console (/c), which disables achievements.

/c game.map_settings.enemy_evolution.time_factor = 0

Common Config Tweaks

  • Disable Autosave on Join: In `server-settings.json`, set "autosave_only_on_server_stop": true if large map downloads are annoying players.
  • Public Visibility: Set "visibility": {"public": true, "lan": true} to appear in the server browser. Requires an Auth Token.

The factory must grow. Host your Factorio server with Supercraft and use our visual config editor to tweak these JSON files without syntax errors.

Top