-
-
Notifications
You must be signed in to change notification settings - Fork 30
ServerMod Installation (Linux)
-
Install Mono, add the mono repository as described here and then install the
mono-complete
package. -
Install SteamCMD, either by package manager, for instance
sudo apt install steamcmd
(Recommended if possible), or by downloading it manually by following the instructions of the Linux section here. -
Create a new file and name it
update.sh
and put the following text into it:
# !/bin/bash
steamcmd +login anonymous +force_install_dir /absolute/path/here/ +app_update 786920 validate +quit
-
You have to add the path to the folder where you wish to install the server to the script, it has to be an absolute path because SteamCMD changes the working directory to it's own folder when it starts. If you installed SteamCMD manually, you may also have to put the path to it's directory instead of
steamcmd
at the start of the line. -
Run the script file using
bash update.sh
. If there is an error you may have to make it executable by usingchmod 777 update.sh
or if you are using FileZilla, right click on the script and give it all file permissions. -
Start the server by running either
LocalAdmin
(orMultiAdmin
which also comes preinstalled with the ServerMod steam tool).
- Config files will be located in
~/.config/SCP Secret Laboratory/
by default, you can use MultiAdmin to have the configs place in the server directory instead.
-
Download Assembly-CSharp.dll and Smod2.dll from a release in the Releases Tab (or our Discord in the case of prereleases or betas).
-
Place the dll files in your
SCPSL_Data/Managed
folder.
- 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