All Starfield console commands: Every cheat code

Starfield Console CommandsBethesda

Many of Bethesda’s games have had a set of console commands and Starfield is no different. These commands range from cheat codes to ways to mess with the game’s systems, so here’s a list of all the console commands in Starfield.

Starfield lets players customize many aspects of their playthroughs. From the character creator to relationships and even critical story decisions, the game lets players take control in numerous ways.

Starfield also allows players to utilize a set of cheat codes and manually modify its systems. This can be done by using console commands that can grant players invincibility, make them infinitely rich, and let them tweak the cameras however they see fit.

On that note, here’s how you can enable the command console in Starfield and a list of all console commands and their effects.

How to enable command console in Starfield

To open the command console in Starfield, you need to enter “developers mode” by pressing the @ key or the ~ key on some American keyboard models. It is usually located below the Esc key on every keyboard.

Once the command console drops on top of the screen, you will be able to enter the codes listed below.

Starfield User InterfaceBethesda
The console commands allow you to experiment but keep in mind that some can break the game.

Remember that activating some console commands will disable the achievements on Steam. So, if you are trying to complete the achievement list, we recommend you do it without using these commands.

Article continues after ad

All Starfield console commands & their effects

This is a list of all the Starfield console commands and what they enable in the game:

Console CommandEffect
tgmGod Mode. Makes you invincible and gives you unlimited ammo.
player.additem f [value]Infinite money.
player.additem a [value]Infinite Digipicks.
player.setav carryweight 999999Infinite Carry Capacity.
player.additem [item id] [value]Spawns the specified item in your inventory.
player.placeatme [item id] [value]Spawns the specified item or creature in front of your character.
tdetectNPCs will no longer detect you in stealth.
tcaiNPCs will no longer target and attack you.
killallKills all NPCs in the vicinity, even non-hostile ones.
kahKills all hostile NPCs in the vicinity.
resurrectResurrects the targeted NPC.
[ref id].amod [omod id]Applies the specified weapon mods to your weapon.
[ref id].rmod [omod id]Removes the specified weapon mods from your weapon.
timImmortal Mode. You can take damage but your health will never hit 0.
psbUnlocks all 24 powers.
unlockUnlocks the targeted door or container.
sexchangeChanges your character’s gender to the opposite sex.
showmenu sleepwaitmenuOpens the wait/pass time menu.
player.setlevel [value]Sets your character to the specified level.
player.paycrimegold 0 0 [faction id]Pay Off Bounties for a specific Faction.
showlooksmenu player 1Opens the character creator, allowing you to change your appearance.
player.addperk [perk id]Add Skills, Traits, and Backgrounds.
player.removeperk [perk id]Removes the specified skill, trait, or background.
tclNo Clip. Allows you to move through walls and other objects.
tmToggles the UI on and off.
tfcToggles freefly camera, allowing you to fly around.
saqStarts all main story and side missions. Can cause crashes!
caqsCompletes all main story and side missions. Can cause crashes!
showhighmaxheights [shmh]Shows or hides the high res max height data.
enablestorymanagerloggingEnables story manager logging.
dumppapyrusstacks [dps]Dumps all Papyrus stack information to the log.
dumppapyrustimersDumps all Papyrus timer registrations to the log.
dumppapyrusloseventsDumps all Papyrus LOS event registrations to the log.
dumppapyrusdistanceeventsDumps all Papyrus distance event registrations to the log.
dumppapyruspersistenceinfo [dppi]Dumps everything in Papyrus persisting the reference called on, or passed.
dumppapyruseventregistrationsDumps all Papyrus event registrations for the specified object (and script).
runcompactionRun a pass of compaction if possible.
setsubgraphtodebugSets Subgraph To Debug Mode.
enablerumbleEnables/disables controller rumble.
havokvdbcaptureToggles Havok VDB Capture
togglenavmeshinfoToggle a view mode similar to the map camera and displays navmesh infos.
playsyncanimPlay Sync Anim.
setformknownSets the known flag on a form.
setdebugquestSets the quest to be the only one startable from its event type.
setquestaliasloggingTurns alias logging on/off for a quest.
setraceSets the passed in actor’s race.
findform [find]Find a form.
startpapyrusscriptprofile [startpsp]Starts profiling a Papyrus script.
stoppapyrusscriptprofile [stoppsp]Stops profiling a Papyrus script.
startpapyrusformprofile [startpfp]Starts profiling Papyrus scripts on a form.
stoppapyrusformprofile [stoppfp]Stops profiling Papyrus scripts on a form.
startpapyrusstackrootprofileStarts profiling all Papyrus stacks starting at a script.
stoppapyrusstackrootprofileStops profiling all Papyrusstacks starting at a script.
togglepapyrusglobalprofiler [tpgp]Toggles Papyrus global profiling on and off (profiles everything)
printquestsceneinfoPrints to the Quest Inf file the current state of scenes.
isinvulnerableIs the actor invulnerable?
collisionmeshToggle Mesh Collision Info
havokworldstep [hkstep]Toggle BhkWorld Havok Step Info
isolaterenderingEnable isolated rendering for selected object.
togglewatercurrentgeometryDisplays or hides water current geometry.
performactionPerforms the specified action on the selected actor.
starttrackplayerdoorsStarts tracking player-activated teleport doors.
stoptrackplayerdoorsStops tracking player-activated teleport doors.
checkplayerdoorsCompares the Tracked Player path with the quest target path.
setinchargenToggles aspects of Chargen Mode on/off [savingDisabled] [waitingDisabled][activationMessageDisabled]
forceresetForce the game to run a full reset.
forceclosefilesClose masterfile and plugins. Useful for letting CreationKit save to a plugin that is also loaded in-game. See also HotLoadPlugin. [Caution: Use at own risk! Gameplay and new savegames may be unstable.]
hotloadplugin [hlp]Load or reload the named plugin. Useful for getting changes without restarting. See also ForceCloseFiles. [Caution: Use at own risk! Modified running quests will be stopped (and restarted if possible). Gameplay and new savegames may be unstable.]
generatebendablespline [spline]Generate a bendable spline geometry instance.
reload [script]Reloads the specified Papyrus script.
testaimTest an actor’s aim.
testlookTest an actor’s looking.
pushcameraPush camera to editor.
movetoeditorcameraMove to the editor camera.
movetoeditorselectionMove to the editor selection.
placefurnituretester [pft]Place actor, who will use the selected furniture. Can specify actor type via optional parameter.
dumpconditionsfunctionsOutput the current counters for condition function calls.
reloadanimationgraphsReload the currently loaded animation graphs.
toggleweaponoverlayToggle the weapon overlay.
forcedetectForces the selected actor to detect the specified actor.
changeanimarchetype [caa]Change the selected actor’s anim archetype.
changeanimflavorChange the selected actor’s animal flavor.
setangrywithplayerSet the angry with player flag.
forcerepathForce the actor to repath.
forcepathfailureForce the actor’s path to fail.
dumpformlistDump the contents of given formlist to the console output.
traceanimationeventsTrace an actor’s animation events.
showmodsShow all property mods on an object.
dumpinputenablelayersDumps all currently used input enable layers to the console.
attachmodAttach a mod to an object.
removemodRemove a mod from an object.
spawntemplatedobjectSpawn a ref to a templated object.[object, ilevel, pkeyword1, pkeyword2]
callfunctionCalls a papyrus function on the targeted ref. First parameter is the function, the rest are parameters.
callquestfunction [cqf]Calls a papyrus function on a quest. The second parameter is the function, the rest are parameters.
callglobalfunction [cgf]Calls a global papyrus function. First parameter is the function, the rest are parameters.
resetinputenablelayerResets all control disables on a specific input enable layer.
forceenableplayercontrols [fepc]Force-enables the player’s controls, regardless of layers, see EnablePlayerControls.
resetforceenabledplayercontrolsResets all force-enabled player controls.
getactorrefownerPrints the owner of the currently selected reference.
setactorrefowner [saro]Sets ownership of the currently selected reference to the specified actor (or if not actor is specified, to the player).
hasactorrefowner [haro]Returns 1 if the currently selected reference has an owner, or 0 otherwise.
setoutfitChange the default outfit for the actor.
passtime [hours]Passes the specified number of hours.
linklocationsLinks two locations under the given keyword.
showlinkedlocationsOutputs all locations linked to the given one under the given keyword.
setlinkedrefLinks the current ref to the given one under the given keyword.
resetcontainerResets the currently selected container, or if you specify “1”, then it’ll reset all containers.
setscenefordebugSets the current debug scene.
preloadexteriorPreloads the exterior data for the currently selected ref.
testpathDebug function to test a path.
togglecontrolsoverlyToggle Controls Overlay
refreshRebug function to refresh a reference.
dynamicresolutionChange the dynamic resolution settings.
testloadingmenuDebug function to open/close the Loading menu in the Loading thread.
recalcinstancedataDebug function recalc instance data for the selected ref or all loaded refs if nothing is selected.
togglereferenceposeToggles forcing an animgraph for the selected actor to be in the reference pose. May specify “target” or “rig” as well.
setpersistlocationDebug function to set the persist loc on reference.
setlocationreftypeDebug function to set the loc ref type for a location on a reference.
showlocdataDebug function to dump data about a location.
reservelocDebug function to reserve a location so it can’t be used for most aliases.
updateawakesound [uas]Update the selected actor’s current conscious loop.
setharvestedMark the current reference as Harvested or not.
pausescenePause or unpause the specified scene.
spawndupeMake a duplicate ref of the selected ref.
disabledistantreferencesDisable references more than a certain distance from the selected ref.
fireassertFire an assert (with text passed, if available).
forcepersistentForce a reference to become persistent.
playactioncamera [pac]Play this action camera on the reference with target reference.
stopactioncameraStop the action camera.
changestanceChange the actor’s stance.
auditionwwiseeventSet of commands for auditioning Wwise events.
auditionreverbform [arf]Force a given Reverb form to be active.
setwwisestate [sws]Sets a global Wwise State
buildanimationdata [bad]Build the animation data for the actor.
switchskeletonToggles between standard and chargen skeletons for an actor.
gethelloorgreeting [actor]Prints out the info id for actor’s hello/greeting to actor param. One of these should be the player.
setbonetintregionAdd bone tint data to an object’s 3d given a region ID (integer) of that object.
senddialogueeventSends a dialogue event for the selected and target actor.
setforcespeechchallengealwayssucceed [1/0]Make all speech challenges automatically succeed.
setforcespeechchallengealwaysfail [1/0]Make all speech challenges automatically fail.
runmaterialsanalysis [rma]Compares the materials of the selected reference.
capturemessages [string]Captures DebugString, USER1 and USER2 messages using a Message Event Listener and sends the output to CaptureMessage.Iua
toggletrijuiceToggles Trijuicing in the renderer (may slightly degrade texture filtering quality in exchange for improved performance).
setpresentthreshold [spt]Set percentage (0-100) of scanlines covered before swap threshold is hit: default 0 (always swap)
linkfullaccountLink full Bnet account to game-account: (username) (password)
isloggedin [isonline]Is the player logged in to
getlegaldocs [getlegaldocs]Retrieves a list of all required legal documents.
acceptlegaldocAccepts a legal document based on its ID: acceptlegaldoc (id)
getdataattachmentPrints data from Profile Data Attachment: getattachment (type) (id)
deletedataattachmentDeletes a Profile Data Attachment: deleteattachment (type) (id)
uploadcharacterdataUploads character data playload as bnet Profile Data Attachment.
getattachmentleaderboard [getattachmentleaderboard]Gets attachment leaderboard page: getattachmentleaderboard (attachment type) (leaderboard type)
loaduniteddataGets character data from leadersboard and caches it.
makeunitynpcUpdates 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.
togglevblankoptimToggles VBlank optim
addkeywordAdd the given keyword to the reference
removekeywordRemove the given keyword on the reference.
setambientparticlesenabledEnables(1)/disables(0) ambient particles.
removeoutposts [ref]Removes the given Outpost and all built items.
setesramsetupForce specific ESRAM setup (-1 for automatic setup).
callstacktracedepthSet the callstack depth when tracing it.
commandedactivatedCommands selected actor to use a reference.
enablegalaxymodeEnables/Disables galaxy mode.
togglestarfielddebugToggles the StarField debug on or off.
setstarfieldcoordinatescale [value]Sets the StarField coordinate scale.
setstarsystemscale [sss]Sets the star system scale.
movetoplanetIf target player ship, move to or give path to pilot to (target) (1 to do full jump sequence).
setorbitspeedscaleSets global orbit speed scale.
instancenamingrulesExport instance naming rule data to file INRExport.txt.
getorbismodinfoPrints info relating to Orbis mod game data files.
togglescenedebugShow debug state for scene.
setfarclipSet far clip value. (-1 to clear override)
toggleoverdrawToggle overdraw
recordsceneCapture screen shots of scene. (Scene EditorID, [FPS 60 default])
landonplanet [lop]Land on a planet. (lop )
takeofftospaceTake off to space.
previewbodyresources [pbr]Previews resources for a planet.
sendaffinityevent(AffinityEvent [ObjRef]) Run an affinity event on an optional object reference.
addpowerAddPower (part) #
removepowerRemovePower (part) #
matlockcaptureForce matlock to realize a capture.
togglesnapnodemarkersToggle snap node markers.
setvoicetypeSet an override voice type on an actor.
addworldspacetoplanetAdds a world space to a planet.
debugdataproviderSet the name of the UI Data Provider we want to debug.
loadall3dLoad all queued 3D.
printallmenus [pam]Print all active menus.
printallinputcontext [paic]Print the input context stack.
addplottobody [addplot]Plot a route to this body.
reloadfacedataReload face data.
setgravityscaleSets gravity scale on a ref’s parent cell.
previewblockPreviewBlock (blockname) (biome).
exportterraintexturesExport terrain textures.
exportterraingridsExport terrain grids.
exportterrainheightmapExport terrain height map.
exportterrainsplatmapExplort terrain splat map.
exportterrainmaterialindexmapExport terrain material index map.
exportterrainfilesExport terrain files.
updateterrainclipmapsRefresh Terrain Clipmaps.
toggledebugcameraToggle debug camera (mode name)
cycleprevdebugcameraCycle to previous debug camera.
cyclenextdebugcameraCycle to next debug camera.
toggledebugcameracontrolsToggle debug camera controls.
setimguiwindowfunction [siw]Activate an ImGui window.
invokeuieventInvokes a ui > c++ event.
hotreloaduiExport terrain splat map.
setposrelativetorefScript function to set the position of the picked ref relative to another ref (defaulted to the player).
facerefMake a ref face towards another ref (defaulted to the player), with an extra angle offset.
setworkshopitemSet the Workshop menu’s Node Cursor to the currently selected reference, if any.
generatenavmeshGenerates nav-mesh on the current cell.
landonplanetanimatedLand player’s spaceship with animation.
startnewgameCommand to trigger new game on main menu without UI.
forcedbleedoutForce an actor to enter bleedout.
forceconditionformtrueForce a condition form to true. args: FromID, (enable)0/1, (permanent)0/1.
forceconditionformfalseForce a condition form to false. args: FromID, (enable)0/1, (permanent)0/1.
landonplanetbiomeLand on a planet’s biome. (lopb (planetname) (biome index) [(centered)0/1])
landonplanetmarkerLand at a marker on the current planet.
clearlinkedrefClear a linked reference.
setlocaltimeSets the local time on the current planet, optionally updating the galaxy sim.
reloadmaterialsReloads all materials.
placementoncellTest overlay placement on a cell. (poc (cellindex.x)(xellindex.y))
toggleworkshopflycamToggle workshop flycam.
checkbiomemarkerFinds uses in the loaded area of the given biome marker.
testbiomeplanet [tbp]Creates a full planet set to use the given biome exclusively and puts the player there.
previewpatternPreviewPattern (patternname)(biome)
sethavokdynamicSet reference motion to dynamic with optional mass in kg.
sethavokkinematicSet reference motion to kinematic.
sethavokactiveSet reference havok activity.
sethavoklodSet reference collision lod.
sethavoklinearvelocitySet reference linear velocity.
sethavokangularvelocitySet reference angular velocity.
sethavokcollisionlayerSet havok collision layer.
sethavokragdollfrictionSet havok ragdoll friction.
sethavokparamSet havok param.
showhavokragdollvaluesShow havok ragdoll values.
starthavokparttestStart/reset havok particles test.
stophavokparttestStop havok particles test.
setorientationSet reference orientation
toggledebugtext3dToggle in game debug text.
togglebiooverlayToggle the BI Overlay.
togglemetricviewerSpawn Metric Viewer
printmessagePrint a message to the screen (print (message) (time) (clear previous messages flag))
adddebugtestAdd debug text to a reference (AddDebugText (debug text) (size) (color) (background color) (border color) (offsetX) (offsetY) (offsetZ) (pinned flag)
disableactorpackage [1/0]Disable or enable an actor’s package.
stopbatchfileStop a running batchfile.
centeronspacecellMove to the specified space cell, optionally specify a ship.
dependencygraphdumpDump Dependency Graph.
toggleexperimentalshadersToggles experimental shaders on/off.
settestplanetandbiomeSets a test planet and biome for interior testing with biome markers.

Keep in mind that many of the above-mentioned commands may cause unexpected game crashes and performance issues, so use them at your own risk.

If you’re into game design or programming and still want to use those commands, simply drop the console while targeting objects, NPCs, and other structures in the game to find their appropriate ID to generate later.

That’s a wrap on all Starfield console commands. If you found this information useful, you can also check out our other Starfield guides and pro tips below:

Starfield: How to fix stuttering & low FPS issues on PC | Does Starfield have multiplayer or co-op? | Does Starfield have mod support at launch? | Does Starfield have New Game Plus? | Is Starfield on Steam Deck? | Will Starfield have DLC & story expansions? | Every religion in Starfield explained | Starfield Powers explained

Related Topics