Skip to main content

How to enable whitelist and whitelist users

This guide will guide you through enabling whitelist for your server, and how to add players to the whitelist

1. Enabling Whitelist

First, you will need to enable the whitelist config in your config_gameplay.txt.
The config location varies based on your OS:

  • Windows: AppData\Roaming\SCP Secret Laboratory\config\port
    • You can press Windows button + R and enter AppData\Roaming\SCP Secret Laboratory\config, This will directly take you to the config folder.
  • Linux: .config/SCP Secret Laboratory/config/port under the user you are running LocalAdmin in

Note: port is the port you are running LocalAdmin on, the default and likely port you are using is 7777.

After locating the gameplay config, open it and find enable_whitelist. Replace false with true. This will enable whitelist mode for your server. Stay in the config folder if you want to know how to add users to the whitelist and follow step 2!

2. Adding Users To Whitelist

Similar to step 1, you will need to be in the same folder location as config_gameplay.txt. Locate the UserIDWhitelist.txt file and open it. To add a user to the whitelist, you will need their steam64 ID. You can use this website to find it. Simply copy the users steam URL you wish to whitelist and paste it into the website. When you have the users steam64 ID simply copy it into a new line in the UserIDWhitelist.txt file followed with @steam at the end of it.

Note: If the user is using discord auth you would do discordid@discord.

A example of the file is below:

#Put one UserID (eg. 76561198071934271@steam or 274613382353518592@discord) per line. Lines prefixed with "#" are ignored.

#user 1
76561198071426346@steam
#user 2
76561198071534271@steam
#user 3
76561198375334271@steam
#user 4
76561198071967971@steam

Fun Tip: Its not required, but you can use # above each entry to keep track of who's whitelisted.

 

Still have issues?
Please contact our Technical Support team here.