Stationeers: How To Setup A Dedicated Server

By
Published: 11 Jul 2022
Want to Setup a Dedicated Server for Stationeers but don’t know how?

A dedicated server is a type of remote server that is entirely dedicated to an individual, organization, or application. It is deployed, hosted and managed by a hosting, cloud or managed service provider. Stationeers have an option to create a dedicated server and play on your private server together with your group of playmates.

In this guide, we will show you How To Setup a Dedicated Server for Stationeers!

Stationeers: How To Setup A Dedicated Server

Setting up a dedicated game server can be done from either a dedicated server or your home computer.

Requirements

Linux or Windows system, either physical or virtualized.

  • Must not be used to run a Stationeers client
  • If running on Windows you must have the Microsoft Visual C++ 2015, 2017, and 2019 runtime installed.

Quad-Core processor (requires up to 2 full cores)

Up to 3GB of memory

2GB disk space (install folder)

Need to have around 16GB of RAM for the server to run.

How to Get the Server Files

The best method to get fame server dedicated hosting files via SteamCMD.

  1. Create a folder where you wish to store your Stationeers game server hosting files.
  2. Inside the folder, place the newly downloaded SteamCMD.exe file.
  3. Create a batch file named SteamCMD.bat.
  4. Place the following code in the batch file:

@echo off

start “” steamcmd.exe +login anonymous +force_install_dir “C:\Some\Path\Where\You\Want\Game\Server\Files\To\Go” +app_update 600760 validate +quit

  • Right-click on SteamCMD.bat and Run as Administrator.
  • Your game server files should be completely downloaded by now.

There is an alternate method, locating Game Server files on Hard Drive.

You can host Stationeers directly from the game itself. If you want to change any settings, locate your common folder:

  1. Right-click Stationeers from Steam, and select Properties.
  2. Click Local Files tab.
  3. Click Browse Local Files button.

Setting up a Stationeers Dedicated Server

  1. Create a batch file named StationeersServer.bat in your newly created SteamCMD folder or your Steam common folder.
  2. Place the following code in he batch file:

start “C:\stationeersserver\Stationeers\rocketstation_DedicatedServer.exe” -batchmode -nographics -autostart

  • Set up a C:\stationeersserver\Stationeers\default.ini file with:

[SERVER]

SERVERNAME=Stationeers

GAMEPORT=27500

UPDATERPORT=27015

PASSWORD=

MAPNAME=Mars

DESCRIPTION=Stationeers

MAXPLAYER=30

[RCON]

RCONPASSWORD=stationeers

RCONIP=127.0.0.1

Port Forwarding

Add an incoming rule to your Windows Firewall to allow UDP port 27500 as well as 27015.

You may additionally need to add a forwarding rule to your network router.  

How to Join Your Server

Step 1: Update your server to the newest Stationeers version, then click the green update button at the bottom of the panel. If you are not a Survival Servers customer, ask your game server howst about this.

You can also find your server from the in-game server list, or right-click Steam in the task bar icons and select Servers.

How to Configurate your Stationeers Game Sever?

Now comes the fun part, setting up your Stationeers game server to your liking.

To modify game server settings you can open the \Stationeers\Default.ini

You can modify settings here (in addition to the launch line) – these settings overwrite your launch line settings:

Stationeers Dedicated Server Configuration Variables

-batchmode Dedicated server runs without UI and start to listen port.

-nograpics When running in batch mode, do not initialize graphics device at all. This makes it possible to run your automated workflows on machines that don’t even have a GPU.

-autostart Dedicated server start to listen port without player input. It’s always enabled on Linux dedicated server.

-autosaveinterval integer Save world in every interval.

-creator int64 Set creator’s steam id as gamedata and key-value. This is for future integration of server instancing.

-worldname string Load and save game data automatically from existing file.

-worldtype string Worldtype(Space, Mars, Terrain)

-loadworld string Load world from saved file. If loadworld is enabled, worldname command is ignored.

-gameport integer UDP port for game. Avoid to set 27015-27020. It’s steam’s local server query ports.

-updateport integer UDP port for steam query

-servername string Server title.

-basedirectory string Absolute base directory for custom profile Ex) -basedirectory C:\Profile\Player1 Config Path : C:\Profile\Player1\default.ini Save Path : C:\Profile\Player1\saves\[worldname]

Stationeers Admin Commands

You can send commands on web browser. Link : http://[dedicated server address]:[GamePort]

help Print help commands

login <password> RCONPASSWORD is defined in default.ini. Default rcon password is stationeers.

save <worldname> Save world to basedirectory

shutdown [-m message] [-t timeout in seconds] Shutdown dedicated server. if you run this command without any parameters, dedicated server will shutdown immediately. Countdown starts from 10 seconds example – shutdown -m “Server will shutdown in 30 seconds” -t 30

notice <message> Notice to all players. Example: notice “Welcome to Stationeers!”

status Display game stat and player lists

ban <steamId> <timeout> Ban player for specific amount of time. Timeout is double in hour. 0.5 is 30 minutes. 0 is infinite. Example: ban 76561198299941358 0.5

unban <steamId> Remove player from the ban lists

kick <steamId> Kick player from the current server

Latest