Skip to content
/SLASHPLAY

How to use a whitelist file on a Factorio server

Start the server with --use-server-whitelist --server-whitelist config/server-whitelist.json, a JSON list of usernames. The start line is in .slashplay/boot.sh.

--server-whitelist

The path of the whitelist file, server-whitelist.json by default. Used with --use-server-whitelist.

--server-whitelist <file>

Examples

--use-server-whitelist --server-whitelist config/server-whitelist.json

Uses a whitelist kept in the config folder.

Arguments

fileRequired
Path to the JSON file.

What it does

The file is a JSON list of usernames.

Good to know

  • By default Factorio keeps this file in its root folder, which SLASHPLAY doesn't keep between runs. Pointing it into config would keep it, since config is kept.
  • Factorio has no Launch args field on SLASHPLAY. The start line is in .slashplay/boot.sh, which you can edit from Advanced, Terminal; the change applies at the next Restart.

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.