How to Edit the Configuration Files on Your SCP: Secret Laboratory Server ​
On SCP: Secret Laboratory, the entire server configuration is handled through text files. This guide shows you where the files are located, which file is responsible for what, and how to make changes safely.
Where are the configuration files? ​
All game configuration files are located in the following directory — replace <Port> with the game port of your server:
/.config/SCP Secret Laboratory/config/<Port>/You can find the game port in the dashboard under Overview.
Warning
The game port is assigned automatically. Because of this, multiple port folders can exist under /.config/SCP Secret Laboratory/config/, for example from a previous port assignment. The server only reads the folder whose name matches the current game port — changes made in an old port folder have no effect. Always check the current game port in the Overview of the dashboard before making changes.
Which file does what? ​
| File | Purpose |
|---|---|
config_gameplay.txt | Gameplay settings of the server, e.g. game rules and round behavior |
config_remoteadmin.txt | Ranks and permissions — see Assign ranks |
UserIDWhitelist.txt | Whitelisted players — see Set up whitelist |
Note
Plugin configurations are not stored in this directory. EXILED keeps its plugin configs under /.config/EXILED/Configs/ — see the guide Install EXILED plugins for more details.
File format ​
Settings are written in the format key: value, one setting per line. Lines starting with # are comments and are ignored by the server:
# This line is a comment
friendly_fire: falseOnly change the value after the colon and leave the key name untouched.
Edit a configuration file ​
Important
Always stop your server before editing a configuration file. This is the only way to make sure the server reliably applies your changes on the next start.
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.Open the configuration file
Navigate to the following directory — replace<Port>with your game port — and open the file you want to edit:/.config/SCP Secret Laboratory/config/<Port>/Make your changes
Adjust the values you want to change using thekey: valueformat and save the file.Start the server
Start your server via the dashboard. The changes only take effect with this start.
Note
There is no hot-reload — changes to the configuration files are only applied after a restart via the dashboard.