SCP: Secret Laboratory has no built-in server password. There is no entry for it in any configuration file, and you cannot set a password in the dashboard either. If you want to control who can join your server, use the whitelist instead. This guide shows you which options you have and what they do.
Whitelist instead of a password
The whitelist is the real replacement for a server password: only players whose ID you add can join. Everyone else is rejected.
-
Find out the game port
Open the dashboard of your server and note the game port shown under Overview. -
Stop the server
Stop your server via the dashboard. -
Connect via SFTP
Connect to your server via SFTP. -
Enable the whitelist
In the file/.config/SCP Secret Laboratory/config/<Port>/config_gameplay.txt, set theenable_whitelistentry totrue:enable_whitelist: true -
Add players
In the file/.config/SCP Secret Laboratory/config/<Port>/UserIDWhitelist.txt, add each allowed ID on its own line, e.g.:76561198000000001@steam -
Start the server
Save both files and start your server via the dashboard.
You can find all details, e.g. on Discord IDs and comments in the list, in the Set up a whitelist guide.
Additionally filter by country
As an additional filter, you can allow or block connections by country of origin – you can find out how in the Set up geoblocking guide.
Hide the server from the server list
An unverified server never appears in the public server list. Your server is only shown there after it has been verified.
If your server is verified and you still want to hide it from the list, enter the following command in the console of the dashboard:
!private
To show the server in the list again, enter the following command:
!public
Password plugins
A join password can only be added via a plugin. We recommend the whitelist instead, as it works without additional plugins.
