To run Stationeers commands as admin on your server, set the same secret password on the server and in your game's setting.xml, then type serverrun before each command.

The server only accepts admin commands from a game that knows its secret password. Set it in two places: on your server and on your computer.

1. Define secret password on the server for Stationeers commands

  1. Press STOP to stop your server.
  2. In the game panel, go to Configuration Files and edit the file settings.xml with the Config Editor option.
  3. Define an Admin Password and save the file.
  4. Press START to start your server.

2. Define secret password on your computer

  1. Close the Stationeers game.
  2. Open File Explorer on your computer and go to this folder: %userprofile%\documents\My Games\Stationeers\ (copy and paste it into the File Explorer address bar at the top, as in the image below).

File Explorer address bar with the Stationeers documents folder and the setting.xml file highlighted

  1. Edit the setting.xml file and find the line: <ServerAuthSecret />
  2. Replace <ServerAuthSecret /> with:
    <ServerAuthSecret>SAME_ADMIN_PASSWORD_YOU_DEFINED_ON_YOUR_SERVER</ServerAuthSecret>
    Put your own password from step 1 in place of SAME_ADMIN_PASSWORD_YOU_DEFINED_ON_YOUR_SERVER, then save the file.

Run Stationeers commands in game

You can now execute server commands from inside your Stationeers game. Open the console with F3 and put serverrun in front of the command, for example:

  • serverrun save "myworld" - saves the world as myworld
  • serverrun say Hello World - sends a message to everyone on the server

Type help in the console to see the list of commands your game version supports.

Questions

How do I use Stationeers commands on my dedicated server?

Set an Admin Password in settings.xml on the server, put the same password in <ServerAuthSecret> in setting.xml in Documents\My Games\Stationeers on your computer, then open the console with F3 in game and type serverrun followed by the command.

Why don't my admin commands work?

Usually the passwords don't match exactly, the game was open while you edited setting.xml, or serverrun is missing in front of the command. Close the game, check both passwords and try again.

Want your own Stationeers server? See Stationeers server hosting.

Related guides

Need help with admin commands? Open a support ticket. Our support team is available 24/7.

Czy ta odpowiedź była pomocna? 3 użytkowników uznało to za przydatne (8 Głosy)