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.

32 of 32 commands

Command Aliases Category Description Copy
buff Client Player
Applies a buff to the local player
buffplayer Player
Apply a buff to a player
Usage
Usage:
   buffplayer <player name / steam id / entity id> <buff name>
Apply the given buff to the player given by the player name or entity id (as given by e.g. "lpi").
creativemenu Client cm Player
enables/disables the creativemenu
cvar Client Player
Commands to set, get, track or list CVars.
Usage
Usages of the commands. Add '-p <playerId>' to any command to apply that command to a remote player. 
cvar get <cvarName>
cvar set <cvarName> <floatValue>
cvar track <cvarName> <true|false>
cvar list <searchFilter>
debuff Client Player
Removes a buff from the local player
debuffplayer Player
Remove a buff from a player
Usage
Usage:
   debuffplayer <player name / steam id / entity id> <buff name>
Remove the given buff from the player given by the player name or entity id (as given by e.g. "lpi").
debugmenu Client dm Player
enables/disables the debugmenu
exhausted Client Player
Makes the player exhausted.
gamestage Client Player
Shows the gamestage of the local player
givequest Client Player
Gives a quest to the player or add to quest tier
Usage
givequest commands:
complete - complete all quests
tieradd <points> - add the points to your quest tier (default is 10)
<quest name> - gives you the quest
giveself Client Player
giveselfxp Client Player
usage: giveselfxp 10000
Usage
Give yourself experience
Usage:
   giveselfxp <number> [1 (use xp bonuses)]
givexp Player
Give XP to a player
Usage
Give a player experience points
Usage:
   givexp <entity id / player name / user id> <number>
junkDrone Client jd Player
Local player junk drone commands.
kill Player
Kill a given entity
Usage
Kill a given entity.
Usage:
   1. kill <entity id>
   2. kill <player name / steam id>
1. can be used to kill any entity that can be killed (zombies, players).
2. can only be used to kill players.
killall Player
Kill all entities
Usage
Kills all matching entities (but never players)
Usage:
   killall (all enemies)
   killall alive (all EntityAlive types except vehicles and turrets)
   killall all (all types)
loot Client Player
Loot commands
Usage
Loot commands:
container [name] <count> <stage> <abundance> - list loot from named container for count times
newweathersurvival Player
Enables/disables new weather survival
playerOwnedEntities Client poe Player
Lists player owned entities.
playervisitmap Client pvm Player
Teleports the player through a rectangular area with optional memory logging
Usage
<x1> <z1> <x2> <z2> : start teleporting through the area defined by the coorindates, should be such that x1 < x2 and z1 < z2
stop : stop moving
height <int> : set the height off the ground to move the player to
stepradius <int> : set distance between teleports in chunks, default is half the player's view dimension
logfile <prefix> : sets the file for the memory log to a temporary file with this prefix
stepsperlog <int> : count of teleports between logs
dumplog : dump the current log file to the game log
removequest Client Player
usage: removequest questname
resetallstats Client Player
Resets all achievement stats (and achievements when parameter is true)
sdcs Player
Control entity sex, race, and variant
Usage
Change a player's sex, race, and variant:
  Usage:
    sdcs                            : Show current archetype values
    sdcs <sex|race|variant> <value> : Set the specified value
  Examples :
    sdcs sex <male|female>
    sdcs race <white|black|asian|native>
    sdcs variant <1|2|3|4>
showhits Client Player
Show hit entity info
Usage
Commands:
damage - toggle damage numbers
hits <time> <size> - toggle hits
showswings Client Player
Show melee swing arc rays
spawnentity se Player
spawns an entity
Usage
se playerId entity# <count> - spawn around playerId (0 for local) entity# of count (1 to 100)
spawnentityat sea Player
Spawns an entity at a give position
Usage
Usage:
  1. spawnentityat
  2. spawnentityat <entityidx> <x> <y> <z>
  3. spawnentityat <entityidx> <x> <y> <z> <count>
  4. spawnentityat <entityidx> <x> <y> <z> <count> <rotX> <rotY> <rotZ>
  5. spawnentityat <entityidx> <x> <y> <z> <count> <rotX> <rotY> <rotZ> <stepX> <stepY> <stepZ>
  6. spawnentityat <entityidx> <x> <y> <z> <count> <rotX> <rotY> <rotZ> <stepX> <stepY> <stepZ> <spawnerType>
1. Lists the known entity class names
2. Spawns the entity with the given class name at the given coordinates
3. As 2. but spawns <count> instances of that entity type
4. As 3. but also specifies the rotation of the spawned entities
5. As 4. but also specify the step distance between entities
6. As 5. but also specify the spawner source of the entity (Dynamic, StaticSpawner, Biome)
starve Client hungry, food Player
Makes the player starve (optionally specify the amount of food you want to have in percent).
teleport tp Player
Teleport the local player
Usage
Usage:
  1. teleport <x> <y> <z> [view direction]
  2. teleport <x> <z> [view direction]
  3. teleport <target steam id / player name / entity id>
  4. teleport offset <inc x> <inc y> <inc z>
For 1. and 2.: view direction is an optional specifier to select the direction you want to look into
after teleporting. This can be either of n, ne, e, se, s, sw, w, nw or north, northeast, etc.
1. Teleports the local player to the specified location. Use y = -1 to spawn on ground.
2. Same as 1 but always spawn on ground.
3. Teleports to the location of the given player
4. Teleport the local player to the position calculated by his current position and the given offsets
teleportplayer tele Player
Teleport a given player
Usage
Usage:
  1. teleportplayer <user id / player name / entity id> <x> <y> <z> [view direction]
  2. teleportplayer <user id / player name / entity id> <target user id / player name / entity id>
1. Teleports the player given by his UserID, player name or entity id (as given by e.g. "lpi")
   to the specified location. Use y = -1 to spawn on ground. Optional argument view direction
   allows you to speify a direction you want to look in after teleporting. This can be either
   of n, ne, e, se, s, sw, w, nw or north, northeast, etc.
2. As 1, but destination given by another (online) player
thirsty Client Player
Makes the player thirsty (optionally specify the amount of water you want to have in percent).
weathersurvival Player
Enables/disables weather survival