How to use server-whitelist.json in Factorio
List usernames in server-whitelist.json and start the server with --use-server-whitelist. On SLASHPLAY that flag goes in .slashplay/boot.sh.
server-whitelist.json
The whitelist: a JSON list of usernames allowed to join, used when the server runs with --use-server-whitelist.
[ "<player>", "<player>" ] Examples
[ "AzureDiamond", "Cthon98" ] Only these two can join.
Arguments
playerRequired- A Factorio username.
What it does
The server ships with data/server-whitelist.example.json to copy.
Good to know
- SLASHPLAY starts the server without
--use-server-whitelist, so this file isn't used unless you add it to the start line in.slashplay/boot.sh.
Run it on your server
Type commands with the leading slash in the Console tab, which runs them as the server; in game, admins type them in chat. Settings go in config/server-settings.json in the Files tab and apply at the next restart. New to this? Start a Factorio server first.
Your own
Factorio server.
From $0.03 an hour, only while it runs. New accounts get 6 free tokens.