NEW! Servers for GTA V (FiveM).. Use Coupon SPOOK, take 20% off Click here to order now at SurvivalServers.com

Difference between revisions of "How to Create a Stationeers Server Guide"

From Survival Servers
Jump to navigation Jump to search
 
(2 intermediate revisions by one other user not shown)
Line 3: Line 3:
 
== Option #1: Renting a Stationeers server (see example control panel below!) ==
 
== Option #1: Renting a Stationeers server (see example control panel below!) ==
  
[https://www.survivalservers.com/sspanel/?game=stationeers&trckaff=3881&trckit=WIKI http://i.imgur.com/Dx6BNmP.gif]
+
[[File:Control panel.gif|none|link=https://www.survivalservers.com/sspanel/?game=stationeers&trckaff=3881&trckit=WIKI]]
  
[https://www.survivalservers.com/sspanel/?game=stationeers&trckaff=3881&trckit=WIKI https://i.imgur.com/crQBR1g.png]
+
 
 +
[[File:Stationeers_game_server.png|none|link=https://www.survivalservers.com/sspanel/?game=stationeers&trckaff=3881&trckit=WIKI]]
  
 
== Option #2: Creating a Stationeers Server From Your Home Computer or Dedicated Server ==
 
== Option #2: Creating a Stationeers Server From Your Home Computer or Dedicated Server ==
Line 13: Line 14:
 
Quad Core processor (requires up to 2 full cores)
 
Quad Core processor (requires up to 2 full cores)
  
Up to 16GB memory (currently uses around 6GB memory minimum and up to 15GB of memory for a full server)
+
Up to 3GB memory (currently uses around 6GB memory minimum and up to 15GB of memory for a full server)
  
 
2GB disk space (install folder)
 
2GB disk space (install folder)
  
 
[https://www.microsoft.com/en-us/download/details.aspx?id=48145 Visual C++ Redistributable for Visual Studio 2015]
 
[https://www.microsoft.com/en-us/download/details.aspx?id=48145 Visual C++ Redistributable for Visual Studio 2015]
 +
 +
Steam running
  
 
== Step 1: Fetching Game Server files from SteamCMD ==
 
== Step 1: Fetching Game Server files from SteamCMD ==
Line 28: Line 31:
 
# Place the following code in this batch file:
 
# Place the following code in this batch file:
 
::: @echo off
 
::: @echo off
::: start "" steamcmd.exe +login anonymous +force_install_dir "C:\Some\Path\Where\You\Want\Game\Server\Files\To\Go" +app_update 489650 validate +quit
+
::: 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 SteamCMD.bat and Run as Administrator
 
# Right-click SteamCMD.bat and Run as Administrator
 
# Your game server files should be completely downloaded by now
 
# Your game server files should be completely downloaded by now
Line 44: Line 47:
 
# Create a batch file named '''StationeersServer.bat''' in your newly created SteamCMD folder (Step 1) or your Steam common folder (Step 1: (alternate method)).
 
# 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:
 
# Place the following code in this batch file:
::: start "C:\stationeersserver\Stationeers\Stationeers.exe" -batchmode
+
::: start "C:\stationeersserver\Stationeers\rocketstation_DedicatedServer.exe" -batchmode -nographics -autostart
# More information will be coming on July 26 as server files are released
+
 
 +
# 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
  
 
== Step 3: Port Forwarding ==
 
== Step 3: Port Forwarding ==
Add an incoming rule to your Windows Firewall to allow UDP port 27015 as well as 27016 (or whichever port you are using).
+
Add an incoming rule to your Windows Firewall to allow UDP port 27500 as well as 27015 (or whichever ports you are using).
  
 
You may additionally need to add a forwarding rule to your network router. You can use [http://PortForward.com/ PortForward.com] to read how to do this.
 
You may additionally need to add a forwarding rule to your network router. You can use [http://PortForward.com/ PortForward.com] to read how to do this.
Line 56: Line 73:
 
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 host about this.
 
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 host about this.
  
[[File:updatecmdStationeers.png]]
+
[[File:UpdatecmdARK.png]]
  
 
METHOD 2, STEP 1: Find your server from the in-game server list!
 
METHOD 2, STEP 1: Find your server from the in-game server list!
Line 73: Line 90:
 
Now comes the fun part, setting up your Stationeers game server to your liking.
 
Now comes the fun part, setting up your Stationeers game server to your liking.
  
You must specific the port in '''\Stationeers\Default.ini'''
+
You can find a list of
 
 
<pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word; ">
 
[url]
 
Port=27015
 
</pre>
 
  
 
To modify game server settings you can open the '''\Stationeers\Default.ini'''
 
To modify game server settings you can open the '''\Stationeers\Default.ini'''
Line 85: Line 97:
  
 
<pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word; ">
 
<pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word; ">
ConnectionPort=27015
+
[SERVER]
QueryPort=27016
+
SERVERNAME=Stationeers
 +
GAMEPORT=27500
 +
UPDATERPORT=27015
 +
PASSWORD=
 +
 
 +
MAPNAME=Mars
 +
DESCRIPTION=Stationeers
 +
MAXPLAYER=30
 +
 
 +
[RCON]
 +
RCONPASSWORD=stationeers
 +
RCONIP=127.0.0.1
 
</pre>
 
</pre>
 +
 +
== 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
  
 
== Location of World Save Data ==
 
== Location of World Save Data ==
Saved/
+
saves
  
 
== Tools ==
 
== Tools ==
 
:Coming soon.
 
:Coming soon.
 
__NOTOC__
 
__NOTOC__

Latest revision as of 04:55, 14 September 2021

Creating a Stationeers game server is an easy process that can be done from either a dedicated server or your home computer.

Option #1: Renting a Stationeers server (see example control panel below!)

Control panel.gif


Stationeers game server.png

Option #2: 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)

2GB disk space (install folder)

Visual C++ Redistributable for Visual Studio 2015

Steam running

Step 1: Fetching Game Server files from SteamCMD

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

  1. Create a folder where you wish to store your Stationeers game server hosting files
  2. Inside of the folder, place the newly downloading SteamCMD.exe file
  3. Create a batch file named SteamCMD.bat
  4. Place the following code in this 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
  1. Right-click SteamCMD.bat and Run as Administrator
  2. 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:

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

Step 2: Setting up a Stationeers Dedicated Server

  1. Create a batch file named StationeersServer.bat in your newly created SteamCMD folder (Step 1) or your Steam common folder (Step 1: (alternate method)).
  2. Place the following code in this batch file:
start "C:\stationeersserver\Stationeers\rocketstation_DedicatedServer.exe" -batchmode -nographics -autostart
  1. 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

Step 3: Port Forwarding

Add an incoming rule to your Windows Firewall to allow UDP port 27500 as well as 27015 (or whichever ports you are using).

You may additionally 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 (SurvivalServers.com Customers)

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 host about this.

UpdatecmdARK.png

METHOD 2, STEP 1: Find your server from the in-game server list!

StationeersServerList.png

METHOD 2, STEP 2: Right click Steam in the task bar icons of your PC and select servers as pictured below.

Step11.png

METHOD 2, STEP 3: Select Stationeers as your game at the bottom. Join your server!

File:Step2Stationeers.png

Configuring your Stationeers Game Server!

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

You can find a list of

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

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

[SERVER]
SERVERNAME=Stationeers
GAMEPORT=27500
UPDATERPORT=27015
PASSWORD=

MAPNAME=Mars
DESCRIPTION=Stationeers
MAXPLAYER=30

[RCON]
RCONPASSWORD=stationeers
RCONIP=127.0.0.1

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

Location of World Save Data

saves

Tools

Coming soon.


Share your opinion