Wiki w innych językach
(Dodanie typowych błędów podczas weryfikacji) |
|||
Linia 121: | Linia 121: | ||
=Weryfikacja= | =Weryfikacja= | ||
Aby serwer był widoczny w [[ | Aby serwer był widoczny w [[Serwer_SCP:SL#Przegl.C4.85darka_serwer.C3.B3w|Wyszukiwarce Serwerów]], musi zostać zweryfikowany. | ||
Zanim zweryfikujesz serwer, zapoznaj się z [https://scpslgame.com/Verified_server_rules.pdf Zasadami Serwerów Zweryfikowanych]. | Zanim zweryfikujesz serwer, zapoznaj się z [https://scpslgame.com/Verified_server_rules.pdf Zasadami Serwerów Zweryfikowanych (en)]. | ||
=== | ===Proces weryfikacji serwera=== | ||
Aby zweryfikować serwer, należy wysłać wiadomość na adres e-mail '''[email protected]'''. | Aby zweryfikować serwer, należy wysłać wiadomość na adres e-mail '''[email protected]'''. | ||
Linia 131: | Linia 131: | ||
*Zewnętrzny adres IPv4 serwera | *Zewnętrzny adres IPv4 serwera | ||
*Port używany przez serwer | *Port używany przez serwer | ||
*Czy IP serwera jest statyczne czy dynamiczne | *Czy IP serwera jest statyczne czy dynamiczne | ||
Przed wysłaniem wiadomości upewnij się że: | |||
*Można dołączyć na serwer przez zewnętrzny adres IPv4 | |||
*Wysyłasz wiadomość z adresu e-mail ustawionego w <code>contact_email</code> w konfiguracji serwera | |||
*W opisie serwera znajduje się e-mail do właściciela serwera, zaproszenie na serwer Discord lub inna forma kontaktu do właściciela serwera | |||
Po wysłaniu wiadomości serwer musi być włączony do momentu weryfikacji. | Po wysłaniu wiadomości serwer musi być włączony do momentu weryfikacji. | ||
Proces weryfikacji zazwyczaj trwa do 48 godzin. | Proces weryfikacji zazwyczaj trwa do 48 godzin. |
Wersja z 12:25, 30 lis 2020
Spis treści
This guide takes you through the steps required to create a dedicated SCP:SL server on Windows and Linux.
Minimalne wymagania serwera
- 4 GB RAM
- 2 rdzenie CPU
- ~600 MB miejsca na dysku
Windows Instructions
Prerequisites
- SteamCMD - Used to install and update the server
- Mono (64-bit) - Framework used by Unity for a lot of things, needed to fix certain voice chat issues
- Visual C++ Redistributable 2015
Installing the SCP:SL dedicated server with SteamCMD
SteamCMD is used to install the SCP:SL server in a specified location, this will also make it easier to update the server once one is required.
Logging in
To be able to download the server you must be logged into steam.
You can also log in with a steam account but that isn't recommended nor needed.
login anonymous
Setting install directory
To set the desired server directory/install location.
force_install_dir <directory>
- (eg. C:/SL_Server)
Installing it
To install the dedicated server the app ID 996560 is used, it is the headless build of SCP:SL and will run more efficiently than if the game itself was used to host.
app_update 996560
Validating
To make sure that none of the required files are missing or corrupted.
app_update 996560 validate
(Optional) Creating an update script
A batch file can be created to have the server automatically updated when needed.
Paste the following code into a batch file and run it once the server needs an update.
steamcmd
+login anonymous
+force_install_dir <directory>
+app_update 996560
+app_update 996560 validate
+quit
Linux Instructions (Ubuntu/Debian)
Prerequisites
- An already set-up server with SSH and FTP configured
Installing components
Mono - Framework used by Unity for a lot of things, needed to fix certain voice chat issues
tmux - Allows running multiple windows in a single session, in our case it used to keep the server running without having to be logged into it
sudo apt-get install tmux
SteamCMD - Used to install and update the server
sudo apt-get install steamcmd
Creating new user
A new user will be created to be specifically used for the SL server, as using the root user is insecure.
sudo adduser scpserver
- Creates a new user with the name "scpserver"
su - scpserver
- Changes active user to "scpserver"
Installing the SCP:SL dedicated server with SteamCMD
SteamCMD is used to install the SCP:SL server in a specified location, this will also make it easier to update it once one is required.
Opening SteamCMD To be able to execute the commands required for the install. Must be ran in the directory the steamcmd.sh is installed in.
./steamcmd.sh
Logging in
To be able to download the server you must be logged into steam.
You can also log in with a steam account but that isn't recommended nor needed.
login anonymous
Setting install directory
To set the desired server directory/install location.
force_install_dir <directory>
- (eg. /home/SL_Server)
Installing it
To install the dedicated server the app ID 996560 is used, it is the headless build of SCP:SL and will run more efficiently than if the game itself was used to host.
app_update 996560
Validating
To make sure that none of the required files are missing or corrupted.
app_update 996560 validate
Starting up the server
On linux starting the server is a bit different than on windows.
tmux new -s scp
- Starts new session with name "scp"
cd <directory>
- Select server directory
./LocalAdmin 7777
- Starts up the server with LocalAdmin on the port 7777
Konfiguracja Serwera
Główny artykuł: Server Config
Po zainstalowaniu serwera, można go konfigurować i zmieniać ustawienia takie jak: nazwa serwera, info serwera, ilość slotów i wiele innych.
Wszystkie te ustawienia mogą zostać zmienione w pliku config_gameplay.txt.
- Ścieżka Windows: %AppData%\Roaming\SCP Secret Laboratory\config\<port>\config_gameplay.txt
- Ścieżka Linux: ~/.config/SCP Secret Laboratory/config/<port>/config_gameplay.txt
Weryfikacja
Aby serwer był widoczny w Wyszukiwarce Serwerów, musi zostać zweryfikowany.
Zanim zweryfikujesz serwer, zapoznaj się z Zasadami Serwerów Zweryfikowanych (en).
Proces weryfikacji serwera
Aby zweryfikować serwer, należy wysłać wiadomość na adres e-mail [email protected].
Wiadomość musi zawierać:
- Zewnętrzny adres IPv4 serwera
- Port używany przez serwer
- Czy IP serwera jest statyczne czy dynamiczne
Przed wysłaniem wiadomości upewnij się że:
- Można dołączyć na serwer przez zewnętrzny adres IPv4
- Wysyłasz wiadomość z adresu e-mail ustawionego w
contact_email
w konfiguracji serwera - W opisie serwera znajduje się e-mail do właściciela serwera, zaproszenie na serwer Discord lub inna forma kontaktu do właściciela serwera
Po wysłaniu wiadomości serwer musi być włączony do momentu weryfikacji. Proces weryfikacji zazwyczaj trwa do 48 godzin.
- Tę stronę ostatnio edytowano 30 lis 2020, 12:25.
- Treść udostępniana na licencji CC BY-SA 3.0, jeśli nie podano inaczej.
- Polityka prywatności
- O SCP: Secret Laboratory Polish Official Wiki
- Informacje prawne