All Starfield Cheat Codes and Console Commands

This guide talks about all the console commands and cheat codes that can be done in Starfield.

Starfield Cheat Codes Console Commands cover

Starfield is a game where players can openly use cheats and console commands within the game itself with just a press of a button and without having to use any third-party software. Players who would like to test out stuff within the game or those who just want to have their own way of having fun can use these console commands to change almost whatever they can think of in the game.

Read ahead as we list down all the cheat codes and console commands in Starfield as well as how to to use these codes within the game.

How to use the Console Commands

To start using the Console Commands, first open the terminal within the game by pressing the Tilde (~) key which is usually found just below the Escape Key on most standard keyboards. Then, type in the code that you want to use and hit Enter. For codes that are toggled on and off, simply type the code once more to turn it off or on when needed.

So far, console commands will only work on the PC version of the game, so even plugging in a keyboard to an Xbox will not work.

Starfield Cheat Codes can by typed into the terminal to enable, disable, or reuse a command. They are not case-sensitive, just make sure to add in the periods (.) and the spaces when they are needed. For this guide, we will be using brackets [ ] to denote where to place either the ID or the Value/Amount that are needed for the complete command, but they are not to be included when typing the command itself.

For example, if you want to spawn a dozen (Amount: 12) Osmium Daggers (ID: 0026D966) in front of you, the basic console command that you need is this:

player.placeatme [ID] [Amount]

The command that you need to type into the terminal for that specific request is this:

player.placeatme 0026D966 12

IDs are usually denoted as 8-alphanumeric codes which can be typed with the full eight digits, or the 0’s on the left side of the code can be omitted, leaving only the code itself.

For example, spawning 1 million credits, the code can be typed like this:

player.additem 0000000f 1000000

Or like this:

player.additem f 1000000

Starfield Console Command Warning – Disabled Achievements

Upon first accessing the terminal, you will receive a message warning you that using certain console commands will disable achievements. These are commands that are usually connected to the game progression and that are tied to the game achievements such as reaching certain character levels. Once you have used a command that does so, the achievement disabling cannot be undone.

However, you can simply create another save file as a duplicate before doing any command. Then, select which save file you want to play at the Load Save File screen by choosing the Select Character option after selecting a save file. This will pull up both unmodified and modified versions of your save file from which you can simply select which one you would like to play on.

On the other hand, we have caught wind that there have been multiple mods that could bypass the achievement disabling – we’ll leave that for you eager folks to find out.

Nevertheless, we’ll leave it to you, the player, to use the console commands with your own discretion. Starfield is a single-player game anyway, so you can play it however you want.

Useful Starfield Cheat Codes

These are the cheat codes that players may find the most useful when playing in Starfield:

  • tgm – Toggle God Mode, making you invincible to any damage plus unlimited ammo.
  • tim – Toggle Immortal Mode, you will still take damage, but you will not run out of HP.
  • Player.AddItem f [Amount] – Spawns the amount of credits or money requested.
  • Player.SetLevel [Value] – Sets your character’s level to the specified value.
  • Player.AddPerk [Perk/Trait/Background ID] – Adds the specified perk. Also works with adding Traits and Backgrounds.
  • SetForceSpeechChallengeAlwaysSucceed 1 – Makes you succeed any difficulty of speech challenge or persuasion. Set value to 0 to disable.
  • Player.PayCrimeGold 0 0 [Faction ID] – Clear any bounty that you have for a certain faction.
  • tdetect – Toggle Detection, making you undetectable by NPCs.
  • psb – Unlocks all of the available powers.
  • tcai – Toggle Combat AI, hostiles will no longer target you during combat.
  • kah – Kills all hostile NPCs near you.
  • Player.Setav CarryWeight 999999 – Sets your carry capacity to the maximum.
  • Player.AddItem [Item ID] [Amount] – Spawns a specific amount of items. Works best with consumables like Digipicks (ID: a or 0000000a).
  • Player.PlaceAtMe [Item ID] [Amount] – Spawns a specific amount of items in front of you. Helpful when you don’t want to carry everything you spawn, like when looking for weapons that have specific perks. May cause the game to crash if a lot of items are spawned at once.
  • tcl – Toggle No Clip, lets you clip through solid objects.
  • tfc – Toggle Freefly Camera, allows you to freely move the camera and fly across the map.
  • tm – Toggles the UI menus.
  • PassTime [Amount] – Allows specified of in-game hours to pass.

All Starfield Console Commands

This is a list of commands or cheat codes that can be used in Starfield, as well as their functions:

Toggle Commands

Commands that can be toggled on or off when needed. Refer to the confirmation message in the terminal to know whether a command is enabled or disabled.

Console Command

Description

tgm

Toggle God Mode, unlimited ammo and invincibility.

tim

Toggle Immortal Mode, take damage, but never die.

tdetect

Toggle Detect, NPCs will no longer detect you.

tcai

Toggle Combat AI, combat AI will no longer target you.

tcl

Toggle No Clip, allows clipping through walls, disables collision.

tm

Toggle UI Menus.

tfc

Toggle Freefly Camera, detaches camera from player and allows free cam to fly through the map.

Player Commands

Commands that change the player’s or character’s attributes.

Console Command

Description

psb

Player Spell Book, unlocks all available powers.

Player.SetLevel [Value]

Sets character's level to the specified value.

Player.AddItem [Item ID] [Amount]

Adds specfied amount of the specified item in the inventory.

Player.PlaceAtMe [Item ID] [Amount]

Spawns specfied amount of the specified item in front of the character.

Player.PayCrimeGold 0 0 [Faction ID]

Clear any bounty that you have from the specified faction.

Player.AddPerk [Perk/Trait/Background ID]

Adds the specified perk. Also works with adding Traits and Backgrounds.

Player.RemovePerk [Perk/Trait/Background ID]

Removes the specified perk. Also works with adding Traits and Backgrounds.

ShowLooksMenu Player 1

Opens the character creation screen where you can change the way your character looks.

Targeted Commands

Commands that require a target to work, otherwise it defaults to the player’s character.

Console Command

Description

AddItem [Item ID] [Amount]

Spawns a specified amount of items into the inventory.

.AMod [Weapon Mod ID]

Adds a weapon mod to a targeted weapon. Adding the Weapon ID at the beginning of the code also works. 

.RMod [Weapon Mod ID]

Removes a weapon mod from a targeted weapon.

KillAll

Kill all the NPC within the area.

kah

Kill All Hostile NPCs within the area.

resurrect

Resurrects the targeted dead NPC.

SexChange

Changes your character's sex to the opposite sex.

unlock

Unlocks targeted doors or containers.

Other Commands

Other technical commands that can be used in the terminal.

Console Command

Description

ShowHighMaxHeights -or- SHMH

Shows or hides the high res max height data.

EnableStoryManagerLogging

Enable story manager logging.

DumpPapyrusStacks -or- DPS

Dumps all Papyrus stack information the log.

DumpPapyrusTimers

Dumps all Papyrus timer registrations to the log.

DumpPapyrusLOSEvents

Dumps all Papyrus LOS event registrations to the log.

DumpPapyrusDistanceEvents

Dumps all Papyrus distance event registrations to the log.

DumpPapyrusPersistenceInfo -or- DPPI

Dumps everything in Papyrus persisting the reference called on, or passed.

DumpPapyrusEventRegistrations

Dumps all Papyrus event registrations for the specified object (and script).

RunCompaction

Run a pass of compaction if possible.

SetSubgraphToDebug

Subgraph To Debug.

EnableRumble

Enables / Disables rumble.

HavokVDBCapture

Havok VDB Capture

ToggleNavMeshInfo

Toggle a view mode similar to the map camera and displays navmesh infos.

PlaySyncAnim

Play Sync Anim.

SetFormKnown

Sets the known flag on a form.

SetDebugQuest

Sets the quest to be the only one startable from its event type.

SetQuestAliasLogging

Turns alias logging on/off for a quest.

FindForm -or- find

Find a form.

StartPapyrusScriptProfile -or- StartPSP

Starts profiling a Papyrus script.

StopPapyrusScriptProfile -or- StopPSP

Stops profiling a Papyrus script.

StartPapyrusFormProfile -or- StartPFP

Starts profiling Papyrus scripts on a form.

StopPapyrusFormProfile -or- StopPFP

Stops profiling Papyrus scripts on a form.

StartPapyrusStackRootProfile

Starts profiling all Papyrus stacks starting at a script.

StopPapyrusStackRootProfile

Stops profiling all Papyrus stacks starting at a script.

TogglePapyrusGlobalProfiler -or- TPGP

Toggles Papyrus global profiling on and off (profiles everything)

PrintQuestSceneInfo

Prints to the Quest Inf file the current state of scenes.

IsInvulnerable

Is the actor invulnerable?

CollisionMesh

Toggle Mesh Collision Info

HavokWorldStep -or- hkstep

Toggle BhkWorld Havok Step Info

IsolateRendering

Enable isolated rendering for selected object.

ToggleWaterCurrentGeometry

Displays or hides water current geometry.

PerformAction

Performs the specified action on the selected actor.

StartTrackPlayerDoors

Starts tracking player-activated teleport doors.

StopTrackPlayerDoors

Stops tracking player-activated teleport doors.

CheckPlayerDoors

Compares the Tracked Player path with the quest target path.

SetInChargen

Toggles aspects of Chargen Mode on/off [savingDisabled] [waitingDisabled][activationMessageDisabled]

ForceReset

Force the game to run a full reset.

ForceCloseFiles

Close masterfile and plugins. Useful for letting CreationKit save to a plugin that is also loaded in-game.

HotLoadPlugin -or- HLP

Load or reload the named plugin. Useful for getting changes without restarting.

GenerateBendableSpline -or- Spline

Generate a bendable spline geometry instance.

Reload (Script)

Reloads the specified Papyrus script.

TestAim

Test an actor's aim.

TestLook

Test an actor's looking.

PushCamera

Push camera to editor.

MoveToEditorCamera

Move to the editor camera.

MoveToEditorSelection

Move to the editor selection.

PlaceFurnitureTester -or- PFT

Place actor, who will use the selected furniture. Can specify actor type via optional parameter.

DumpConditionsFunctions

Output the current counters for condition function calls.

ReloadAnimationGraphs

Reload the currently loaded animation graphs.

ToggleWeaponOverlay

Toggle the weapon overlay.

ForceDetect

Forces the selected actor to detect the specified actor.

ChangeAnimArchetype -or- CAA

Change the selected actor's anim archetype.

ChangeAnimFlavor

Change the selected actor's animal flavor.

SetAngryWithPlayer

Set the angry with player flag.

ForceRepath

Force the actor to repath.

ForcePathFailure

Force the actor's path to fail.

DumpFormList

Dump the contens of given formlist to the console output.

TraceAnimationEvents

Trace an actor's animation events.

ShowMods

Show all property mods on an object.

DumpInputEnableLayers

Dumps all currently used input enable layers to the console.

AttachMod

Attach a mod to an object.

RemoveMod

Remove a mod from an object.

SpawnTemplatedObject

Spawn a ref to a templated object. [object, ilevel, pkeyword1, pkeyword2]

CallFunction

Calls a papyrus function on the targeted ref. First parameter is the function, the rest are parameters.

CallQuestFunction -or- CQF

Calls a papyrus function on a quest. Second parameter is the function, the rest are parameters.

CallGlobalFunction -or- CGF

Calls a global papyrus function. First parameter is the function, the rest are parameters.

ResetInputEnableLayer

Resets all control disables on a specific input enable layer.

ForceEnablePlayerControls -or- FEPC

Force-enables the player's controls, regardless of layers, see EnablePlayerControls.

ResetForceEnabledPlayerControls

Resets all force-enabled player controls.

GetActorRefOwner

Prints the owner of the currently selected reference.

SetActorRefOwner -or- SARO

Sets ownership of the currently selected reference to the specified actor (or if not actor is specified, to the player).

HasActorRefOwner -or- HARO

Returns 1 if the currently selected reference has an owner, or 0 otherwise.

SetOutfit

Change the default outfit for the actor.

PassTime

Passes the given number of hours asif the player were sleeping.

LinkLocations

Links two locations under the given keyword.

ShowLinkedLocations

Outputs all locations linked to the given one under the given keyword.

SetLinkedRef

Links the current ref to the given one under the given keyword.

ResetContainer

Resets the currently selected container, or if you specify "1", then it'll reset all containers.

SetSceneForDebug

Sets the current debug scene.

PreloadExterior

Preloads the exterior data for the currently selected ref.

TestPath

Debug function to test a path.

ToggleControlsOverlay

Toggle Controls Overlay

Refresh

Rebug function to refresh a reference.

DynamicResolution

Change the dynamic resolution settings.

TestLoadingMenu

Debug function to open/close the Loading menu in the Loading thread.

RecalcInstanceData

Debug function recalc instance data for the selected ref or all loaded refs if nothing is selected.

ToggleReferencePose

Roggles forcing an animgraph for the selected actor to be in the reference pose. May specify "target" or "rig" as well.

SetPersistLocation

Debug function to set the persist loc on reference.

SetLocationRefType

Debug function to set the loc ref type for a location on a reference.

ShowLocData

Debug function to dump data about a location.

ReserveLoc

Debug function to reserve a location so it can't be used for most aliases.

UpdateAwakeSound -or- UAS

Update the selected actor's current conscious loop.

SetHarvested

Mark the current reference as Harvested or not.

PauseScene

Pause or unpause the specified scene.

SpawnDupe

Make a duplicate ref of the selected ref.

DisableDistantReferences

Disable references more than a certain distance from the selected ref.

FireAssert

Fire an assert (with text passed, if available).

ForcePersistent

Force a reference to become persistent.

PlayActionCamera -or- PAC

Play this action camera on the reference with target reference.

StopActionCamera

Stop the action camera.

ChangeStance

Change the actor's stance.

AuditionWwiseEvent

Set of commands for auditioning Wwise events.

AuditionReverbForm -or- ARF

Force a given Reverb form to be active.

SetWwiseState -or- SWS

Sets a global Wwise State

BuildAnimationData -or- BAD

Build the animation data for the actor.

SwitchSkeleton

Toggles between standard and chargen skeletons for an actor.

GetHelloOrGreeting

Prints out the info id for actors hello/greeting to actor param. One of these should be the player.

SetBoneTintRegion

Add bone tint data to an object's 3d given a region ID (integer) of that object.

SendDialogueEvent

Sends a dialogue event for the selected and target actor.

SetForceSpeechChallengeAlwaysSucceed (1/0)

Player will always succeed at speech challenge.

SetForceSpeechChallengeAlwaysFail (1/0)

Player will always fail at speech challenge.

RunMaterialsAnalysis -or- RMA

Compares the materials of the selected reference.

CaptureMessages

Captures DebugString, USER1 and USER2 messages using a Message Event Listener and sends the outout to CaptureMessage.Iua

ToggleTrijuice

Toggles Trijuicing in the renderer (may slightly degrade texture filtering quality in exchange for improved performance).

SetPresentThreshold -or- SPT

Set percentage (0-100) of scanlines covered before swap threshold is hit: default 0 (always swap)

LinkFullAccount

Link full Bnet account to game-account: (username) (password)

IsLoggedIn

Is the player logged in to Bethesda.net?

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 playload as bnet Profile Data Attachment.

GetAttachmentLeaderboard 

Gets attachment leaderboard page: getattachmentleaderboard (attachment type) (leaderboard type)

LoadUnitedData

Gets character data from leadersboard and caches it.

MakeUnityNPC

Updates NPC with data from unity cache.

SetVolumetricLighting Parameters -or- VL

Set volumetric lighting parameters.

StartWorkshop -or- Workshop

Enter Workshop mode if the player is within the buildable area of a Workshop.

ToggleVBlankOptim

Toggles VBlank optim

AddKeyword

Add the given keyword to the reference

RemoveKeyword

Remove the given keyword on 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 -or- 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 -or- LOP

Land on a planet.

TakeOffToSpace

Take off to space.

PreviewBodyResources -or- 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 -or- PAM

Print all active menus.

PrintAllInputContext -or- PAIC

Print the input context stack.

AddPlotToBody -or- 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

Explort 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 -or- SIW

Activate an ImGui window.

InvokeUIEvent

Invokes a UI > c++ event.

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

Force a condition form to false. args: FromID, (enable)0/1, (permanent)0/1.

LandOnPlanetBiome

Land on a planet's biome. (lopb (planetname) (biome index) [(centered)0/1])

LandOnPlanetMarker

Land at a marker on the current planet.

TestAllPlanets

TestPlanets

ClearLinkedRef

Clear a linked reference.

SetLocalTime

Sets the local time on the current planet, optionally updating the galaxy sim.

ReloadMaterials

Reloads all materials.

PlacementOnCell

Test overlay placement on a cell. (poc (cellindex.x)(cellindex.y))

ToggleWorkshopFlyCam

Toggle workshop flycam.

CheckBiomeMarker

Finds uses in the loaded area of the given biome marker.

TestBiomePlanet -or- TBP

Creates a full planet set to use the given biome exclusively and puts the player there.

PreviewPattern

Preview Pattern (patternname)(biome)

SetHavokDynamic

Set reference motion to dynamic with optional mass in kg.

SetHavokKinematic

Set reference motion to kinematic.

SetHavokActive

Set reference havok activity.

SetHavokLOD

Set reference collision lod.

SetHavokLinearVelocity

Set reference linear velocity.

SetHavokAngularVelocity

Set reference angular velocity.

SetHavokCollisionLayer

Set havok collision layer.

SetHavokRagdollFriction

Set havok ragdoll friction.

SetHavokParam

Set havok param.

ShowHavokRagdollValues

Show havok ragdoll values.

StartHavokPartTest

Start/reset havok particles test.

StopHavokPartTest

Stop havok particles test.

SetOrientation

Set reference orientation

ToggleDebugText3D

Toggle in game debug text.

ToggleBioOverlay

Toggle the BI Overlay.

ToggleMetricViewer

Spawn Metric Viewer

PrintMessage

Print a message to the screen (print (message) (time) (clear previous messages flag))

AddDebugTest

Add debug text to a reference (AddDebugText (debug text) (size) (color) (background color) (border color) (offsetX) (offsetY) (offsetZ) (pinned flag)

DisableActorPackage

Disable or enable an actor's package (DisableActorPackage (0/1))

StopBatchFile

Stop a running batchfile.

CenterOnSpaceCell

Move to the specified space cell, optionally specify a ship.

DependencyGraphDump

Dump Dependency Graph.

ToggleExperimentalShaders

Toggles experimental shaders on/off.

SetTestPlanetAndBiome -or- STPB

Sets a test planet and biome for interior testing with biome markers.