Stellaris Console Commands List


Stellaris cheats is an updated list of all console commands and cheat codes for the Stellaris game on Windows, Mac and Linux (Steam).

Hover over a cheat to see argument explanation and more help. Click the "Card View" button to view all commands in an easier-to-read format.


You can open the console in Stellaris by pressing the ` key, which is usually located under ESC. If you're having trouble opening the console, click here for more help.

Enter the command debugtooltip to show IDs for things like planet IDs and population IDs when you hover over them in your game.


Resources List Anomalies List Ascension Perks Event IDs Planet Classes Technology and Ship IDs Traditions Traits EU4 Console Commands HOI4 Console Commands Victoria 2 Cheats XCOM 2 Cheats

Command Name Syntax Description
3dstats 3dstats This command will toggle (enable and disable) the 3DStats feature. When 3DStats is enabled, your FPS and render time will be displayed on the screen.
achievement_status achievement_status This command will print your current achievement status to the console.
activate_all_traditions activate_all_traditions This command instantly activates perks for all traditions.
activate_ascension_perk activate_ascension_perk [ascension perk id] This command activates the specified ascension perk.
activate_tradition activate_tradition [tradition id] This command activates the specified tradition.
add_anomaly add_anomaly [anomaly category] This command adds an anomaly category for the planet that you currently have selected in-game.
add_ethic_pop add_ethic_pop [population id] [ethic id] This command adds the specified ethic to the specified population.
add_opinion add_opinion [source id] [target id] [opinion amount] This command can be used to add or remove (use negative numbers to remove) opinion from one empire to another.
add_pops add_pops [species id] [planet id] This command populates an entire planet with all of the specified species.
add_ship add_ship [ship name] This command can be used to spawn a fleet of the specified ship.
add_trait_leader add_trait_leader [leader id] [trait id] This command will add the specified trait to the leader with the specified ID. Use 'debugtooltip' to find leader IDs.
add_trait_species add_trait_species [species id] [trait id] This command adds the specified trait to the species with the specified ID.
advanced_galaxy advanced_galaxy This command causes every default empire to gain colonies, fleets and technologies (simulates the game in year 2400).
ai ai This command enables and disables (toggles) AI.
ai_anomalies ai_anomalies This command enables and disables (toggles) AI-only anomalies for human empires.
alienfx alienfx If you have an alien case, this command will attempt to integrate with AlienFX (changing your computer lights).
ambient_object ambient_object [object id] This command can be used to spawn an ambient object, relative to the specified ID.
attackallfleets attackallfleets This command makes all fleets under your control target every fleet that isn't under your control.
audio.playeffect audio.playeffect [effect name] This command can be used to play a specified sound effect.
audio.setactivegroup audio.setactivegroup [group name] This command allows you to set your active audio group.
berserk_ai berserk_ai This sets all AI aggression to 10 (making them become very aggressive).
blend_post_effect blend_post_effect [setting] [time] [mode] This command can be used to blend into a new post effect setting, relative to the specified type, transition duration and mode.
borders borders This command calculates the map borders and prints them to your console.
cash cash [amount] This command adds the specified amount of energy credits to your energy credits amount.
casusbelli casusbelli [casus belli id] [empire id] This command initiates the Casus Belli with the specified ID against the specified empire.
check_save check_save This command is used to check that saving is working properly. It creates two save files of your game and checks to see if they are the same - if they are different, it means there is likely a problem with your save/the saving feature.
clear_debug_lines clear_debug_lines This command gets rid of any 'debug lines' (things printed on the screen from debug commands that shouldn't be there anymore) from your screen.
clear_debug_strings clear_debug_strings This command removes any debug strings.
collision collision This command enables and disables (toggles) the display of collision boxes for entities in the game.
colonize colonize [population id] This command will colonize the planet you currently have selected with the population of the specified ID.
communications communications [empire id] If executed with an argument (an empire ID), this will toggle communication on or off with the specified empire. If executed without an argument ('communications' on its own), this will toggle communications on or off with all empires in the game.
contact contact This command enables contact with all empires currently in the game.
control control [planet id] This command allows you to instantly occupy the planet with the specified ID.
copy_pop copy_pop [population id] This command will copy the population with the specified ID to the planet that you currently have selected.
crash crash A little bit of a silly command - this will crash your game if you enter it into the console.
create_navy create_navy [percentage] This command will create a naval fleet with up to 100% of your naval capacity ('create_navy 0.5' for 100%). The designs used are all of your latest.
create_megastructure create_megastructure [megastructure id] This command will create the megastructure with the specified ID.
damage damage This command causes the ship you currently have selected to take the specified amount of damage.
debug_achievements debug_achievements This command will erase all achievements you have currently acquired.
debug_achievements_clear debug_achievements_clear This command can be used to debug achievements. Although untested, this likely clears all of your achievements you have acquired.
nomen nomen This will cause all empires (AI-controlled) to never (ever) agree to any deals or proposals.
yesmen yesmen This will cause all empires (AI-controlled) to always (regardless of prerequisites) agree to any deals or proposals..
debuglines debuglines This command enables or disables (toggles) debug lines.
debugtexture debugtexture [texture name] [transparency] [alpha channel] This command can be used to debug textures - see argument information for further help.
debugtooltip debugtooltip This command will toggle (enable or disable) debug tooltips. Debug tooltips show things like planet IDs, population IDs, and other useful information in tooltips when you hover over things in the game.
democratic_election democratic_election This command will forcefully start the next democratic election.
deposits deposits This command prints deposit statistics to the console.
effect effect This command executes the specified effect script.
election election This command will forcefully start the next ruler election.
engineering engineering [amount] This command adds the specified amount of engineering points to your current amount. Specify a negative value to remove engineering points.
error error This command prints errors to the game log and console.
event event [event id] [empire id] This command starts the event with the specified ID in the specified empire.
eventscopes eventscopes This command prints the scope trees of events that are currently to the console window.
eventstats eventstats This command prints statistics about events that are currently running to the console window.
factions.showallfactions factions.showallfactions This command prints a list of all factions currently in the game, along with statistics for each.
factions.showattraction factions.showattraction This command prints a list of all factions with their attraction levels.
factions.spawnall factions.spawnall This command will not work if 10 years have not passed in the game. When executed, this command will spawn all factions into the game.
fast_forward fast_forward [days] This command skips forward the specified amount of days in the game.
filewatcher filewatcher This command enables or disables (toggles) filewatcher.
finish_research finish_research This command instantly finishes all research that is currently in progress.
finish_special_projects finish_special_projects This command instantly finishes all special projects that are currently in progress.
food food [amount] This command adds the specified amount of food to your current amount. Specify a negative value to remove food.
force_integrate force_integrate [empire id] This command causes the empire with the specified ID to integrate into your empire.
free_government free_government This command toggles (enables or disables) the time limit that prevents you from changing governments too soon after another.
free_policies free_policies This command enables or disables (toggles) your ability to make policy changes with no restrictions.
ftl ftl This command enables or disables (toggles) faster than light travel.
fullscreen fullscreen This command enables or disables (toggles) fullscreen mode.
game_over game_over [victory type] This command forcefully ends the game with either domination (0), federation (1) or conquest (2).
gfxculture gfxculture [culture id] This command can be used to change your empire's graphical culture (the way it looks).
goto goto [x] [y] This command will move your camera to the specified X and Y coordinates.
grow_pops grow_pops [growth rate] This command will speed up the growth of the population of the planet you currently have selected in-game.
guibounds guibounds This command will display bounds around GUI elements currently on the screen.
hdr hdr This command enables or disables (toggles) the graphics setting for high-dynamic-range rendering.
help help [command] If executed with no arguments, this will print a list of all commands in the game. If a command is specified as an argument, this command will print help for the specified command.
hsv hsv This command converts HSV to RGB.
human_ai human_ai This command enables or disables (toggles) AI for humans.
influence influence [amount] This command will credit you with the specified amount of influence points.
info info This command enables or disables (toggles) debug information.
instant_build instant_build This command causes all building (including ships, upgrades, stations, etc) to be instantly completed, rather than take time to build. The effects of this command apply to everything in the game (including AI) so it is recommended that you pause your game before using it.
intel intel [low / high] This command can be used to change the intel level of the space you currently have discovered - 0 for low, 1 for high.
invincible invincible This command will make all of your ships invincible (they will not be able to take any damage).
kill_country kill_country [empire id] This command will kill your current empire if no ID is specified. Specify the ID of an empire to kill that empire.
kill_leader kill_leader [leader id] This command will kill the leader with the specified ID.
kill_pop kill_pop [population id] This command will kill the population with the specified ID.
kill_ruler kill_ruler [population] This command will kill the ruler with the specified ID.
lockcamera lockcamera This command enables and disables (toggles) the locking of the camera. If the camera is locked, it will not move from its current position until unlocked via console command.
map_names map_names This command prints a list of all of the map names..
mature_galaxy mature_galaxy This command skips forward 100 years, simulating a 'mature galaxy'. Useful if you want to skip ahead at the start of the game.
max_resources max_resources This command gives you the maximum amount of all resources in your resource storages.
memtest memtest [iteration count] This is an advanced debug command. It is used to test for memory leaks.
message message This command prints a list of message types.
minerals minerals [amount] This command adds the specified amount of minerals to your minerals storage.
nogui nogui This command enables or disables (toggles) the GUI.
nomouse nomouse This command enables or disables (toggles) the scrollwheel.
observe observe This command enables observer mode, use 'play 00' to exit.
overnight overnight [ticks to skip] This command can be used to set the game into 'overnight session' mode. This causes the game to skip the specified amount of ticks after each tick (so you can leave your computer on over night and the game will run slower).
own own [planet id] This command can be used to claim the planet with the specified ID for your current empire (may also work for fleets, starbases, colonies, etc).
particle particle This command enables or disables (toggles) particle debug information.
particle_editor particle_editor This command opens the particle editor window.
path path [start index] [end index] This command can be used to find paths between stars.
peace_on_player peace_on_player [empire id] This command forces the empire with the specified ID to offer peace to you.
physics physics [amount] This command will credit you with the specified amount of physics points.
planet_class planet_class [planet class] This command will change the class of the planet you currently have selected to the specified planet class.
planet_happiness planet_happiness [amount] This command adds the specified amount of happiness to the planet you currently have selected. It will not allow happiness to go above its 'legitimately' obtainable limit.
planet_resource planet_resource [resource id] [amount] This command will add the specified amount of the specified resource to the planet you currently have selected.
planet_size planet_size [tile amount] [planet id] This command can be used to change the size of the planet with the specified ID. The maximum size is 25, larger numbers can cause problems with your game.
planets planets This command prints a list of all planet classes, and the amount of them in the current game.
play play [empire id] This command can be used to play as/switch to another empire. Your starting empire has an ID of 00. This command will cause the empire you switch from to be governed by AI.
populate populate [planet id] This command fully populates all free slots on the planet you current have selected in-game.
production production This command prints debug information about production.
random_ruler random_ruler This command replaces the ruler of your current empire with a random ruler.
recalc_fleet_presence recalc_fleet_presence This command is a debug tool, when executed it will recalculate the fleet presence cache.
regenerate_border_colors regenerate_border_colors This command will change the border colors of empires that share the same color (one border color will be changed, the other color will stay).
reload reload [file] This command will reload all of the assets the game currently has loaded.
reload_galaxy reload_galaxy This command starts a new game.
reload_graphical_map reload_graphical_map This command reloads the GUI map, useful if you encounter a bug/glitch.
reloadfx reloadfx [map / .fx file] This command reloads the game's shaders.
remove_ethic_pop remove_ethic_pop [population id] [ethic id] This command removes the specified ethic from the population with the specified ID.
remove_notification remove_notification This command will remove all notifications currently on the screen.
remove_trait_leader remove_trait_leader [leader id] [trait id] This command removes the trait with the specified ID from the leader with the specified ID.
remove_trait_species remove_trait_species [species id] [trait id] This command removes the trait with the specified ID from the species with the specified ID.
rendertype rendertype This command prints the current rendering system that is being used to the console.
research_all_technologies research_all_technologies [creature / crisis] [repeatable] This command will instantly research all non-repeatable technologies if no arguments are specified. See argument information for details on researching repeatable, crisis and creature technologies.
research_technology research_technology [tech id] This command will research the technology type with the specified ID.
resource resource [resource id] [amount] This command will credit you with the specified amount of resource points.
resources resources This command prints resource statistics to the console.
reverse_diplo reverse_diplo [diplomatic action id] [empire id] This command will send the specified diplomatic action from the specified empire to the empire you are currently playing as.
run run [file name] This command will run a list of commands in .txt file that is within the root game directory.
scaling scaling This command enables or disables (toggles) the scaling of models.
skills skills [amount] This command adds the specified amount of levels to every skill that each of the leaders under your control have.
smooth smooth This command enables and disables (toggles) Stellaris' graphical frame smoothing feature.
society society [amount] This command will credit you with the specified amount of society research points.
spawnentity spawnentity [entity id] This command will spawn the entity with the specified ID at the current location of your cursor/mouse in the game.
srgb srgb This command enables and disables (toggles) SRGB color.
surrender surrender [empire id] [war id] This command makes the empire with the specified ID surrender in the specified war. If you do not provide a war ID as a second argument, a list of IDs for wars the specified empire is currently engaged in will be printed.
survey survey Provided you have at least one science strip, this command will survey all planets.
switchlanguage switchlanguage [language name] This command will switch to the specified language/localization type. If you specify the name of the language you are already using, this will reload the language file (so you do not need to restart your game if you have made changes).
techupdate techupdate This command will refresh the technology tree (randomizes your current research options).
techweights techweights [tech area] This command prints the weights for the specified technology tree.
terraforming_resources terraforming_resources [amount] This commands adds the specified amount of terraforming resources to the planet you currently have selected.
test_achievement test_achievement [achievement id] This is a debug tool. It will test the trigger of the achievement with the specified ID.
threading.taskthreadscount threading.taskthreadscount This command prints the amount of threads the game is currently utilizing.
ticks_per_turn ticks_per_turn [tick amount] This command can be used to adjust the amount of ticks per turn in the game. This can be used to speed up the game.
time time This command prints the current time of your computer (not the game).
trigger trigger [script name] This command will execute the test script with the specified name.
trigger_docs trigger_docs This command prints information regarding triggers and their effects.
trigger_file trigger_file This is an advanced debug command. It will test the specified trigger script file (and also crash your game).
unlock_edicts unlock_edicts This command will instantly unlock all of the game's edicts for application to either a planet or your entire empire (it will not apply them, just unlock them).
unity unity [amount] This command adds the specified amount of unity.
version version This command copies the current version of the game you are running to your clipboard. Useful for reporting bugs.
volume volume [volume] This command will set your game volume to the specified delta value.
war_on_player war_on_player [empire id] This command will make the empire with the specified ID declare war on your current empire.
war war [declarer empire id] [subject empire id] [war goal id] This command will make a specified empire declare war on another specified empire with a war goal of your choice.
warexhaustion warexhaustion [amount] This command adds the specified amount of war exhaustion to all of your empire's active wars.
window window [open / close] [gui name] This command opens or closes (relative to the specified argument) the specified GUI.
wireframe wireframe This command enables and disables (toggles) wireframe.
draw.asteroids tweakergui draw.asteroids This command enables and disables (toggles) the rendering of asteroid belts.
draw.background tweakergui draw.background This command enables and disables (toggles) the background of the game/sky.
draw.borders tweakergui draw.borders This command enables and disables (toggles) the rendering of borders.
draw.center tweakergui draw.center This command enables and disables (toggles) the flow in the center of the galaxy.
draw.clusters tweakergui draw.clusters This command enables and disables (toggles) the drawing of clusters.
draw.combatdebuglines tweakergui draw.combatdebuglines This command enables and disables (toggles) the target line that is drawn between a ship and the target it is currently attacking.
draw.dust tweakergui draw.dust This command enables and disables (toggles) galaxy dust visibility.
draw.greenscreen tweakergui draw.greenscreen This command will show a greenscreen behind the background - you need to disable the background to see it (useful for pictures and videos).
draw.hyperlanes tweakergui draw.hyperlanes This command enables and disables (toggles) hyplerlanes visiblity.
draw.names tweakergui draw.names This command enables and disables (toggles) the display of names for things like empires and galaxies in the map.
draw.navigationarrows tweakergui draw.navigationarrows This command enables and disables (toggles) the navigation arrows that show in-game.
draw.nebula tweakergui draw.nebula This command enables and disables (toggles) the visibility of nebulas.
draw.neighbors tweakergui draw.neighbors This command enables and disables (toggles) the visibility of the lines that connect a system to its neighbours and those that divide the map into cells.
draw.objects tweakergui draw.objects This command enables and disables (toggles) the visibility of objects on the screen like stars, ships, stations and planets.
draw.pathtosystem tweakergui draw.pathtosystem This command enables and disables (toggles) the 'path to system' feature. When this feature is enabled, the path of ships to different systems will be drawn on the screen, along with an estimation of the time it will take for them to arrive.
draw.sensor tweakergui draw.sensor This command enables and disables (toggles) the visibility of ships and owned systems sensor ranges (they are usually visible as green dashed circles).
draw.shipintersection tweakergui draw.shipintersection This command enables and disables (toggles) the display of the ship intersection.
draw.stars tweakergui draw.stars This command shows and hides (toggles) black holes and stars.
draw.systeminit tweakergui draw.systeminit This command enables and disables (toggles) the visibility and a systems initialisation template.
draw.systemlines tweakergui draw.systemlines This command shows and hides planetary orbits, warp bounds and outer bounds.
draw.tigrid tweakergui draw.tigrid This command shows and hides the galaxy map grid.
draw.trails tweakergui draw.trails This command enables or disables (toggles) ship trail visibility.
draw.weaponlocators tweakergui draw.weaponlocators This command shows and hides (toggles) weapon locators.
enable.ai tweakergui enable.ai This command enables and disables (toggles) AI.
enable.asserts tweakergui enable.asserts This command enables and disables (toggles) asserts.
enable.framesmoothing tweakergui enable.framesmoothing This command enables and disables (toggles) frame smoothing.
endscreen tweakergui endscreen This command opens the end-game screen.
entity.names tweakergui entity.names This command enables and disables (toggles) entity names showing.
entity.recursiveboundingvolumes tweakergui entity.recursiveboundingvolumes This command enables and disables (toggles) recusive bounding volumes.
gui.wireframe tweakergui gui.wireframe This command enables and disables (toggles) the GUI's wireframe.
instant_colony tweakergui instant_colony This command enables and disables (toggles) the wait-time it takes for colony ships to settle (if enabled, there will be no wait).
instant_move tweakergui instant_move This command enables and disables (toggles) the travel time it takes for ships to move. If enabled, ships will instantly teleport to whether they are directed to.
maxfps tweakergui maxfps [fps cap] This command can be used to set an FPS limit for your client. If executed with no arguments, this will remove the FPS limit.
mesh.miplevels tweakergui mesh.miplevels This command prints a list of all texture mipmap levels.
mesh.names tweakergui mesh.names This command is untested - it likely prints a list of loaded textures.
mesh.texturenames tweakergui mesh.texturenames This command prints a list of all texture locations on your filestystem.
mesh.wireframe tweakergui mesh.wireframe This command shows and hides (toggles) the wireframe visiblity of models (not the GUI).
music.fade tweakergui music.fade This song fades the currently playing music track into the next.
music.next tweakergui music.next This command makes the next song queued play.
normals tweakergui normals This command shows normalisation points for nodes.
pathfindcache tweakergui pathfindcache This command likely clears the pathfinding cache (frees up memory).
popfactionlogs tweakergui popfactionlogs This is a debug command. It will print logs (to console or a log file) regarding populations and factions.
portraits tweakergui portraits This command is a debug command, used when portrait modding.
portraits.poplevel tweakergui portraits.poplevel This command is a debug command, used when portrait modding.
terraincognita tweakergui terraincognita This command will reveal all space that is currently uncharted.