Dedicated Server

From Interstellar Rift Wiki
Revision as of 15:10, 27 September 2020 by Shin234 (talk | contribs) (→‎Step 4: Forwarding ports)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search



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

  1. 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
  2. When using SteamCMD you will have to install the dependencies yourself, you have two options to download the installers:
    1. Directly from Microsoft
    2. Using SteamCMD
      • Microsoft .NET Framework 4.7.2: download_depot 228980 229006
      • Microsoft Visual C++ 2012 Redistributable (x86): download_depot 228980 228984

Step 2: Configuring your server

Configuring your server is done by editing the server.json file located at: %APPDATA%\InterstellarRift. All values in this file are explained here.

Step 3: 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 4: 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.
UPnP will also work when running a new server but newer routers may have a time limit on the length of an opened UPnP port. This will cause your server to stop allowing logins after the time limit expires. If this happens, forwarding the port above in your firewall will permanently resolve the issue.


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

If you have any further questions or issues please post in the Steam forum or ask in the #technicalsupport channel on Discord.


Server configuration is mostly done by editing the server.json. It is detailed here.


Managing a server can be made easier by using the console and chat commands. These are explained here.