This is the complete list. If you just want the handful of commands most people actually use, see How to Become Admin instead.
You need to be on the server's admin list before any of these work. Open the console in-game with F5, type the command, and press Enter.
Player commands
| Command | What it does |
god | Makes your character invincible. |
ghost | Enemies stop noticing you. |
heal | Instantly restores health, stamina, and hunger. |
respawn | Kills your character and respawns them immediately. |
puke | Resets hunger, health, and stamina back to their base values. |
freefly | Detaches the camera from your character for screenshots. |
fov <number> | Changes your field of view. |
model <0 or 1> | Switches your character's body type. |
World and map commands
| Command | What it does |
pos | Shows your current coordinates. |
goto x y z | Teleports you to the given coordinates. |
exploremap | Reveals the entire map. |
resetmap | Hides the map again, as if unexplored. |
nomap | Hides the map from players entirely. |
noportals | Disables portal travel on the server. |
location <name> | Sets a new spawn location. |
resetspawn | Resets spawn back to the default. |
genloc | Redistributes objects that haven't been placed yet around the map. |
printlocations | Lists loaded locations along with their distance and offset. |
find <text> <pingmax> | Searches for objects and marks them on the map. |
Time and weather
| Command | What it does |
skiptime <seconds> | Fast-forwards the game clock. |
time | Shows the current time and whether players are sleeping. |
timescale <target> <fadetime> | Changes how fast time passes. |
wind <angle> <intensity> | Sets wind direction and strength. |
resetwind | Puts wind back to default. |
Spawning and items
| Command | What it does |
spawn <item/enemy> <quantity> <level> | Spawns an item or enemy. |
itemset <name> <keep> | Spawns a full item set. Use keep to stop items dropping on death. |
tame | Tames nearby tameable creatures instantly. |
killall | Kills nearby enemies. |
removedrops | Clears dropped loot nearby. |
removebirds | Removes active birds nearby. |
removefish | Removes active fish nearby. |
printcreatures | Lists nearby creatures with their level and count. |
nocost | Removes crafting and building material costs. |
Skills and progress
| Command | What it does |
raiseskill <skill> <amount> | Increases a skill by the given amount. |
resetskill <skill> | Resets a skill back to zero. |
setpower <name> | Grants a Forsaken Power and resets its cooldown. |
listkeys | Lists every global key currently active. |
setkey <name> | Adds a global key. |
resetkeys | Clears all global keys. |
removekey <name> | Removes one specific global key. |
Events
| Command | What it does |
event <name> | Starts a specific event. |
randomevent | Starts a random event. |
stopevent | Ends whatever event is active. |
Server and moderation
| Command | What it does |
save | Force-saves the world right away. |
info | Shows server system information. |
ping | Checks your connection latency to the server. |
banned | Lists everyone currently banned. |
ban <name/id/ip> | Bans a player. |
unban <name/id/ip> | Removes a player from the ban list. |
kick <name/id/ip> | Removes a player without banning them. |
say <message> | Sends a message to chat. |
w <player> <message> | Sends a private message to one player. |
Debug and misc
| Command | What it does |
devcommands | Toggles the full debug command set, including flight and free building. |
lodbias <0-5> | Changes the render detail level for distant objects. |
clearstatus | Removes active status effects from your character. |
addstatus <name> | Applies a specific status effect. |
forcedelete <radius> | Deletes objects within a radius, with some exclusions. |
optterrain | Updates old terrain to the current terrain system. |
dpsdebug | Shows a live damage-per-second debug display. |
tutorialtoggle | Turns tutorial popups on or off. |
tutorialreset | Resets which tutorial messages you've already seen. |
Still stuck?
If a command does nothing at all, confirm you're actually on the admin list, see How to Become Admin. If one command errors but the rest work fine, double check the spelling and argument order, most of these are case-insensitive but picky about spacing.