How to Create a Stationeers Server Guide
Creating a Stationeers Server From Your Home Computer or Dedicated Server
Server Requirements
Windows 7, 8, 8.1, Server 2008, Server 2012 & 64-Bit
Quad Core processor (requires up to 2 full cores)
Up to 3GB memory (currently uses around 6GB memory minimum and up to 15GB of memory for a full server)
5GB disk space (install folder)
Visual C++ Redistributable for Visual Studio 2019
Steam does not need to be running (the server never starts it)
Step 1: Fetching Game Server files from SteamCMD
The best method to get game server dedicated hosting files is via SteamCMD.
- Create a folder where you wish to store your Stationeers game server hosting files
- Inside of the folder, place the newly downloading SteamCMD.exe file
- Create a batch file named SteamCMD.bat
- Place the following code in this batch file:
- @echo off
- start "" steamcmd.exe +force_install_dir "C:\Some\Path\Where\You\Want\Game\Server\Files\To\Go" +login anonymous +app_update 600760 validate +quit
- Right-click SteamCMD.bat and Run as Administrator
- Your game server files should be completely downloaded by now
Step 1 (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:
- Right-click Stationeers from Steam, select Properties
- Click Installed Files tab
- Click Browse button
Step 2: Setting up a Stationeers Dedicated Server
- Create a batch file named StationeersServer.bat in your newly created SteamCMD folder (Step 1) or your Steam common folder (Step 1: (alternate method)).
- Place the following code in this batch file:
- start "" "C:\stationeersserver\Stationeers\rocketstation_DedicatedServer.exe" -file start Stationeers Mars2 -settings ServerName Stationeers GamePort 27016 ServerMaxPlayers 30 ServerVisible true
- Put your settings after -settings in that line, as name and value pairs. There is no default.ini any more: the server saves them to C:\stationeersserver\Stationeers\setting.xml.
- ServerName Stationeers
- GamePort 27016
- ServerPassword yourpassword (leave it out for no password)
- World: the word after the save name in -file start (Lunar, Mars2, Europa3, MimasHerschel, Venus or Vulcan2)
- ServerMaxPlayers 30
- ServerVisible true (shows the server in the in-game server list)
- ServerAuthSecret yoursecret (lets you run admin commands from inside the game)
Step 3: Port Forwarding
Add an incoming rule to your Windows Firewall to allow UDP port 27016 (or whichever port you are using).
You may also need to add a forwarding rule to your network router. You can use PortForward.com to read how to do this.
How to Join Your Server
STEP 1: Update your server to the newest Stationeers version: stop it and run SteamCMD.bat from Step 1 again. * If you rent your server from a game server host, ask your host about this.
METHOD 2, STEP 1: Find your server from the in-game server list!
METHOD 2, STEP 2: Or type your server's IP address and port in the box that reads Enter IP:Port here... on the same Join World screen.
METHOD 2, STEP 3: Select Direct Connect. Join your server!
Configuring your Stationeers Game Server!
To modify game server settings you can open the \Stationeers\setting.xml
You can modify settings in here (in addition to the launch line) - your launch line settings overwrite these settings:
<ServerName>Stationeers</ServerName> <GamePort>27016</GamePort> <ServerPassword /> <ServerMaxPlayers>30</ServerMaxPlayers> <ServerVisible>true</ServerVisible> <ServerAuthSecret />
Stationeers Dedicated Server Configuration Variables
-batchmode Dedicated server runs without UI and start to listen port.
-nographics 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.
-file start string string Dedicated server loads a save and starts to listen port without player input. It loads the newest save with that name, or builds a new world if there is none.
-settings SaveInterval integer Save world in every interval (in seconds, 300 by default).
-file start [save name] [world ID] World ID (Lunar, Mars2, Europa3, MimasHerschel, Venus, Vulcan2)
-settings GamePort integer UDP port for game (27016 by default).
-settings ServerName string Server title.
Config Path : C:\stationeersserver\Stationeers\setting.xml Save Path : C:\stationeersserver\Stationeers\saves\[save name]
Stationeers Admin Commands
You can type commands in the dedicated server's window. In game: set the same secret with settings ServerAuthSecret <secret> in the F3 console, then type serverrun and the command.
help Print help commands
serverrun <command> Runs a command on the server from the in-game F3 console. ServerAuthSecret must match on the server and in your game.
save [worldname] Save world to the saves folder
quit Shutdown dedicated server immediately, without saving. Run save first.
announce <message> Popup notice to all players. Example: announce "Welcome to Stationeers!"
status Display world name, game state, uptime and pause status (network clients lists the players)
ban <steamId> Ban player, even one who is offline. The ban has no time limit and is saved in Blacklist.txt. Example: ban 76561198299941358
ban refresh Reloads the ban list. To unban a player, delete their ID from Blacklist.txt in the server folder, then run ban refresh
kick <steamId> Kick player from the current server
Location of World Save Data
saves