Generate a Factorio server-settings.json
Factorio's server-settings.json is strict JSON, and there is one particular rule in strict JSON that trips nearly everybody: no trailing commas.
Start from a preset
Visual Settings
server-settings.json
Advertisement
The server-settings.json format
Plain JSON, no extensions. No comments of any sort, no comma after the final item in an object, double quotes around strings, and no quotes around numbers or booleans. A quoted number is a genuine error here, not a harmless quirk — max_players given as "10" is text, and it will be refused where a number belongs.
Advertisement
The mistake that wastes an evening
Setting max_players to 0 does not close the server; it removes the limit. People enter 0 hoping to stop anyone joining and end up with a public server that has no cap at all. To close the server, use the visibility settings or a password, not the player limit.