These Stationeers console commands cover server admin, world settings, and player management. Add yourself as admin before you run them in game, and connect to your server first. Prefix each command you send in game with serverrun.
| Command |
Syntax |
Parameters |
Description |
HELP |
HELP |
commands, list (l), <key>, tofile |
Displays help. tofile prints the help output to a file. |
CLEAR |
CLEAR |
None |
Clears all console text. |
QUIT |
QUIT |
None |
Quits the game immediately, without prompts. |
EXIT, LEAVE |
EXIT or LEAVE |
None |
Leaves the session and returns to the Start menu. |
RESET |
RESET |
None |
Restarts the application. |
VERSION |
VERSION |
None |
Returns the game version. |
LOGTOCLIPBOARD |
LOGTOCLIPBOARD |
None |
Copies the console buffer to the system clipboard. |
SAVE |
SAVE <foldername> |
<foldername>, delete <foldername>, list |
Saves the current game to the specified path. |
LOG |
LOG |
<logname> (optional), clear |
Dumps the logs to a file. |
SETTINGS |
SETTINGS servermaxplayers 5 |
list, print, <PropertyName> <Value> |
Changes settings.xml. |
STATUS |
STATUS |
None |
Displays information about the state of the server. |
NETWORK |
NETWORK |
None |
Returns the current network status. |
PAUSE |
PAUSE true |
true, false |
Pauses or unpauses the game, including for clients. |
MASTERSERVER |
MASTERSERVER refresh |
refresh |
Commands for interacting with the Master Server. |
| Command |
Syntax |
Parameters |
Description |
NEW, NEWGAME |
NEW worldName |
worldName |
Starts a new game on that world from launch. |
LOAD, LOADGAME |
LOAD <foldername> |
<foldername> |
Loads a saved world file. |
LOADLATEST |
LOADLATEST <foldername> |
<foldername> |
Loads the latest saved file, including autosaves. |
ATMOS |
ATMOS |
pipe, world, room, global, thing |
Enables atmosphere debugging. |
THING |
THING |
find, delete, spawn |
Thing commands. With no arguments, returns the total thing count. |
REGENERATEROOMS |
REGENERATEROOMS |
None |
Regenerates all rooms for the world. |
STORMBEGIN |
STORMBEGIN |
None |
Starts a weather event. |
STORMEND |
STORMEND |
None |
Stops a weather event. |
SUNTIME |
SUNTIME time |
time |
Sets the time of day between 0 and 1. 0 is sunrise and 0.5 is sunset. |
DELETELOOSEITEMS |
DELETELOOSEITEMS |
None |
Removes every item in the world that is not in a slot. |
| Command |
Syntax |
Parameters |
Description |
KICK |
KICK clientId |
clientId |
Disconnects that client from the game. |
BAN |
BAN clientId |
clientId |
Bans a client from the server. Server-only command. |
SAY |
SAY |
None |
Sends a message to all connected players. |
JOIN, JOINGAME |
JOIN [address]:[port] |
[address]:[port] |
Joins a client to the server. |
CLEANUPPLAYERS |
CLEANUPPLAYERS dead |
dead, disconnected, all |
Cleans up player bodies. |
| Command |
Syntax |
Parameters |
Description |
STEAM |
STEAM |
None |
Checks whether Steam is initialized and whether DLC is purchased. |
TESTBYTEARRAY |
TESTBYTEARRAY |
reference ID |
Tests whether each item’s network read and write functions stay in parallel. Editor only. Supply a reference ID to check one item. |
ROCKETBINARY |
ROCKETBINARY |
toggleloglength, togglelogbps |
Starts logging the size of each section of a delta update. |
IMGUI |
IMGUI |
None |
Toggles ImguiInWorldTestCube on or off. |
KEYBINDINGS |
KEYBINDINGS |
reset |
Displays the keybindings bound to LocalHuman. reset resets the keybindings stack. |
DEBUGTHREADS |
DEBUGTHREADS |
GameTick |
Shows how long the worker threads take to run. |
DISCORD |
DISCORD |
None |
Interaction with the Discord SDK. |