How to use this generator
Pick a starting point: Private with friends, Public community or Low bandwidth. Then change anything you like. Purple markers show every setting that is different from Wube's defaults.
The checks under the file catch mistakes before the server does, like a public game without a login or a tick rate outside 6 to 240. When the file says Ready, copy or download it.
Token or password?
A public game has to log in to factorio.com to appear in the server browser. You can give it your username plus either your password or a token. Use the token: you can reset it on your profile page any time without changing your password.
This tool never sends your login anywhere and never puts it in share links. But the file you download holds it, so do not post the file or a screenshot of it. Private and LAN games do not need a login at all.
Starting the server
Save this file as server-settings.json in the data folder. Create a map once with --create, then start the server with --start-server and your save, adding --server-settings and the path to the file. --start-server-load-latest loads your newest save instead.
To make yourself an admin, type /promote followed by your name in the server console. Factorio remembers it in server-adminlist.json. Players connect on UDP port 34197 unless you pick another with --port.
The network settings, explained
Upload limit and upload slots control how fast new players download the map. On home internet, a limit stops a joining player from taking all your upload. 0 means no limit for both.
The network tick rate is how many update packets the server sends each second, from 6 to 240 (60 by default). Minimum latency adds a fixed delay in ticks, where one tick is about 16.7 milliseconds. Leave the segment sizes alone unless you know why you need to change them.
Checked against Factorio 2.1
Every key and default matches data/server-settings.example.json in Factorio 2.1.24, which is the same file Factorio 2.0 shipped. This is a free fan-made tool and is not made or endorsed by Wube Software.