Console Commands

Open the console with F1. Click Copy to put a command on the clipboard. On dedicated servers you need the matching permission level.

48 of 48 commands

Command Aliases Category Description Copy
AccDecay SetAccDecay, SetAccuracyDecay, sad Debug
Accuracy Decay for guns, show/hide/reset/<Decimal value>
Usage
reset - apply the default settings for this command
<Decimal Value> - Sets the decay constant for accuracy calculations using ItemActionRanged
ai Debug
AI commands
Usage
AI commands:
activityclear - remove all activity areas (heat)
anim <name> - trigger an animation (attack, attack2)
animmove <forward> <strafe> - set animation forward and strafe motion
freezepos - toggles movement
latency - toggles drawing
pathlines - toggles drawing editor path lines
pathgrid - force grid update
ragdoll <force> <time>
rage <speed> <time> - make all zombies rage (0 - 2, 0 stops) (seconds)
sendnames - toggles admin clients receiving debug name info
aiddebug Debug
Toggles AIDirector debug output.
audio Debug
Watch audio stats
Usage
Just type audio and hit enter for the info.
automation Client auto Debug
Automation Script Runner
Usage
Type 'auto' in the console or see source XML doc for full usage.
automove Client Debug
Player auto movement
Usage
Parameters:
off - disable
gototarget - goto the target position
settarget - set target to current player position
clearlookat - disable look at
setlookat - set look at to current player position
line duration loops <x> <y> <z> - move to x y z (or target) over duration with loops (-loops will ping pong)
orbit duration loops <x> <y> <z> - circle around x y z (or target) over duration with loops (-loops will ping pong)
relative x z angle - move by x (left/right) and z (forward) and turn by angle per second
bents Debug
Switches block entities on/off or counts them
Usage
Use 'on' or 'off', or 'info' to count
camera Client cam Debug
Lock/unlock camera movement or load/save a specific camera position
Usage
Usage:
   1. cam save <name> [comment]
   2. cam load <name>
   3. cam list
   4. cam lock
   5. cam unlock
1. Save the current player's position and camera view or the camera position
and view if in detached mode under the given name. Optionally a more descriptive
comment can be supplied.
2. Load the position and direction with the given name. If in detached camera
mode the camera itself will be adjusted, otherwise the player will be teleported.
3. List the saved camera positions.
4/5. Lock/unlock the camera rotation. Can also be achieved with the "Lock Camera" key.
ccphysics Client Debug
Enables or disables changes to CCPhysics layer interactions. Reloading the game session may be necessary to fully apply if changed.
challenges Client Debug
Complete certain challenges
chunkcache Client cc Debug
shows all loaded chunks in cache
debuggamestats Debug
GameStats commands
debugjiggle Client dgj Debug
debugpanels Client Debug
allows usage of debug display panels (F3 menu) via command console
Usage
debugpanels - toggle display, enabling also enables the debug menu
debugpanels [names] - set these panels active and disable all others, uses the short name of the panel (e.g. debugpanels Ply Ge Sp)
debugshot Client dbs Debug
Creates a screenshot with some debug information
Usage
Usage:
  debugshot [save perks]
Lets you make a screenshot that will have some generic info
on it and a custom text you can enter. Also stores a list
of your current perk levels, buffs and cvars in a CSV file
next to it if the optional parameter 'save perks' is set to true
debugweather Client Debug
Dumps internal weather state to the console.
discord Client dc Debug
Toggle Discord debug window
dms Client Debug
Gives control over Dynamic Music functionality.
Usage
No commands available for dms at the moment.
dynamicproperties Client dprop Debug
Dynamic Properties debugging
floatingorigin Client fo Debug
ForceEventDate Client Debug
Specify date for testing event dates
fov Debug
Camera field of view
ftw Client fellthroughworld Debug
Log the fell through world debug information for testing purposes.
gfx Client Debug
Graphics commands
Usage
Graphics commands:
af <value> - anisotropic filtering off, on or force on (0, 1, 2)
dr <scale> <min> <max> - set dynamic res scale (0 auto, .1 to 1 force, -1 for off) and min/max FPS
dt <value> - toggle distant terrain or set value (0 or 1)
dti <value> - set distant terrain instancing (0 or 1)
dtmaxlod <value> - set distant terrain max LOD (0 to 5)
dtpix <value> - set distant terrain pixel error (1 to 200)
key name <value> - set shader keyword (0 or 1)
pp name <value> - set postprocessing name (enable, ambientOcclusion (ao), auto exposure (ae), bloom, colorGrading (cg), etc.) to value (0 or 1)
res <width> <height> - set screen resolution
resetrev - clear graphics preset revision
skin <value> - set skin bone count (1, 2, 4, 5+ (all))
st name <value> - set streaming name (budget (0 disables), discard, forceload, reduction) to value
tex - show texture info
texbias <value> - set bias on all textures
texlimit <value> - set limit (0-x)
viewdist <value> - Set view distance in chunks
graph Client Debug
Draws graphs on screen
Usage
Graph commands:
# - 0 removes all graphs, 1+ sets graphs height
cvar <name> <count> <max> - show graph of a cvar, line count (0 hides), max graph value (default is 1)
dr <count> - show dynamic res graph, line count (0 hides)
fps <count> <fps max> - show fps graph, line count (0 hides), max graph value
pe <name> <count> <max> - show graph of a passive effect (healthmax..), line count (0 hides), max graph value (default is 1)
spf <count> <spf max> - show seconds per frame graph, line count (0 hides), max graph value
stat <name> <count> <max> - show graph of a stat (health, stamina..) with line count (0 hides), max graph value (default is 1)
tex <name> <count> - show texture graph (mem or stream), line count (0 hides)
jds Debug
Server junk drone commands.
lgo Client listgameobjects Debug
List all active game objects
meshdatamanager Client mdm Debug
Toggle the MeshDataManager
Usage
mdm
mumblepositionalaudio mpa Debug
Mumble Positional Audio related tools
na Debug
Test new HD stuff.
Usage
Usage:
  1. na
occlusion Client Debug
Control OcclusionManager
overlap Debug
Toggle LocalPlayer's Character Controller Overlap Recovery
pathtest Debug
enable a path testing utility mode
performanceprofiler Client pp Debug
Performance Profiling Utility
Usage
Type 'pp' to toggle capture, or 'pp start [fps]' / 'pp stop'.
pirs Debug
tbd
profilenetwork Client Debug
Writes network profiling information
profiler Client Debug
Utilities for collection profiling data from a variety of sources
profiling Client Debug
Enable Unity profiling for 300 frames
ScreenEffect Debug
Sets a screen effect
Usage
ScreenEffect [name] [intensity] [fade time]
ScreenEffect clear
ScreenEffect reload
show Client Debug
Shows custom layers of rendering.
showalbedo Client albedo Debug
enables/disables display of albedo in gBuffer
showchunkdata Client sc Debug
shows some date of the current chunk
showClouds Debug
Artist command to show one layer of clouds.
Usage
type "showClouds myCloudTexture" where "myCloudTexture" is the name of the texture you want to see.
type "showClouds" to turn off this view.
Note: cloud textures MUST be locasted at ./resources/textures/environment/spectrums/default
shownormals Client norms Debug
enables/disables display of normal maps in gBuffer
showspecular Client spec Debug
enables/disables display of specular values in gBuffer
sleeper Debug
Drawn or list sleeper info
Usage
draw - toggle drawing for current player prefab
list - list for current player prefab
listall - list all
r - reset all
SpawnScreen Debug
Display SpawnScreen
Usage
SpawnScreen on/off
spectrum Client Debug
Force a particular lighting spectrum.
Usage
spectrum <Auto, Biome, BloodMoon, Foggy, Rainy, Stormy, Snowy>