SCP: Secret Laboratory

SCP: Secret Laboratory

檢視統計資料:
ttv/MarkGaming28 2019 年 5 月 22 日 上午 7:46
SCP:SL Server Guide Linux Ubuntu 18.04
SCP: Secret Laboratory Server Set-up Guide (Linux)

All steps provided in this gude are done on Ubuntu 18.04 64 BIT

Software Requirements

TERMINALS

Termius(https://termius.com)

OR

TightVNC (https://www.tightvnc.com/download.php)

OR

PuTTy 64 bit (https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html)

OR

Web Browser of your choice (If you prefer to use the console through there)

FTP BROWSER
WinSCP (https://winscp.net/eng/download.php)

OR

Any FTP Browser of your choosing it does not matter

Download Requirements
MultiAdmin (https://github.com/Grover-c13/MultiAdmin/releases/latest)

1) Logging into your Box

First, you will need to log into your box. You will need your terminal’s IP address and port. Should look something like this - 123.456.78.901 and of course the password set for the terminal given to you either by email or customized by yourself.

2) Adding another User

Second, we need to set up a user for you to use while setting up your server. The root user is perfectly fine, but it is insecure.

sudo adduser scp

This will prompt you to set a password. Please set a password and make sure that it is secure (Using the standard requirement of at least 8 characters, 1 upper case character, and 1 numeric character. Example: P1Zz4W4lL3)


3) Requirements Needed. These are as follows:

sudo apt-get update
sudo apt-get install tmux
sudo apt-get install lib32gcc1


4) Installing Mono Library Certificates

sudo apt install gnupg ca-certificates
sudo apt-key adv --keyserver hkp:/keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb https://download.mono-project.com/repo/ubuntu stable-bionic main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list
sudo apt update

4.1) Installing Mono-Libraries

sudo apt install mono-complete

4.2) Next you need to switch to the new user. To do this you need to type the following

su scp
cd

5) Installing SteamCMD

1. mkdir steamcmd
2. enter that dir and run curl -sqL "https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz" | tar zxvf -
3. run chmod a+x steamcmd.sh
4. run ./steamcmd.sh than type login anonymous

force_install_dir /home/scp/SCP_Server
app_update 996560

This will have now installed SCP onto your server, but you are not quite done yet. Once you have done this, you can type quit into steamCMD to exit steam

6) Installing MultiAdmin

Load up WinSCP, and log into your server with it. Next you will need to drag MultiAdmin.exe (which you should have already downloaded) and drop it into your SCP SL install directory (/home/scp/SCP_Server[/b[).

7) Starting you're Server

cd /home/scp/SCP_Server

mono MultiAdmin.exe

This will now launch MultiAdmin (The server). Once this has finished loading you are good to play on your server.

Tmux Short Guide


1) If you wish to keep your server running without TightVNC up than we are going to use tmux which we installed earlier. If you have your server already running than close it down with ctrl+c. These following commands will help you use tmux.

tmux new -t (session name) (This makes a new tmux session, note that you can use any name for the session) IE: tmux new -t myserver

Ctrl + b + : than d (for terminus users, detach for all other terminal users)This “detaches” you from the current session. This does not kill it but leaves it running in the box’s background.

To enter back into any session you have made use tmux a -t (session name) that will get you back into any session you desire. IE: tmux a -t server

2) After you detach yourself from the session you can load up the game and play as long
as you wish without worrying about lag form having your terminal open at all times.

Server Verification

Once you have created your server you may want to have it put on the public list of servers for anyone to join and start building a community. To do this all you have to do is follow 2 simple steps.

1) First you need to go into your config_gameplay.txt file located in /home/scp/.config/ and add a config called contact_email once you have added it simply set it to your main email eg. contact email: mrrunt@gmail.com

2) Once you have set your contact email you need to compose an email to server.verification@scpslgame.com in this email you need to put the information you the IP that you use to connect to your server and the type of IP it is. If you are hosting your server from home it is likely a Dynamic IP, some VPS hosts are also dynamic however this is rare if you do rent a VPS then the IP will likely be static however if you’re not sure you can contact your VPS host through a support ticket. The email you send should look like this:

IP: 123.456.78.92:7777
Type: Static

Enjoy :3
最後修改者:ttv/MarkGaming28; 2019 年 5 月 26 日 上午 5:51
< >
目前顯示第 1-6 則留言,共 6
PheWitch 2019 年 5 月 22 日 上午 8:55 
Looks good (i assume you are who one of the other techs said they were helping out) but there are a few smalls issues with it

1) You don't need both tmux and screen. They both do the same thing that is needed (keeping the server running when the terminal is closed)
2) With the dedicated build ID, you don't need to the -beta linux part. it will automatically install the linux version if you are on linux (and don't force the platform type for SteamCMD).
3) The multiadmin link should be https://github.com/Grover-c13/MultiAdmin/releases/latest instead, as that way it will always point towards the latest release of multiadmin on github
4) Multiadmin doesn't need Smod to be installed with it. it will work perfectly fine without it.
5) Step 7 can be moved up and added at the bottom of step 4, since they are all for the same thing.
ttv/MarkGaming28 2019 年 5 月 22 日 上午 9:34 
Alright I got you man, thanks for the feed back :3
босс фигмы 2019 年 11 月 27 日 下午 10:46 
Where plugins folder?
Skiddle 2020 年 5 月 13 日 上午 12:58 
[07:58:31] Game engine exited unexpectedly
PLGamerXL 2020 年 11 月 18 日 下午 11:37 
help Config Folder dont create
impo 2021 年 8 月 24 日 下午 6:34 
Just gonna make sure everyone knows that Proton support for SCPSL was borked by a recent update. Our fun is over :/
< >
目前顯示第 1-6 則留言,共 6
每頁顯示: 1530 50

張貼日期: 2019 年 5 月 22 日 上午 7:46
回覆: 6