Factorio: Server Configuration Guide
Factorio dedicated servers are controlled by three primary JSON files. Understanding which file to edit is the first step in mastering your server environment.
1. server-settings.json
Effect: Immediate (on restart). Controls the server identity, passwords, connectivity, and admin permissions.
2. map-settings.json
Effect: Permanent. Controls simulation rules like biter evolution, pollution spread, and pathfinding costs.
3. map-gen-settings.json
Effect: World-Start only. Controls ore density, water levels, cliff frequency, and terrain types.
Common Server Properties
These settings are found in server-settings.json and can be edited without resetting your world.
| Setting | Type | Description |
|---|---|---|
name |
String | The name shown in the server browser. |
game_password |
String | Password required to join the game. |
max_players |
Integer | Limit the number of concurrent connections (0 = unlimited). |
autosave_interval |
Integer | Minutes between automatic saves. |
auto_pause |
Boolean | If true, the game pauses when no players are online. |
allow_commands |
Select | Who can use /c (Options: "true", "false", "admins-only"). |
Updating Map Rules Mid-Game
If you need to change settings that usually require a world reset (like disabling pollution or slowing down biter evolution), you must use Console Commands. Be aware that these typically disable Steam achievements.
/c game.map_settings.enemy_evolution.time_factor = 0
/c game.map_settings.pollution.enabled = false
Auto-Pause & UPS Efficiency
For large factories, we highly recommend keeping auto_pause enabled. This prevents the simulation from running while the server is empty, ensuring that biters don't evolve and your resources aren't consumed while nobody is there to defend the base.
Pro Tip: Always make a backup of your /config/ directory before editing JSON files. A single missing comma or bracket can prevent the server from starting.
Fine-tune your factory. View plans.