-
Notifications
You must be signed in to change notification settings - Fork 30
ServerMod Installation (Linux)
-
Install SteamCMD, either by package manager (for instance
sudo apt-get install steamcmd), or by downloading it manually by following the instructions of the Linux section here. -
Create a new file and name it
update.shand put the following text into it:
# !/bin/bash
# The latest version of the game that supports ServerMod, with ServerMod and MultiAdmin pre-installed
# steamcmd +login anonymous +force_install_dir /enter/absolute/path/here +app_update 786920 validate +quit
# The latest version of the base game that works with the ServerMod beta version, with ServerMod Beta and MultiAdmin pre-installed
steamcmd +login anonymous +force_install_dir /enter/absolute/path/here +app_update 786920 -beta beta validate +quit
# The latest version of the game, without ServerMod
# steamcmd +login "steam-username" "steam-password" +force_install_dir /enter/absolute/path/here +app_update 700330 -beta linux validate +quit
# The latest beta version of the game, without ServerMod
# steamcmd +login "steam-username" "steam-password" +force_install_dir /enter/absolute/path/here +app_update 700330 -beta beta_linux 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
steamcmdat the start of the line. -
I also included the base game downloads so you can quickly switch to the unmodded game while ServerMod is outdated after a game update by removing the
#in front of the line. Only use one line at a time or you may have trouble. -
Run the script file using
sh update.sh. If there is an error you may have to make it executable by usingchmod 777 update.shor if you are using FileZilla, right click on the script and give it all file permissions. -
Start the server by running
mono Multiadmin.exeor alternatively making a file calledstart.shcontainingscreen -S scpserver mono MultiAdmin.exeto run it in a screen. In this case start the server by runningsh start.sh.
- Config files will be located in
~/.config/SCP Secret Laboratory/
Run sh update.sh.
If you wish to only update ServerMod and not the game or want to use a different ServerMod version than the one available on the Steam branch you can install it manually.
-
Download the dll files from a release in the Releases Tab.
-
Place the dll files in your
SCPSL_Data/Managedfolder.
- 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