Terraria server commands come in two flavours: the light vanilla console (save, time, kick, ban) and the far more powerful TShock command set (/ban, /god, /item, /tp and more) if you run a TShock server. Here's the list that matters for each, with syntax.
Quick answer
A vanilla Terraria server has a small console command set typed without a slash — save, time, kick, ban, exit. TShock adds far more, typed in chat with a slash — /ban, /god, /item, /tp — plus user accounts and permission groups. Which commands you have depends on which server you run.
The stock Terraria dedicated server has a small console command set (no slashes). TShock is the popular server mod that adds a large in-game command set (typed in chat with /) plus user accounts and permissions. Which commands you have depends on which server you run.
Vanilla server console commands
| Command | What it does |
|---|---|
say <message> | Broadcast a server message. |
playing | List connected players. |
kick <player> | Kick a player. |
ban <player> | Ban a player. |
save | Save the world now. |
time / dawn / noon / dusk / midnight | Show or set the time of day. |
settle | Settle all liquids instantly. |
exit | Save and stop the server. |
TShock admin commands
| Command | What it does |
|---|---|
/kick <player> [reason] | Kick a player. |
/ban add <player> [reason] | Ban a player. |
/mute <player> | Mute a player's chat. |
/god | Toggle god mode. |
/item <name> [stack] | Give yourself an item. |
/give <item> <player> [stack] | Give a player an item. |
/heal [player] | Fully heal. |
/tp <player> | Teleport to a player. |
TShock world & accounts
| Command | What it does |
|---|---|
/time <day|night|noon|...> | Set the time of day. |
/butcher | Kill all NPCs/enemies. |
/spawnmob <mob> [amount] | Spawn a mob or boss. |
/worldinfo | Show world details. |
/user add <name> <pass> <group> | Create a user account. |
/save | Save the world now. |
TShock admin commands are gated by user accounts and groups (superadmin, etc.), not just being on the server. Register with /register, log in with /login, and assign groups with /user. Only trusted groups get the powerful commands.
More TShock commands
| Command | What it does |
|---|---|
/warp <name> | Teleport to a saved warp point. |
/region | Manage protected regions (define, protect, allow). |
/home | Teleport to your saved home / spawn. |
/spawn | Teleport to the world spawn. |
/slap <player> [damage] | Slap a player for light damage (a soft warning). |
/kill <player> | Kill a player. |
Related Terraria guides
Setting a server up? See how to make a Terraria server. If players can't connect, see fixing Terraria "can't connect".
Terraria is a trademark of Re-Logic. tModLoader and mods are the property of their authors. ESAGAMES is an independent hosting provider, not affiliated with or endorsed by Re-Logic.