Editing Dedicated Server Guide
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 3: | Line 3: | ||
== Requirements == | == Requirements == | ||
* Linux or Windows system, either physical or virtualised, | * Linux or Windows system, either physical or virtualised, | ||
− | ** NOT | + | ** must NOT be being used to run a Stationeers client (the game will not permit this). |
− | |||
** if running on Windows you must have the Microsoft Visual C++ 2015, 2017 and 2019 runtime installed, [https://docs.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170 click here to download it]. | ** if running on Windows you must have the Microsoft Visual C++ 2015, 2017 and 2019 runtime installed, [https://docs.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170 click here to download it]. | ||
* ~16GB RAM (Tested and confirmed on Linux). 8GB or less and the server won't load. | * ~16GB RAM (Tested and confirmed on Linux). 8GB or less and the server won't load. | ||
Line 22: | Line 21: | ||
<code>steamcmd +login anonymous +app_update 600760 -beta beta validate +quit</code> | <code>steamcmd +login anonymous +app_update 600760 -beta beta validate +quit</code> | ||
− | |||
− | |||
== Default ports == | == Default ports == | ||
Line 37: | Line 34: | ||
|- | |- | ||
| -NEW | | -NEW | ||
− | | rowspan=2 | | + | | rowspan=2 | Worldname (string) |
− | | rowspan=2 | Starts a new game at specific world automatically from launch. Must provide world | + | | rowspan=2 | Starts a new game at specific world automatically from launch. Must provide world name as argument |
− | |||
|- | |- | ||
| -NEWGAME | | -NEWGAME | ||
Line 51: | Line 47: | ||
| -LOADLATEST | | -LOADLATEST | ||
| | | | ||
− | | | + | | command will scan the saves directory and use the latest modified world.xml save. If none is found it will be ignored. If one is found the -load command will be ignored. |
|- | |- | ||
| -JOIN | | -JOIN | ||
Line 63: | Line 59: | ||
| Absolute base directory for custom profile Ex)<br> -basedirectory C:\Profile\Player1 <br> Config Path : default.ini <code>C:\Profile\Player1\</code> <br> Save Path : <code>C:\Profile\Player1\saves\[worldname]</code> | | Absolute base directory for custom profile Ex)<br> -basedirectory C:\Profile\Player1 <br> Config Path : default.ini <code>C:\Profile\Player1\</code> <br> Save Path : <code>C:\Profile\Player1\saves\[worldname]</code> | ||
|- | |- | ||
− | | -logfile|| "path" || If no output_log.txt use this parameter. Check examples below for syntax | + | | -logfile|| "path" || If no output_log.txt use this parameter. Check examples below for syntax |
|- | |- | ||
|} | |} | ||
Line 69: | Line 65: | ||
https://docs.unity3d.com/Manual/CommandLineArguments.html | https://docs.unity3d.com/Manual/CommandLineArguments.html | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Examples == | == Examples == | ||
Line 125: | Line 109: | ||
===== Configuration from setting.xml ===== | ===== Configuration from setting.xml ===== | ||
− | setting.xml will be created once you start it up for the first time. <u>Command parameters | + | setting.xml will be created once you start it up for the first time. <u>Command parameters override setting.xml</u> |
<hr>''The server is mostly a stripped down client as such it inherits certain features'' | <hr>''The server is mostly a stripped down client as such it inherits certain features'' | ||
<hr> | <hr> | ||
Line 256: | Line 240: | ||
===In Game Admin=== | ===In Game Admin=== | ||
− | + | ADMINPASSWORD parameter must be added to setting.xml and set a password. | |
− | All commands are typed in the chat ( | + | All commands are typed in the chat (enter) by default, starting with /login |
=== Server Program Console=== | === Server Program Console=== | ||
Line 301: | Line 285: | ||
|- | |- | ||
| LOADGAME | | LOADGAME | ||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
| JOIN | | JOIN | ||
Line 332: | Line 312: | ||
|- | |- | ||
| IMGUI | | IMGUI | ||
− | | | + | | No help text :( |
| | | | ||
|- | |- | ||
Line 385: | Line 365: | ||
| | | | ||
|- | |- | ||
+ | |||
| PAUSE | | PAUSE | ||
| will pause/unpause the game (including for clients) | | will pause/unpause the game (including for clients) | ||
Line 420: | Line 401: | ||
|- | |- | ||
| NETCONFIG | | NETCONFIG | ||
− | | Change the | + | | Change the NetConfig.xml. e.g netconfig ip 127.0.0.1 |
| Arguments: | | Arguments: | ||
* list | * list | ||
Line 429: | Line 410: | ||
| Sets the default settings path to a new location. Launch command only. If none found default is used. | | Sets the default settings path to a new location. Launch command only. If none found default is used. | ||
| <full-directory-path> | | <full-directory-path> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
| TEST | | TEST | ||
Line 512: | Line 449: | ||
So try and keep the same structure in the server to prevent complications.<br> | So try and keep the same structure in the server to prevent complications.<br> | ||
''1 is core file and always need to be enabled'' | ''1 is core file and always need to be enabled'' | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
=== Storing Mods === | === Storing Mods === | ||
− | |||
WIN: C:\Users\'''USERNAME_HERE'''\Documents\My Games\Stationeers\mods\ | WIN: C:\Users\'''USERNAME_HERE'''\Documents\My Games\Stationeers\mods\ | ||
LIN: /home/'''USERNAME_HERE'''/My Games/Stationeers/mods/ | LIN: /home/'''USERNAME_HERE'''/My Games/Stationeers/mods/ | ||
OSX: /Users/'''USERNAME_HERE'''/My Games/Stationeers/mods/ | OSX: /Users/'''USERNAME_HERE'''/My Games/Stationeers/mods/ | ||
− | |||
− | |||
\Modname or workshopid\About\ | \Modname or workshopid\About\ | ||
Line 559: | Line 467: | ||
\Steam\steamapps\common\Stationeers\rocketstation_Data\StreamingAssets\ | \Steam\steamapps\common\Stationeers\rocketstation_Data\StreamingAssets\ | ||
Look for ExampleMod.zip and AttributesExampleMod.zip . | Look for ExampleMod.zip and AttributesExampleMod.zip . | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |