-
Notifications
You must be signed in to change notification settings - Fork 30
ServerMod Installation (Windows)
(Recommended)
-
Create a new directory, name it whatever you wish, for instance "scpserver". Inside of that new directory, make a new directory called "steamcmd".
-
Download SteamCMD, and extract it in the
steamcmdfolder you just created. Be aware that it will fill the folder with its own files later which is why we made it into it's own subfolder. -
Create a new file called
update.batin thesteamcmdfolder. Edit it with a text editor such as NotePad++ and paste the following into it:
:: This script installs an SCP:SL server in the parent folder of the one it is placed in.
:: You can change which line you wish to use by removing the :: infront of it. Important: Only use one line at a time.
:: ServerMod + Compatible SCP:SL version
::steamcmd +login anonymous +force_install_dir "../" +app_update 786920 validate +quit
:: ServerMod beta + Compatible SCP:SL version
steamcmd +login anonymous +force_install_dir "../" +app_update 786920 -beta beta validate +quit
:: Default game
::steamcmd +login "username" "password" +force_install_dir "../" +app_update 700330 validate +quit
:: Default game beta
::steamcmd +login "username" "password" +force_install_dir "../" +app_update 700330 -beta beta validate +quit
:: If there are errors or it doesn't download the server correctly, remove +quit from the line and run it again.
:: This will make SteamCMD stay open after the update has finished and show you any errors that have occurred.- Save the file and run it. If you made no changes to the above script it will now install the SCP:SL server and ServerMod + MultiAdmin in the
scpserverfolder (or whatever you named it) and then close automatically when done.
-
Recommended: Remove steam_appid.txt in the server folder. This causes you to show up as playing SCP:SL on steam & can prevent you from launching the client.
-
Optionally, remove discord-rpc.dll from
"SCPSL_Data\Plugins\". This prevents showing up as playing the game on Discord while hosting. This does however spam a lot of errors, so it's not recommended.
If you do either of the Steam Client methods, you will have to manually run MultiAdmin.exe, not launch it directly through steam.
-
Open your Library in Steam.
-
In the upper left is a search box. In that box, click the word "GAMES" and change it to "TOOLS".
-
Search for SCP. You should see "SCP: Secret Laboratory ServerMod".
-
If you want the stable branch, just install what you see. If you want the beta branch, right click it, got to "Properties->Betas", select the beta in the dropdown, then install it.
-
Recommended: Remove steam_appid.txt in the server folder. This causes you to show up as playing SCP:SL on steam & can prevent you from launching the client.
-
Optionally, remove discord-rpc.dll from
"SCPSL_Data\Plugins\". This prevents showing up as playing the game on Discord while hosting. This does however spam a lot of errors, so it's not recommended.
-
Launch
steam://install/786920(using Run by pressing Win+R, File Explorer address bar, or web browser address bar) -
This installs the stable branch by default. If you want the beta branch, you'll need to follow the directions using the Steam Library above, which can still be done after installing it this way.
-
Recommended: Remove steam_appid.txt in the install folder. This causes you to show up as playing SCPSL on steam & can prevent you from launching the client.
-
Optionally, remove discord-rpc.dll from
"SCPSL_Data\Plugins\". This prevents showing up as playing the game on Discord while hosting. This does however spam a lot of errors, so it's not recommended.
(Only recommended if you already have a ServerMod server set up and you want to update it)
Important: You cannot host a ServerMod server from the same directory that you use to play the game, you can however just copy your game directory to somewhere else and use that as your server folder. It is however recommended that you use one of the other ways described above as you will not receive any updates to this new directory using .
-
Download Assembly-CSharp.dll and Smod2.dll from the latest release or from some other release in the releases tab.
-
Navigate to "SCPSL_Data\Managed" inside of your SCP:SL server folder and paste the downloaded Assembly-CSharp.dll and Smod2.dll there.
-
Recommended: Remove steam_appid.txt in the server folder. This causes you to show up as playing SCP:SL on steam & can prevent you from launching the client.
-
Optionally, remove discord-rpc.dll from
"SCPSL_Data\Plugins\". This prevents showing up as playing the game on Discord while hosting. This does however spam a lot of errors, so it's not recommended.
- Installation
- Config
- Server Name Variables
- Commands
-
- Admin Events
- Enviroment Events
-
Player Events
- OnPlayerHurt
- OnPlayerDie
- OnPlayerPickupItem
- OnPlayerDropItem
- OnPlayerJoin
- OnNicknameSet
- OnAssignTeam
- OnSetRole
- OnCheckEscape
- OnSpawn
- OnDoorAccess
- OnIntercom
- OnIntercomCooldownCheck
- OnPocketDimensionExit
- OnPocketDimensionEnter
- OnPocketDimensionDie
- OnThrowGrenade
- OnPlayerInfected
- OnSpawnRagdoll
- OnLure
- OnContain106
- OnMedkitUse
- OnShoot
- On106CreatePortal
- On106Teleport
- OnElevatorUse
- OnHandcuff
- OnGeneratorUnlock
- OnGeneratorAccess
- OnGeneratorInsertTablet
- OnGeneratorEjectTablet
- On079Door
- On079Lock
- On079Elevator
- On079TeslaGate
- On079AddExp
- On079LevelUp
- On079UnlockDoors
- On079CameraTeleport
- On079ElevatorTeleport
- On079StartSpeaker
- On079StopSpeaker
- On079Lockdown
- Server Round Events
- Team Events