DedicatedServer: Difference between revisions
No edit summary |
No edit summary |
||
Line 13: | Line 13: | ||
* Single core processor with SSE2 instructions | * Single core processor with SSE2 instructions | ||
* 50 MB disk space and 100 MB RAM | * 50 MB disk space and 100 MB RAM | ||
* Packages: curl, nano, openssl | |||
===Setup=== | ===Setup=== | ||
* Make sure you run the server on a user without superuser rights. We recommend to add a new user for this step. | * Make sure you run the server on a user without superuser rights. We recommend to add a new user for this step. | ||
* Edit the server_config.json file ''nano server_config.json''. Info on the config file: [[server_config]]. Once you are done with editing press ''CTRL+X'' and then ''Y'' to save the config file. | Create a new directory for the Onset server.<br> | ||
<blockquote><code>mkdir Steam</code></blockquote> | |||
Install SteamCMD<br> | |||
<blockquote><code>curl -sqL "https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz" | tar zxvf -</code></blockquote> | |||
Start SteamCMD<br> | |||
<blockquote><code>./steamcmd.sh</code></blockquote> | |||
Login to steam as anonymous<br> | |||
<blockquote><code>login anonymous</code></blockquote> | |||
Set the install directory for the Onset server files.<br> | |||
<blockquote><code>force_install_dir ./OnsetServer/</code></blockquote> | |||
Download the server application.<br> | |||
<blockquote><code>app_update 1204170 validate</code></blockquote> | |||
Exit SteamCMD<br> | |||
<blockquote><code>quit</code></blockquote> | |||
===Configuration=== | |||
<blockquote><code>cd OnsetServer</code></blockquote> | |||
* Edit the server_config.json file ''nano server_config.json''. Info on the config file: [[server_config]]. | |||
<blockquote><code>nano server_config.json</code></blockquote> | |||
* Once you are done with editing press ''CTRL+X'' and then ''Y'' to save the config file. | |||
* Run ''./start_linux.sh'' to start your server. The shell file sets the environment path so the server finds the required SteamAPI files. | * Run ''./start_linux.sh'' to start your server. The shell file sets the environment path so the server finds the required SteamAPI files. | ||
Revision as of 12:27, 30 November 2019
Windows Server
Minimum requirements
- Development: Windows 10
- Production: Windows Server 2012 or later
- Single core processor with SSE2 instructions
- 50 MB disk space and 100 MB RAM
Linux Server
We recommend Linux for production servers.
Minimum requirements
- Ubuntu 18.04, Debian 9, CentOS 7 (with openssl installed)
- Single core processor with SSE2 instructions
- 50 MB disk space and 100 MB RAM
- Packages: curl, nano, openssl
Setup
- Make sure you run the server on a user without superuser rights. We recommend to add a new user for this step.
Create a new directory for the Onset server.
mkdir Steam
Install SteamCMD
curl -sqL "https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz" | tar zxvf -
Start SteamCMD
./steamcmd.sh
Login to steam as anonymous
login anonymous
Set the install directory for the Onset server files.
force_install_dir ./OnsetServer/
Download the server application.
app_update 1204170 validate
Exit SteamCMD
quit
Configuration
cd OnsetServer
- Edit the server_config.json file nano server_config.json. Info on the config file: server_config.
nano server_config.json
- Once you are done with editing press CTRL+X and then Y to save the config file.
- Run ./start_linux.sh to start your server. The shell file sets the environment path so the server finds the required SteamAPI files.
Gamemode Packages
Packages make up all of your server. Please see this wiki entry (packages) on how to get started with them.
Game Compatibility Version Number
The parameter "--version" displays server version information. The compatibility number determines what clients can connect. Game and server must have the same compatibility number for the connection to succeed. The version number does not matter in this case.
Command line arguments
The parameter "--help" displays available command line options.
Network Ports
The dedicated server requires 3 network ports to be open.
- UDP 7777 - Game
- UDP 7776 - Server query
- TCP 7775 - HTTP server, file downloads
Ports can be changed in the server_config.