Console commands in Starfield are a great way to mix up your experience on PC — and from making yourself immortal, summoning new weapons, or reviving NPCs, there’s plenty that can be done with these cheats.
Bethesda has always offered a high degree of player freedom in their RPGs, evidenced by their continuous mod support for Skyrim, Fallout 4, and even mods for Starfield itself. Console commands offer fans another way to customize their experience, so here’s how you can use them in-game.
How to use console commands
To enable console commands in Starfield, you first have to press the tilde (~) key. At the touch of the button, Starfield will halt the action and open its console command display.
From there, it’s just a matter of typing in your desired code and pressing the enter key to trigger the effect.
Best console commands in Starfield
While the best commands will typically depend on the kind of experience you’d want in your Starfield playthrough, there are a handful that are particularly useful in any playthrough:
- unlock – Unlocks Doors and Containers. Great way to bypass any trickier locked doors without having to waste lockpicks.
- kah – If you want to get out of trouble quickly, this command will Eliminate all hostile NPCs in the area.
- player.additem 0000000f – Adds Credits to your inventory.
- psb – Immediately unlock all Player Spellbook powers.
- tim – Toggles Immortal Mode on. With it you can still take damage but your HP will never hit 0.
- tgm – Activates God Mode. You won’t take any damage, and you’ll have access to infinite ammo.
- resurrect – Revives NPCs. Handy if you lose any allies during a firefight.
List of all cheats
Below, we’ve included a full list of every console command in the space RPG and the cheat’s particular effects:
Subscribe to our newsletter for the latest updates on Esports, Gaming and more.
Console Command | Effect |
---|---|
tgm | Activates God Mode – Grants invulnerability and infinite ammunition. |
player.setav carryweight (carryweight number) | Modifies carryweight capacity – Replace (carryweight number) with your desired carryweight amount. |
additem (Item ID) (Value) | Inserts Items – The chosen items in place of ‘(Item ID)’ will be added to your inventory (refer to our separate item ID list). |
tim | Activates Immortal Mode – Allows you to receive damage without ever dropping to 0 health. |
psb | Unlocks all Player Spellbook powers. |
player.additem [Item ID] [#] | Adds a specified item to your inventory. |
player.setav health [#] | Sets your max health level |
player.setav speedmult [#] | Set player speed multiplier. Set this number to anything more than 100 to speed up movement |
ToggleImmortalMode | Activates Immortal mode – Health, O2, and Magic can reduce but never hit 0. |
player.removeperk (Perk ID) | Eliminates Skills, Traits, or Backgrounds – Removes the specified ‘(Perk ID)’ Skill, Trait, or Background. |
player.addperk (Perk ID) | Inserts Skills, Traits, or Backgrounds – Adds the specified ‘(Perk ID)’ Skill, Trait, or Background. Requires at least one Skill point to work. |
tdetect | Activates Toggle Detect – NPCs can no longer detect you. |
tcai | Activates Toggle Combat AI – Prevents Combat AI from targeting you. Reactivate to toggle on/off. |
tcl | Activates No Clip – Disables character collision, allowing passage through walls and objects. Reactivate to toggle on/off. |
tm | Activates Toggle Menus – Turns UI menus on/off. |
tfc | Activates Freefly Camera – Detaches the camera from the player for free map exploration. |
(Ref ID).amod (OMOD ID) | Attaches Weapon Mods – Applies specified weapon mods in place of ‘(OMOD ID)’ to your ‘(Ref ID)’ reference weapon. |
(Ref ID).rmod (OMOD ID) | Removes Attached Weapon Mod – Takes off specified weapon mods in place of ‘(OMOD ID)’ from your ‘(Ref ID)’ reference weapon. |
killall | Exterminates All NPCs – Eliminates all NPCs in the vicinity. |
kah | Eliminates All Hostiles – Destroys all hostile NPCs in the vicinity. |
resurrect | Revives NPC – Brings the selected NPC back to life. Select the NPC in the console command menu to see their Reference ID, then input the code. |
unlock | Unlocks Doors and Containers – Unseals your current target door or container. Select the door in the console menu, then enter the command. |
sexchange | Alters your character’s gender. |
showmenu sleepwaitmenu | Displays the sleep/wait menu without needing a bed or chair. |
player.setlevel (Value) | Elevates Character Level – Raises your character to the ‘(Value)’ specified level. |
player.additem (Item ID) (Value) | Adds the specified ‘(Item ID)’ item to your inventory. |
player.placeatme (Item ID) (Value) | Summons Item – Generates the specified ‘(Item ID)’ item directly in front of your character. |
player.paycrimegold 0 0 (Faction ID) | Clears Bounties – Settles any outstanding Bounties for a specified Faction. |
showlooksmenu player 1 | Opens Character Creator – Accesses the character creation menu. |
saq | Initiates All Quests – Begins all Main Story and Side Quests (high risk of game crash if used). |
caqs | Completes Main Quests – Finishes all Main Story Quests (high risk of game crash if used). |
ShowHighMaxHeights (shmh) | Reveals or conceals the high-resolution max height data. |
EnableStoryManagerLogging | Activates story manager logging. |
DumpPapyrusStacks (dps) | Outputs all Papyrus stack data to the log. |
DumpPapyrusTimers | Outputs all Papyrus timer registrations to the log. |
DumpPapyrusLOSEvents | Outputs all Papyrus LOS event registrations to the log. |
DumpPapyrusDistanceEvents | Outputs all Papyrus distance event registrations to the log. |
DumpPapyrusPersistenceInfo (dppi) | Outputs everything in Papyrus persisting the referenced call, or passed. |
DumpPapyrusEventRegistrations | Outputs all Papyrus event registrations for the specified object (and script). |
RunCompaction | Executes compaction. |
SetSubgraphToDebug | Specifies Subgraph To Debug. |
EnableRumble | Toggles rumble on/off. |
HavokVDBCapture | Captures Havok VDB. |
ToggleNavmeshInfo | Toggles a view mode displaying navmesh information. |
PlaySyncAnim | Executes Sync Anim. |
SetFormKnown | Marks a form as known. |
SetDebugQuest | Designates the quest as the only startable one from its event type. |
SetQuestAliasLogging | Toggles alias logging on/off for a quest. |
SetRace | Assigns the passed actor’s race. |
FindForm (find) | Locates a form. |
StartPapyrusScriptProfile (StartPSP) | Begins profiling a Papyrus script. |
StopPapyrusScriptProfile (StopPSP) | Ends profiling a Papyrus script. |
StartPapyrusFormProfile (StartPFP) | Begins profiling Papyrus scripts on a form. |
StopPapyrusFormProfile (StopPFP) | Ends profiling Papyrus scripts on a form. |
StartPapyrusStackRootProfile | Begins profiling all Papyrus stacks starting at a script. |
StopPapyrusStackRootProfile | Ends profiling all Papyrus stacks starting at a script. |
TogglePapyrusGlobalProfiler (TPGP) | Toggles Papyrus global profiling on/off (profiles everything). |
PrintQuestSceneInfo | Outputs to the Quest Inf file the current state of scenes. |
IsInvulnerable | Checks if the actor is invulnerable. |
CollisionMesh | Toggles Mesh Collision Info. |
HavokWorldStep (hkstep) | Toggles BhkWorld Havok Step Info. |
IsolateRendering | Activates isolated rendering for selected object. |
ToggleWaterCurrentGeometry | Shows/hides water current geometry. |
PerformAction | Executes the specified action on the selected actor. |
StartTrackPlayerDoors | Begins tracking player-activated teleport doors. |
StopTrackPlayerDoors | Ends tracking player-activated teleport doors. |
CheckPlayerDoors | Compares the Tracked Player path with the quest target path. |
SetInChargen | Toggles Chargen Mode aspects on/off [savingDisabled] [waitingDisabled] [activationMessageDisabled] |
ForceReset | Forces the game to perform a full reset. |
ForceCloseFiles | Closes masterfile and plugins. Useful for letting CreationKit save to a plugin also loaded in-game. Caution advised. |
HotLoadPlugin (HLP) | Loads/reloads the named plugin. Useful for applying changes without restarting (risk of crashes and corrupted saves). |
GenerateBendableSpline (Spline) | Generates bendable spline geometry. |
Reload (Papyrus script) | Reloads the specified ‘(Papyrus script)’ Papyrus script. |
TestAim | Tests an actor’s aiming capabilities. |
TestLook | Tests an actor’s looking capabilities. |
PushCamera | Pushes camera to the editor. |
MoveToEditorCamera | Moves to the editor camera. |
MoveToEditorSelection | Moves to the editor selection. |
PlaceFurnitureTester (PFT) | Places an actor to use selected furniture. Can specify actor type. |
DumpConditionsFunctions | Outputs condition function call counters. |
ReloadAnimationGraphs | Reloads current animation graphs. |
ToggleWeaponOverlay | Toggles the weapon overlay. |
ForceDetect | Forces the selected actor to detect a specified actor. |
ChangeAnimArchetype (caa) | Changes the selected actor’s animation archetype. |
ChangeAnimFlavor | Changes the selected actor’s animal flavor. |
SetAngryWithPlayer | Sets the angry with player flag. |
ForceRepath | Forces the actor to find a new path. |
ForcePathFailure | Causes the actor’s path to fail. |
DumpFormList | Outputs contents of a formlist to the console. |
TraceAnimationEvents | Traces an actor’s animation events. |
ShowMods | Displays all property mods on an object. |
DumpInputEnableLayers | Outputs all used input enable layers to the console. |
AttachMod | Attaches a mod to an object. |
RemoveMod | Removes a mod from an object. |
SpawnTemplatedObject | Spawns a reference to a templated object (object, ilevel, pkeyword1, pkeyword2) |
CallFunction | Calls a Papyrus function on the targeted reference. |
CallQuestFunction (cqf) | Calls a Papyrus function on a quest. |
CallGlobalFunction (cgf) | Calls a global Papyrus function. |
ResetInputEnableLayer | Resets control disables on a specific input enable layer. |
ForceEnablePlayerControls (fepc) | Force-enables player controls, overriding layers. |
ResetForceEnabledPlayerControls | Resets all force-enabled player controls. |
GetActorRefOwner | Displays the owner of a selected reference. |
SetActorRefOwner (saro) | Sets ownership of a selected reference. |
HasActorRefOwner (haro) | Checks if a reference has an owner. |
SetOutfit | Changes the default outfit for an actor. |
PassTime | Advances a specified number of hours as though the player were resting. |
LinkLocations | Connects two locations using a specified keyword. |
ShowLinkedLocations | Displays all locations connected to a specific location using a certain keyword. |
SetLinkedRef | Associates the current reference with a specified reference under a chosen keyword. |
ResetContainer | Resets the currently selected container, or resets all containers if “1” is specified. |
SetSceneForDebug | Establishes the current scene for debugging purposes. |
PreloadExterior | Preloads exterior data for the currently selected reference. |
TestPath | A debugging function to test a path. |
ToggleControlsOverlay | Toggles the Controls Overlay feature. |
Refresh | A debugging function to refresh a reference. |
DynamicResolution | Alters the dynamic resolution settings. |
TestLoadingMenu | A debugging function to open/close the Loading menu in the Loading thread. |
RecalcInstanceData | A debugging function to recalculate instance data for the selected reference, or all loaded references if none are selected. |
ToggleReferencePose | Toggles forcing an animation graph for the selected actor to be in the reference pose. Options include “target” or “rig”. |
SetPersistLocation | A debugging function to set the persist location on a reference. |
SetLocationRefType | A debugging function to set the location reference type for a location on a reference. |
ShowLocData | A debugging function to display data about a location. |
ReserveLoc | A debugging function to reserve a location, preventing its use for most aliases. |
UpdateAwakeSound (UAS) | Updates the selected actor’s current conscious loop. |
SetHarvested | Marks the current reference as Harvested or not. |
PauseScene | Pauses or unpauses a specified scene. |
SpawnDupe | Creates a duplicate reference of the selected reference. |
DisableDistantReferences | Disables references that are beyond a certain distance from the selected reference. |
FireAssert | Triggers an assert (with optional text). |
ForcePersistent | Forces a reference to become persistent. |
PlayActionCamera (pac) | Activates an action camera on the reference with a target reference. |
StopActionCamera | Stops the action camera. |
ChangeStance | Alters the actor’s stance. |
AuditionWwiseEvent | A set of commands for auditioning Wwise events. |
AuditionReverbForm (arf) | Forces a specified Reverb form to be active. |
SetWwiseState (sws) | Sets a global Wwise State. |
BuildAnimationData (bad) | Constructs the animation data for the actor. |
SwitchSkeleton | Switches between standard and character generation skeletons for an actor. |
SetBoneTintRegion | Applies bone tint data to an object’s 3D model using a region ID (integer) of the object. |
GetHelloorGreeting () | Outputs information ID for an actor. |
SendDialogueEvent | Sends a dialogue event for the selected and target actor. |
SetForceSpeechChallengeAlwaysSucceed () | Ensures the player always succeeds at speech challenges. |
SetForceSpeechChallengeAlwaysFail () | Ensures the player always fails at speech challenges. |
RunMaterialsAnalysis (rma) | Compares the materials of the selected reference. |
CaptureMessages (Message) | Captures specified ‘(Message)’ DebugString, USER1, and USER2 messages using a Message Event Listener and sends the output to CaptureMessage.lua |
ToggleTrijuice | Toggles Trijuicing in the renderer, potentially trading texture filtering quality for improved performance. |
SetPresentThreshold (spt) | Sets the percentage (0-100) of scanlines covered before swap threshold is met; default is 0 (always swap). |
LinkFullAccount | Links a full Bnet account to a game-account: (username) (password). |
IsLoggedIn (isonline) | Checks if the player is logged into Bethesda.net. |
GetLegalDocs (getlegaldocs) | Retrieves a list of all required legal documents. |
AcceptLegalDoc | Accepts a legal document based on its ID: acceptlegaldoc (id). |
GetDataAttachment | Prints data from Bethesda.net Profile Data Attachment: getattachment (type) (id). |
DeleteDataAttachment | Deletes a Bethesda.net Profile Data Attachment: deleteattachment (type) (id). |
UploadCharacterData | Uploads character data payload as bnet Profile Data Attachment. |
GetAttachmentLeaderboard (getattachmentleaderboard) | Gets attachment leaderboard page: getattachmentleaderboard (attachment type) (leaderboard type). |
LoadUnitedData | Gets character data from the leaderboard and caches it. |
MakeUnityNPC | Updates NPC with data from unity cache. |
SetVolumetricLighting Parameters (vl) | Set volumetric lighting parameters. |
StartWorkshop (workshop) | Enter Workshop mode if the player is within the buildable area of a Workshop. |
ToggleVBlankOptim | Toggles VBlank optimization. |
AddKeyword | Adds the given keyword to the reference. |
RemoveKeyword | Removes the given keyword from the reference. |
SetAmbientParticlesEnabled | Enables(1)/disables(0) ambient particles. |
RemoveOutposts () | Removes the given Outpost and all built items. |
SetESRAMSetup | Force specific ESRAM setup (-1 for automatic setup). |
CallStackTraceDepth | Set the callstack depth when tracing it. |
CommandedActivated | Commands selected actor to use a reference. |
EnableGalaxyMode | Enables/Disables galaxy mode. |
ToggleStarFieldDebug | Toggles the StarField debug on or off. |
SetStarFieldCoordinateScale () | Sets the StarField coordinate scale. |
SetStarSystemScale (sss) | Sets the star system scale. |
MoveToPlanet | If target player ship, move to or give path to pilot to (target) (1 to do full jump sequence). |
SetOrbitSpeedScale | Sets global orbit speed scale. |
InstanceNamingRules | Export instance naming rule data to file INRExport.txt. |
GetOrbisModInfo | Prints info relating to Orbis mod game data files. |
ToggleSceneDebug | Show debug state for scene. |
SetFarClip | Set far clip value (-1 to clear override). |
ToggleOverdraw | Toggle overdraw. |
RecordScene | Capture screen shots of scene. (Scene EditorID, [FPS 60 default]) |
LandOnPlanet (lop) | Land on a planet. (lop) |
TakeOffToSpace | Take off to space. |
PreviewBodyResources (pbr) | Previews resources for a planet. |
SendAffinityEvent | (AffinityEvent [ObjRef]) Run an affinity event on an optional object reference. |
AddPower | AddPower (part) # |
RemovePower | RemovePower (part) # |
MatlockCapture | Force matlock to realize a capture. |
ToggleSnapNodeMarkers | Toggle snap node markers. |
SetVoiceType | Set an override voice type on an actor. |
AddWorldSpaceToPlanet | Adds a world space to a planet. |
DebugDataProvider | Set the name of the UI Data Provider we want to debug. |
LoadAll3D | Load all queued 3D. |
PrintAllMenus (pam) | Print all active menus. |
PrintAllInputContext (paic) | Print the input context stack. |
AddPlotToBody (AddPlot) | Plot a route to this body. |
ReloadFaceData | Reload face data. |
SetGravityScale | Sets gravity scale on a ref’s parent cell. |
PreviewBlock | PreviewBlock (blockname) (biome). |
ExportTerrainTextures | Export terrain textures. |
ExportTerrainGrids | Export terrain grids. |
ExportTerrainHeightMap | Export terrain height map. |
ExportTerrainSplatMap | Export terrain splat map. |
ExportTerrainMaterialIndexMap | Export terrain material index map. |
ExportTerrainFiles | Export terrain files. |
UpdateTerrainClipmaps | Refresh Terrain Clipmaps. |
ToggleDebugCamera | Toggle debug camera (mode name). |
CyclePrevDebugCamera | Cycle to previous debug camera. |
CycleNextDebugCamera | Cycle to next debug camera. |
ToggleDebugCameraControls | Toggle debug camera controls. |
SetImGuiWindowFunction (siw) | Activate an ImGui window. |
HotReloadUI | Hot Reloads the User Interface SWFs. |
SetPosRelativeToRef | Script function to set the position of the picked ref relatively to another ref (defaulted to the player). |
FaceRef | Make a ref face towards another ref (defaulted to the player), with an extra angle offset. |
SetWorkshopItem | Set the Workshop menu’s Node Cursor to the currently selected reference, if any. |
GenerateNavMesh | Generates nav-mesh on the current cell. |
LandOnPlanetAnimated | Land players spaceship with animation. |
startNewGame | Command to trigger new game on main menu without UI. |
ForcedBleedout | Force an actor to enter bleedout. |
ForceConditionFormTrue | Force a condition form to true. args: FromID, (enable)0/1, (permanent)0/1. |
ForceConditionFormFalse | Forces a condition form to a false state. Arguments: FromID, (enable)0/1, (permanent)0/1. |
LandOnPlanetBiome | Descends onto a specific biome of a planet. Syntax: (lopb (planet name) (biome index) [(centered)0/1]). |
LandOnPlanetMarker | Lands at a designated marker on the current planet. |
TestAllPlanets | Conducts a test on all planets. |
ClearLinkedRef | Removes a linked reference. |
SetLocalTime | Adjusts the local time on the current planet, with an option to update the galaxy simulation. |
ReloadMaterials | Refreshes all material data. |
PlacementOnCell | Tests overlay placement on a cell. Syntax: (poc (cellindex.x)(cellindex.y)). |
ToggleWorkshopFlyCam | Switches the workshop flycam on or off. |
CheckBiomeMarker | Searches for uses of a specific biome marker in the loaded area. |
TestBiomePlanet (tbp) | Generates a planet using only the specified biome and places the player there. |
PreviewPattern | Previews a pattern. Syntax: (pattern name)(biome). |
SetHavokDynamic | Sets reference motion to dynamic, with an optional mass in kilograms. |
SetHavokKinematic | Sets reference motion to kinematic. |
SetHavokActive | Activates or deactivates reference Havok physics. |
SetHavokLOD | Assigns a level of detail to reference collision. |
SetHavokLinearVelocity | Defines linear velocity for a reference. |
SetHavokAngularVelocity | Sets angular velocity for a reference. |
SetHavokCollisionLayer | Assigns a Havok collision layer to a reference. |
SetHavokRagdollFriction | Adjusts Havok ragdoll friction parameters. |
SetHavokParam | Configures specific Havok parameters. |
ShowHavokRagdollValues | Displays values related to Havok ragdoll physics. |
StartHavokPartTest | Begins or resets a Havok particles test. |
StopHavokPartTest | Terminates a Havok particles test. |
SetOrientation | Adjusts the orientation of a reference. |
ToggleDebugText3D | Switches 3D debug text on or off. |
ToggleBioOverlay | Toggles the BI Overlay. |
ToggleMetricViewer | Activates the Metric Viewer. |
PrintMessage | Displays a message on the screen. Syntax: (message) (duration) (clear previous messages flag). |
AddDebugTest | Attaches debug text to a reference. Syntax includes text, size, color, and positional parameters. |
DisableActorPackage | Disables or enables an actor’s package. Syntax: (DisableActorPackage (0/1)). |
StopBatchFile | Halts a currently running batch file. |
CenterOnSpaceCell | Transports to a specified space cell, with an option to specify a ship. |
DependencyGraphDump | Outputs the Dependency Graph. |
ToggleExperimentalShaders | Switches experimental shaders on or off. |
SetTestPlanetAndBiome | Assigns a test planet and biome for interior testing with biome markers. Syntax: (stpb [planet name] [biome form]). |
Enabling achievements
Console commands will typically disable Achievements as your save file will be a unique modded one, but the fanmade Achievement Enabler mod bypasses this by preventing your save from being marked as modded.
This means you can cause all the chaos you like in god mode for example, and still earn those all-important Achievements.
Simply download the mod via this link, install it in your game, and you’re good to go.
That’s everything you need to know about console commands in Starfield! If you’re just diving into the Shattered Space DLC, check out our quest guides for The Duel, What Remains, Conflict of Conviction, and Zealous Overreach.