How to Configure Friendly Fire on Your SCP: Secret Laboratory Server

Friendly fire occurs when you attack a player on your own team. When abused, friendly fire can ruin the game experience.

Fortunately, it’s very simple to put steps in place to ease this through server configuration. Ranging from killing the player to simply banning them, SCP: Secret Laboratory gives you full friendly fire customisation.

Accessing Friendly Fire Configuration

Once you’ve located friendly fire in your configuration files, you’ll be able to toggle it on or off, set the degree of punishment, and how it’s detected, alongside dozens of configuration options. 

  1. Navigate to your control panel, and Stop your server.
  2. Go to Files > FTP File Access and log in.
  3. Navigate to /.config/SCP Secret Laboratory/config/<yourServersPortNumber>/ and click Edit next to config_gameplay.txt.
  4. Scroll down until you find the #Friendly fire punishment section of the file.
  5. Update any configuration settings of your choice, then Save your changes.
    Note: You can find all configuration values you can change alongside a short description at the end of this article.
  6. Start your server.

Friendly Fire Configuration

There are dozens of unique friendly fire settings you can change. You can find each value possible, alongside a short description of each in the following tables.

Friendly Fire Per Round

Config Field Description Default Value Possible Values
ff_detector_round_enabled Detects the kills and damage done in a round. false true or false
ff_detector_round_kills Detects number of kills in a round. 6 Any number
ff_detector_round_damage Detects the number of damage dealt in a round. 500

Any number

ff_detector_round_action Enables action taken for friendly fire dealt in a round. ban ban or kill
ff_detector_round_ban_time If action is set to ban, set the ban time. 24h Any amount of hours
ff_detector_round_bankick_reason If action is set to ban, set the ban reason. You have been automatically banned for teamkilling. Any text wished.
ff_detector_round_kill_reason If action is set to kill, set the kill reason. You have been automatically killed for teamkilling. Any text wished.
ff_detector_round_adminchat_enable Enables adminchat broadcast. false true or false
ff_detector_round_adminchat_message Shows message on adminchat. %nick gets replaced with teamkiller name. %nick has been banned for teamkilling (round detector). Any desired text. Replace the playername with %nick.
ff_detector_round_broadcast_enable Enables regular broadcast. true true or false
ff_detector_round_broadcast_message Shows message on the regular broadcast. %nick gets replaced with teamkiller name.

%nick has been automatically banned for teamkilling.

Any text wished. Replace the playername with %nick.
ff_detector_round_webhook_report Should it be reported using the webhook specified in ff_detector_webhook_url. true true or false

Friendly Fire Per Life

Config Field Description Default Value Possible Values
ff_detector_life_enabled Detects damage dealt since the last death of a player. false true or false
ff_detector_life_kills Detects kills by players since last death. 4 Any number
ff_detector_life_damage Detects damage dealt by a player since last death. 300

Any number

ff_detector_life_action Enables action taking for friendly fire dealt since last death. ban ban or kill
ff_detector_life_ban_time If action is set to ban, set the ban time. 24h Any amount of hours
ff_detector_life_bankick_reason If action is set to ban, set the ban reason. You have been automatically banned for teamkilling. Any text wished.
ff_detector_life_kill_reason If action is set to kill, set the kill reason. You have been automatically killed for teamkilling. Any text wished.
ff_detector_life_adminchat_enable Enables adminchat broadcast. false true or false
ff_detector_life_adminchat_message Shows message on adminchat. %nick gets replaced with teamkiller name. %nick has been banned for teamkilling (life detector). Any desired text. Replace the playername with %nick.
ff_detector_life_broadcast_enable Enables regular broadcast. true true or false
ff_detector_life_broadcast_message Shows message on the regular broadcast. %nick gets replaced with teamkiller name.

%nick has been automatically banned for teamkilling.

Any desired text. Replace the playername with %nick.
ff_detector_life_webhook_report Should it be reported using the webhook specified in ff_detector_webhook_url. true true or false

Friendly Fire Per Window

Config Field Description Default Value Possible Values
ff_detector_window_enabled Detects damage dealt by players in a specified time window. false true or false
ff_detector_window_seconds Detects kills by players since last death. 180 Any time in seconds.
ff_detector_window_kills Detects damage dealt by a player since last death. 3

Any number.

ff_detector_window_damage Enables action taking for friendly fire dealt since last death. 250 Any number.
ff_detector_window_action If action is set to ban, set the ban time. ban ban or kill
ff_detector_window_ban_time If action is set to ban, set the ban reason. 16h Any amount of hours.
ff_detector_window_bankick_reason If action is set to kill, set the kill reason. You have been automatically banned for teamkilling. Any text wished.
ff_detector_window_kill_reason If action is set to kill, set the kill reason. You have been automatically killed for teamkilling. Any text wished.
ff_detector_window_adminchat_enable Enables adminchat broadcast. false true or false
ff_detector_window_adminchat_message Shows message on adminchat. %nick gets replaced with teamkiller name. %nick has been banned for teamkilling (window detector). Any desired text. Replace the playername with %nick.
ff_detector_window_broadcast_enable Enables regular broadcast. true true or false
ff_detector_window_broadcast_message Shows message on the regular broadcast. %nick gets replaced with teamkiller name.

%nick has been automatically banned for teamkilling.

Any text wished. Replace the playername with %nick.
ff_detector_window_webhook_report Should it be reported using the webhook specified in ff_detector_webhook_url. true true or false

Friendly Fire Per Window After Spawn

Config Field Description Default Value Possible Values
ff_detector_spawn_enabled Detects team killing actions since the player's last spawn for a specified amount of time. false true or false
ff_detector_spawn_seconds Sets the specified amount of time since player's spawn. 120 Any time in seconds.
ff_detector_spawn_kills Detects number of kills by player during specified time window since spawn. 2

Any number.

ff_detector_spawn_damage Detects damage dealt by player during specified time window since spawn. 180 Any number.
ff_detector_spawn_action Enables action taking for friendly fire dealt during specified time window since spawn. ban ban or kill
ff_detector_spawn_ban_time If action is set to ban, set the ban reason. 48h Any amount of hours.
ff_detector_spawn_bankick_reason If action is set to kill, set the kill reason. You have been automatically banned for teamkilling. Any text wished.
ff_detector_spawn_kill_reason If action is set to kill, set the kill reason. You have been automatically killed for teamkilling. Any text wished.
ff_detector_spawn_adminchat_enable Enables adminchat broadcast. false true or false
ff_detector_spawn_adminchat_message Shows message on adminchat. %nick gets replaced with teamkiller name. %nick has been banned for teamkilling (spawn detector). Any desired text. Replace the playername with %nick.
ff_detector_spawn_broadcast_enable Enables regular broadcast. true true or false
ff_detector_spawn_broadcast_message Shows message on the regular broadcast. %nick gets replaced with teamkiller name.

%nick has been automatically banned for teamkilling.

Any text wished. Replace the playername with %nick.
ff_detector_spawn_webhook_report Should it be reported using the webhook specified in ff_detector_webhook_url. true true or false

If you'd like to edit other server settings, you can do so by following our guide on How to Adjust Your SCP: Secret Laboratory Server Settings.

If you require any further assistance, please contact our support at: https://shockbyte.com/billing/submitticket.php

Mitchell Smith

Managing Director @ Shockbyte

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to Adjust Your SCP: Secret Laboratory Server Settings

SCP: Secret Laboratory has a range of configuration options that can alter gameplay or assist...

How to Ban or Unban a Player on Your SCP: Secret Laboratory Server

Every SCP: Secret Laboratory server comes with the ability to ban, preventing unwanted players...

All SCP: Secret Laboratory Console Commands

Console commands allow users to easily manage their server by allowing them to ban players, edit...

How to Configure Spawn Protection on Your SCP: Secret Laboratory Server

In SCP: Secret Laboratory, spawn protection is not enabled by default. You can enable this to...

How to Change Your SCP: Secret Laboratory Server Information

Changing your server information is important because it clearly communicates what your server is...