Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

ConsoleCommands

From Stationeers Community Wiki

Console commands

In-game commands for the development console (F3). Many are debug tools, but several are genuinely useful for players.

This page has just been created and is lacking some in-depth details about the less common commands right now!

Tag legend

launch usable as launch argument   requires game requires a loaded world   host / sp only host or singleplayer only   multiplayer multiplayer   singleplayer singleplayer   creative only creative mode only

Most useful:

● difficulty
$ difficulty <?difficulty>
View or change the current difficulty setting.
tags:launchhost / sp only
● file forceallowsave


Emergency recovery command. Forces the internal "is saving" flag back to false if the game thinks it is still saving and refuses further saves. Use only as a last resort.
tags:host / sp only
● regeneraterooms


Forces the room system to regenerate everywhere.
tags:requires gamehost / sp only
● unstuck
$ unstuck <>
Attempts to free your character if you become stuck in geometry or structures. Extremely useful.
tags:requires game
● emote
$ emote happy, surprised, open, none, angry, dead, reset
Makes your character perform an emote. Supports duration and intensity.
tags:requires game
● expression
$ expression list, <expressionname>
Triggers a custom facial expression on your character (use list to see options).
tags:requires game
● say
$ say <message>
Sends a chat message to all connected players.
tags:multiplayer
● player
$ player list, setmood, sethygiene, setnutrition, sethydration
View players or adjust your (or others') mood, hygiene, nutrition and hydration values.
tags:requires game
● pause
$ pause true, false
Pauses or unpauses the entire game simulation (works for clients too when hosting).
tags:host / sp only
● teleport
$ teleport <x> <y>
Teleports you to the given coordinates. Only works in creative mode.
tags:requires gamecreative only
● file
$ file very complex - see below
Powerful save/load and station management command. Can be used both in-game and as a launch argument.
tags:launchrequires game
● save
$ save <filename> delete (d/rm) <filename>, list (l)
Quickly save the game, list saves, or delete specific save files.
tags:requires game
● load (also loadgame) deprecated, use file Start
$ load list, <filename>
Load a specific save file.
tags:launchrequires game
● loadlatest deprecated, use file Start
$ loadlatest <savename>
Loads the most recent save (including autosaves).
tags:requires game
● storm
$ storm start, stop, debug
Manually start or stop weather events.
tags:requires game
● keybindings
$ keybindings reset
Shows all your current keybindings. The reset option can fix broken input.


● windowheight
$ windowheight <height>, reset (r)
Lock the console window to a specific number of lines or reset to automatic sizing.


● logtoclipboard


Copies the entire current console output to your system clipboard. Great for bug reports.


● clear


Clears the console window.


● version


Prints the current game version.


● world


Prints information about the current world settings.
tags:requires game
● help
$ help commands, list (l), <key>, tofile
The main help command. Run -help commands to list everything, or -help <command> for details on one command.



About the file command

The file command is a powerful, multi-purpose command for managing stations and saves. A station is a named save profile (e.g. "My Survival RunSaveGame") - all saves for that playthrough live inside saves/<stationname>/, organized into auto/, quick/, and manual/ subfolders plus a "head" save. Because file is registered as a launch command, it works both in-game and on the command line:

Server.exe -file start "MyMarsMess" Mars2 Normal
● file start
$ file start <stationname> [worldid] [difficulty] [startcondition] [startlocation]
The main way to load or create a game. If a station named <stationname> already exists, loads its most recent save. If it does not exist, starts a fresh game on the given world. worldid is required when creating a new station (e.g. Lunar, Mars2, Eurpa3, Vulcan2, Mimas, Venus). difficulty defaults to Normal but can be set to Stationeer Creative and Easy.startcondition and startlocation are optional and fall back to world defaults when omitted.
tags:launchhost / sp only
● file new
$ file new <stationname>
Creates a new empty station folder with the given name without starting a game. Usually you can skip this and go straight to file start on a non-existing station.
tags:host / sp only
● file save


Saves the current game into the "head" save slot of the active station. Equivalent to a normal in-game manual save.
tags:requires gamehost / sp only
● file saveas
$ file saveas <savename>
Creates a named manual save for the current station. Useful for checkpoints, e.g. -file saveas BeforeBigProject.
tags:requires gamehost / sp only
● file quicksave


Creates a quicksave for the current station (written into the quick/ subfolder).
tags:requires gamehost / sp only
● file load
$ file load <fullpath>
Loads a specific .save file by its full absolute path. The path must be inside the official saves root and the file must have a .save extension. The station name is inferred from the folder structure. Example: -file load "C:\...\saves\My Station\manual\checkpoint.save"
tags:host / sp only
● file loadlatest
$ file loadlatest <stationname> [auto/quick/manual]
Loads the most recent save for the given station. The optional second argument filters by save type — omit it to pick the newest save across all folders.
tags:host / sp only
● file list


Lists the full paths of all known save files across all stations.
tags:host / sp only
● file info


Prints the current save root directory path and the name of the currently loaded station. Useful for debugging save paths.


● file deletesave
$ file deletesave <fullpath>
Deletes a single save file. The path must be inside the saves root — files outside the official save folder are refused.
tags:host / sp only
● file deletestation
$ file deletestation <fullpath>
Recursively deletes an entire station folder and all saves inside it. The path must be inside the saves root. Extremely destructive — use with caution.
tags:host / sp only
● file forceallowsave


Emergency recovery command. Forces the internal "is saving" flag back to false if the game thinks it is still saving and refuses further saves. Use only as a last resort.
tags:host / sp only

The remaining commands are mostly developer/debug tools.

● achievements


Debugging commands for the achievement system.


● addgas Oxygen, Nitrogen, CarbonDioxide, Volatiles, Pollutant, Water, NitrousOxide
$ addgas <type> <target> <ammount_mols> [temperature] (temp is optional)
Directly adds gas of a chosen type to a thing by ID (amount + temperature).
tags:requires gamehost / sp only
● atmos
$ atmos pipe, world, direction, room, global, thing, cleanup, count, liquid
Toggles various atmosphere and gas debug things.
tags:requires game
● ban
$ ban <clientId>, refresh
Bans a player from the server.
tags:host / sp only
● camera
$ camera shake
Various camera-related debug functions.


● cleanupplayers
$ cleanupplayers dead, disconnected, all, bodybags
Removes player corpses and body bags.
tags:requires gamehost / sp only
● clientinfo
$ clientinfo list, remove <index>
Manage serialized client information (mainly for debugging network clients).
tags:host / sp only
● clients


Lists all currently connected clients.
tags:host / sp only
● debugthreads
$ debugthreads GameTick, Terrain
Shows timing information for the main worker threads.


● deletelooseitems


Deletes every item that is not currently inside a slot. Think of it this way: If running into it makes it move, it will be deleted.
tags:requires gamehost / sp only
● deleteoutofbounds


Removes objects and atmospheres that have gone outside the world bounds.
tags:requires gamehost / sp only
● densepools


Shows the current state of all dense object pools (performance debugging).


● discord


Commands related to Discord Rich Presence / SDK integration.


● dlc
$ dlc shared
DLC-related debug functions.


● entity
$ entity state <playerName OR referenceId>
Entity state inspection and manipulation.
tags:requires game
● exit (also leave)


Leaves the current game and returns to the main menu.


● exportworld


Exports the current world as a new WorldSettings file.
tags:requires gamehost / sp only
● geyser
$ geyser export <directory>
Helps with geyser placement and exports geyser data.
tags:requires game
● helperhints
$ helperhints Dismiss, Complete, Trigger
Tools for testing and manipulating world objectives / helper hints.
tags:requires game
● imgui


Toggles various ImGui debug windows and overlays.


● join (also joingame)
$ join [address]:[port]
Joins a multiplayer server.
tags:launch
● kick
$ kick <clientId>
Kicks a client from the server.
tags:host / sp only
● legacycpu
$ legacycpu enable, disable
Enables a compatibility mode for lower-end CPUs.


● liquid
$ liquid show, renderer, solver, WorldVolume
Liquid simulation and rendering debug tools.
tags:requires game
● listnetworkdevices
$ listnetworkdevices id
Lists pipe, cable, chute and other networks.
tags:requires game
● localization


Shows localization / translation information.


● lod


Level-of-detail debug information and window.


● log
$ log <logname> (optional), clear
Dumps logs to disk or clears them.


● loworbitstation
$ loworbitstation spawnmount <x> <y> <z>
Spawns low-orbit station related objects for testing.
tags:requires gamecreative only
● map


Opens debug minimap tools.


● masterserver
$ masterserver refresh
Interacts with the master server (server list, etc.).


● minables
$ minables range
Toggles visual debug for minable resources.
tags:requires game
● netconfig


View or edit NetConfig.xml values at runtime.


● network


Prints current network status and connection info.


● networkdebug


Opens the network debugging window.


● new (also newgame)
$ new worldname, difficulty, startcondition
Starts a brand new game (can be used as launch command).
tags:launch
● orbit
$ orbit debug, view, celestials, simulate, set, timescale, makeoffset
Controls and inspects the orbital simulation system.
tags:requires game
● physics


Physics engine debug and inspection commands.
tags:requires game
● plant
$ plant grow <parent thing id>
Plant growth and state debugging.
tags:requires game
● power


Power grid and battery debug commands.
tags:requires game
● prefabs
$ prefabs Thumbnails
Source prefab validation and thumbnail tools (mostly editor).


● printgasinfo


Prints gas phase change data (triple/critical points).


● profiler
$ profiler enable, disable
Toggles the built-in profiler.


● quit


Immediately exits the game with no confirmation.


● region
$ region debug
Terrain region debugging.
tags:requires game
● reloadterraintexture


Reloads terrain textures from disk.


● reset


Restarts the entire application.


● rocket


Rocket and spaceflight related debug commands.
tags:requires game
● roomevaluator May be provided by a mod


Room evaluation and debugging tool.
tags:requires game
● serverrun
$ serverrun Command
Executes a command on the server from a client.
tags:multiplayer
● setbatteries


Battery and power cell state manipulation.
tags:requires game
● settings


Read or change settings.xml values live (e.g. servermaxplayers).


● settingspath
$ settingspath <full-directory-path>
Changes where the game looks for settings (launch command only).
tags:launch
● slp Mod command


SLP (ModLoader) commands if installed.


● spacemap
$ spacemap regenerate, fill, chart, testpaths
Space map / star map debugging and generation tools.
tags:requires game
● spacemapnode
$ spacemapnode <id>
Inspect and manipulate individual space map nodes.
tags:requires game
● status


Prints a broad overview of server and world state.
tags:host / sp only
● steam


Steamworks integration testing commands.


● structure
$ structure completeall
Structure-related debug (instant completion, etc.).
tags:requires gamecreative only
● structurenetwork
$ structurenetwork chute, rocket
Debugs conveyor, chute and rocket logistics networks.
tags:requires game
● systeminfo


Prints detailed information about your hardware and OS.


● terrain
$ terrain debug, cursor
Terrain editing and cursor debugging tools.
tags:requires game
● terraineditor


Opens the terrain heightmap import/editor tools.


● test


Internal test command that prints colored console samples.


● testbytearray


Tests network serialization of all (or one) things. Editor only.


● testoctree
$ testoctree [number of iterations]
Benchmarks octree density reads.


● thing
$ thing No args (count), find, delete, spawn, info, info-verbose, countanimator, blueprint, thumbnail, spawnvel, checkslots
General thing inspection, spawning, and deletion. Extremely powerful.
tags:requires gamehost / sp only
● trader
$ trader regenerate, land, depart, contacts, buys, sells, evaluate, checksum
Trader arrival, trading lists, and debug tools.
tags:requires game
● upnp


Shows UPnP / port forwarding status.


● vegetation
$ vegetation set, debug
Controls or visualizes vegetation density per chunk.
tags:requires game
● worldsetting


Real-time editing of certain world settings (WIP).
tags:requires game