With the right configuration, you can turn your SCP: Secret Laboratory game server into exactly the server you have in mind: your own name, the right number of players, and your rules for friendly fire, respawns, and bans. In this guide, we’ll show you which settings you can find in ZapX, which files you can use to adjust the rest, and which values ZapX manages for you.
SCP: Secret Laboratory has two configuration levels:
- Startup parameters in the Configuration tab: Here, you choose whether your server appears in the public server list.
- Configuration files: All game settings are in
config_gameplay.txt, while admins and roles are inconfig_remoteadmin.txt. You can edit both files in the Configuration tab or the Files tab.
After you save your changes in the Configuration tab, ZapX will prompt you to restart the server. Changes to the files also only take effect after a restart.
| Startup parameter | Meaning |
|---|---|
| Public server list | Public: Your server appears in the SCP: Secret Laboratory server list. Private: Players can only join directly using the IP address and port. Default: Public |
Before every startup, ZapX automatically registers your server with Northwood, the developer of SCP: Secret Laboratory, and applies the Public server list setting. Any changes take effect the next time the server starts. You don’t need to use the !verify command with us.
Northwood only displays a server publicly once an owner has been linked. If one hasn’t been linked yet, you’ll see the message Server not yet on the public server list in your server’s Overview. Follow these steps to link yourself as the owner:
- Open the Console tab and look for the message Please set up visibility settings with a link.
- Open the link and connect your Steam account and email address.
- Restart your server. ZapX will then list it publicly, and the message will disappear.
Until then, players can connect directly using the IP address and port. See Connect to the server to learn how. You don’t need an owner for the Private setting.
For every step around the public list and the most common reasons a server is missing from it, see Server list.
The game configuration folders are named after your server’s port. You can find the port in the Overview. In the examples, 7777 stands for your port.
| File / folder | Contents |
|---|---|
SCP Secret Laboratory/config/7777/config_gameplay.txt | Game settings: server name, player count, game rules, security |
SCP Secret Laboratory/config/7777/config_remoteadmin.txt | Admin roles and permissions; see Become an admin on your own server |
SCP Secret Laboratory/config/7777 | Also contains your server’s ban and whitelist files |
SCP Secret Laboratory/LabAPI | Plugins and their settings; see Install LabAPI plugins |
You can open and edit all files directly in the Files tab or via SFTP, for example, using FileZilla or WinSCP.
If your server’s port changes, for example after a move, ZapX copies the previous port folder into the folder for the new port the next time the server starts, as long as there is exactly one folder. This applies to config as well as the LabAPI plugins and configs folders. If there are multiple port folders, copy your files into the folder for the new port yourself.
The config_gameplay.txt file has one setting per line in the format key: value. Lines that start with # are comments. Write switches in lowercase as true or false. If a setting is missing from the file, the game adds it with its default value when it starts.
| Setting | Meaning |
|---|---|
server_name | Your server’s name in the server list. See Colored server name to learn how to add color. |
max_players | How many players can play on your server at the same time |
server_tickrate | How many times per second your server updates the game world |
use_reserved_slots | Turns your server’s reserved slots on or off |
contact_email | Contact email address required by Northwood for the public server list |
serverinfo_pastebin_id | Server description via Pastebin; see Pastebin ID |
| Setting | Meaning |
|---|---|
friendly_fire | Whether players can damage members of their own team |
friendly_fire_multiplier | How much damage friendly fire deals |
auto_round_restart_time | Seconds until the next round starts automatically |
afk_time | Seconds of inactivity before a player is kicked |
intercom_cooldown / intercom_max_speech_time | Wait time after an intercom announcement and the maximum length of an announcement in seconds |
keep_items_after_escaping | Whether escaped players keep their items |
disable_decontamination | Disables decontamination of the Light Containment Zone |
allow_playing_as_tutorial | Allows the Tutorial role |
auto_warhead_start_minutes | Minutes until the warhead detonates automatically; 0 disables it |
| Setting | Meaning |
|---|---|
minimum_MTF_time_to_spawn / maximum_MTF_time_to_spawn | Shortest and longest wait time in seconds before a respawn wave |
maximum_MTF_respawn_amount / maximum_CI_respawn_amount | Maximum number of MTF or Chaos Insurgency players that spawn per wave |
respawn_tickets_enable | Whether to use the ticket system for respawn waves |
spawn_protect_enabled / spawn_protect_time | Turns spawn protection on or off and sets how many seconds it lasts |
| Setting | Meaning |
|---|---|
enable_whitelist | Only allows accounts on the whitelist to join |
ip_banning | Also bans the IP address when a player is banned |
same_account_joining | Whether the same account can join multiple times at once |
geoblocking_mode | Geoblocking: none (off), whitelist, or blacklist |
broadcast_kicks / broadcast_bans | Shows all players a message when someone is kicked or banned |
broadcast_kick_text / broadcast_ban_text | Text of the message; %nick% is replaced with the player’s name |
You’ll find the Configurator for SCP: Secret Laboratory under Tools. It lets you easily set the most important values in config_gameplay.txt without editing the file manually.
To keep your server reachable, ZapX sets these values in config_gameplay.txt at every startup: query_port_shift, query_bind_ip1, and query_bind_ip2. Changing them manually won’t have any effect.
The query interface enable_query is disabled by default. If you need it for an external tool, set it to true. Your server has its own randomly generated query_administrator_password, which you can change in the same file. If you leave it empty, ZapX will generate a new one the next time the server starts.
These topics have their own guides:
- Grant admin permissions: Become an admin on your own server
- Create custom roles: Add new roles to the server
- Plugins with LabAPI, Northwood’s official plugin system: Install LabAPI plugins
- Use the beta version of the game: Using the beta version
To use plugins for the EXILED framework, switch to the SCP: Exiled variant under Games & variants in the dashboard. See SCP EXILED: Install plugins to learn how to install plugins there.
Your custom settings are not transferred automatically when you switch variants. Download your configuration files first, then upload them again afterward.
You’ve now configured your SCP: Secret Laboratory server just the way you want it. If something isn’t working as expected, for example if your server doesn’t appear in the server list, our Common issues guide can help. If you have any other questions, our support team is available every day! 🙂
