-
-
Notifications
You must be signed in to change notification settings - Fork 30
ServerMod Installation (Windows)
-
Create a new directory, name it whatever you wish, for instance
scpserver
. Inside of that new directory, make a new directory calledsteamcmd
. -
Download SteamCMD, and extract it in the
steamcmd
folder 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.bat
in thesteamcmd
folder. 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.
:: Default game
steamcmd +login anonymous +force_install_dir "../" +app_update 786920 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. If you want the window to close after it's done remove pause below:
PAUSE
-
Save the file and run it. If you made no changes to the above script it will now install the SCP:SL server in the
scpserver
folder (or whatever you named it) and then close automatically when done. -
Run either
LocalAdmin
orMultiAdmin
(which comes preinstalled with the ServerMod steam tool).
Important: You cannot run Smod on a server you host from within the game, you have to get a dedicated server.
-
Download Assembly-CSharp.dll and Smod2.dll from the latest release or from some other release in the releases tab (or our Discord in the case of prereleases or betas).
-
Navigate to "SCPSL_Data\Managed" inside of your SCP:SL server folder and place 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.
- 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