How to set an Abiotic Factor server password

Abiotic Factor “DIRECT CONNECT” dialog with password field

By default, your Abiotic Factor server is open to the public. You can change this by setting a password. This guide will show you how to do that in a few simple steps.

Setting a password

  1. Start your server
  2. Pause your server
  3. Open your server’s files
  4. Edit the gameserver/server_arguments.txt file
  5. Find the line saying #-ServerPassword="PleaseChangeMe"
  6. Remove the # at the beginning of the line
  7. Replace PleaseChangeMe with your desired password
  8. Save the file
  9. Restart your server

Example config file

Here is an example of what your server_arguments.txt file could look like if you set your password to YourSuperSecurePassword:

# The server name shown in the server browser
-SteamServerName="Free Squadnox Abiotic Factor Server"

# The server password, the server is public without one
# Remove the # in front of the line below to set a password, it is disabled by default
-ServerPassword="YourSuperSecurePassword"

# The maximum number of players (1 to 24, more than 6 is not recommended)
-MaxServerPlayers=6

# The world save folder in AbioticFactor/Saved/SaveGames/Server/Worlds/ (advanced)
-WorldSaveName="Cascade"

# The game and query ports (advanced)
-PORT=7777
-QueryPort=27015

Removing the password

To make your server public again, put the # back in front of the -ServerPassword line. Do not just leave the password empty, because Abiotic Factor refuses to join servers with an empty password.