How to set a password on a Factorio server
On SLASHPLAY, turn on Password protection in the Join password section of the server's General tab, then restart. It's written to "game_password" on every start.
game_password
The password players must enter to join. Empty, the default, lets in anyone with the address.
"game_password": "<text>" Examples
"game_password": "" Open server.
Arguments
textRequired- The join password, or empty for none.
What it does
Factorio asks for it when a player connects.
Good to know
- SLASHPLAY manages this one: set it with the Password protection switch in the Join password section of the General tab, then restart. SLASHPLAY writes it into the file on every start.
/config set password <text>changes it until the next restart, but the dashboard's invite page then shows the wrong password.
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.