Skip to content
/SLASHPLAY

How to whitelist players on a Factorio server

Type /whitelist add <player> and /whitelist enable in the Console tab of your SLASHPLAY server. The list resets at restart unless the server runs with --use-server-whitelist.

whitelist

Manages the whitelist: while it's on, only players on it can join. Add and remove names, list them, or turn it on and off.

/whitelist <enable|disable|add|remove|get|clear> [<player>]

Examples

/whitelist add AzureDiamond

Puts AzureDiamond on the list.

/whitelist enable

Turns the whitelist on.

/whitelist get

Lists the names.

Arguments

actionRequired
enable, disable, add, remove, get or clear.
playerOptional
The username, for add and remove.

What it does

Use it to keep a server to a known group. get lists the names, and clear empties the list and turns the whitelist off.

Good to know

  • Anyone can use get; the other actions need admin rights.
  • On SLASHPLAY, type it in the Console tab of the server page, with the leading slash. The Console runs it as the server, so it needs no admin rights.
  • SLASHPLAY starts the server without --use-server-whitelist, so a whitelist made with this command lasts until the server restarts. For a lasting lock, use the join password on the General tab.

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.