Using admin commands

Introduction

Admin commands allow you to moderate players, manage gameplay, and control your Stationeers server directly in-game. This is useful for community servers, events, or troubleshooting situations.

Reading time: 5mins

Prerequisites / Disclaimers

  • Access to your server control panel.

  • The server must be restarted after assigning admin permissions.

  • Admin permissions grant full control over the server. Use responsibly.

Purpose

This guide will walk you through assigning yourself as an admin and using admin commands in-game on your Stationeers server.

Procedure

Part 1 – Adding Yourself as an Admin

  1. Stop your Stationeers server from the control panel.




  2. Navigate to the Server Options.




  3. Locate the Server Auth Secret parameter.



  4. Enter a secure passphrase, we recommend a randomly generated string of numbers, letters and symbols.

  5. Save by left-clicking away from the box.

  6. Start your server by navigating to Console again and clicking start (if stopped) or restart (if running already).

  7. Now on your own PC open File Explorer

  8. Navigate to ./Documents/My Games/Stationeers/



  9. Open the file setting.xml with Notepad or your preferred text-editor

  10. Go-to line 81 and replace <ServerAuthSecret /> with <ServerAuthSecret>yourpass</ServerAuthSecret>

    1. Tip: Replace “yourpass” with your secure passphrase you set in step 4; these must match exactly.

  11. Save the file and proceed to Part 2 below.

Part 2 – Using Admin Commands In-Game

Notice: Your command outputs will not appear in-game after execution, they will appear in your server’s Console window.

  1. Join your Stationeers server.

  2. Open the console by pressing F3.

  3. Enter the desired admin command by prefixing it with serverrun and press Enter.

    Common examples:

    • Kick a player

      • serverrun kick clientId

    • Ban a player

      • serverrun ban clientId

    • Send a message to all players

      • serverrun say your message

    • Get a list of all commands

      • serverrun help

If configured correctly, the command will execute immediately and will be displayed in the server’s console window found in the Game Panel.

End

You now have administrative access to your Stationeers server and can manage players and server activity as needed.

See our offers!

Check out our offers today! - Click here

Need support?

Raise a support ticket for any enquiries or issues. - Click here