Difference between revisions of "Dedicated Server"
(→Windows) |
Conquintor (Talk | contribs) |
||
Line 1: | Line 1: | ||
This is a guide for setting up your own Interstellar Rift dedicated server. If you have any questions or issues please post in the [https://steamcommunity.com/app/363360/discussions/5/ Steam forum] or ask in the #technicalsupport channel on [https://discord.gg/InterstellarRift Discord]. This guide assumes you already know how to install the Steam client and/or SteamCMD. | This is a guide for setting up your own Interstellar Rift dedicated server. If you have any questions or issues please post in the [https://steamcommunity.com/app/363360/discussions/5/ Steam forum] or ask in the #technicalsupport channel on [https://discord.gg/InterstellarRift Discord]. This guide assumes you already know how to install the Steam client and/or SteamCMD. | ||
+ | |||
+ | <br> | ||
+ | |||
+ | = Server commands = | ||
+ | |||
+ | [[Admin/User Server Commands]] | ||
<br> | <br> |
Latest revision as of 17:45, 7 August 2019
This is a guide for setting up your own Interstellar Rift dedicated server. If you have any questions or issues please post in the Steam forum or ask in the #technicalsupport channel on Discord. This guide assumes you already know how to install the Steam client and/or SteamCMD.
Server commands
Windows
Step 1a: Download the game
You can either download the game through the Steam client, or you can use SteamCMD.
When using SteamCMD you need to customize and run the following command:
.\steamcmd +login <steam_username> "<steam_password>" +force_install_dir <installation_path> +app_update 363360 validate +quit
For example, the resulting command for a given user dummy
with password dummy password
installed to the subdirectory ir
of the steamcmd location would be:
.\steamcmd +login dummy "dummy password" +force_install_dir .\ir +app_update 363360 validate +quit
(More info on SteamCMD usage can be found here.
Step 1b: Download and install dependencies
- When using the Steam client dependencies should be installed by Steam on first run, if this does not happen, install the following dependencies:
- Microsoft .NET Framework 4.7.2:
%PROGRAMFILES(X86)%\Steam\steamapps\common\Steamworks Shared\_CommonRedist\DotNet\4.7\NDP472-KB4054530-x86-x64-AllOS-ENU.exe
- Microsoft Visual C++ 2012 Redistributable (x86):
%PROGRAMFILES(X86)%\Steam\steamapps\common\Steamworks Shared\_CommonRedist\vcredist\2012\vcredist_x86.exe
- Microsoft .NET Framework 4.7.2:
- When using SteamCMD you will have to install the dependencies yourself, you have two options to download the installers:
- Directly from Microsoft
- Using SteamCMD
- Microsoft .NET Framework 4.7.2:
download_depot 228980 229006
- Microsoft Visual C++ 2012 Redistributable (x86):
download_depot 228980 228984
- Microsoft .NET Framework 4.7.2:
Step 2: Validating your server
You will need an SSK (Standalone Server Key) to allow your server to be validated. To get one you need to use the full Interstellar Rift client, however it does not need to run on the same machine as the dedicated server.- Open your IsR client and go to Play Interstellar Rift > Host Game and then click the "Generate SSK" button, don't close the client until you've reached the end of the guide
- A file called
SSK.txt
will be generated at:%APPDATA%\InterstellarRift
. - Copy this file to the same location on the server machine, this key will be valid for 30 days and then you will have to redo this step.
Step 3: Configuring your server
Configuring your server is done by editing the server.json
file located at: %APPDATA%\InterstellarRift
.
Step 4: Running your server
The game folder contains an auto-restart script called start_server_autorestart.ps1
that will automatically restart your server when it crashes, you can either use this script to run your server or use it as an example for making your own. To execute it, right click the script and then use the "Run with PowerShell" option.
Step 5: Forwarding ports
The Interstellar Rift server uses UDP over port 8905 by default. Make sure your router is forwarding this port to the machine your server is running on.
Linux
Running a Linux server is not officially supported but the Steam user 7thCore has made a Steam Guide explaining how to set up a dedicated server on Linux through Wine here
Troubleshooting and Errors
Error Message | Description | How to Fix |
Announcing server to masterserver: invalid steam ticket | This means your SSK is not valid | Repeat Step 2. The server does not need to be shut down |