Terraria Server Commands: Full Console List + TShock (1.4.5)
Every vanilla Terraria server console command — exit, save, kick, ban, say, motd, time controls — plus Journey Mode powers and where TShock fits in.
FAQ
How do you use Terraria server commands?
Is there a /give command in Terraria?
What port does a Terraria server use?
How does a vanilla dedicated server work?
Terraria ships with a free dedicated server executable (the official downloads live on terraria.org). Launch it, point it at a world file, and it listens on TCP port 7777 with a default cap of 16 players — both adjustable with launch flags (-port, -maxplayers) or serverconfig.txt. There’s no GUI admin panel; administration happens by typing commands into the console window.
Console commands take no / prefix — a quirk that trips up players coming from Minecraft. The one overlap: playing works in-game chat as /playing to list who’s connected.
What are all the vanilla server console commands?
| Command | What it does |
|---|---|
help |
Lists all commands |
playing |
Shows connected players (in-game: /playing) |
clear |
Clears the console window |
exit |
Saves the world and shuts down |
exit-nosave |
Shuts down without saving |
save |
Saves the world now |
kick <player> |
Disconnects a player |
ban <player> |
Bans a player |
password / password <x> |
Shows or changes the server password |
version |
Prints the server version |
time |
Displays game time |
port |
Prints the listening port |
maxplayers |
Prints the player cap |
say <msg> |
Broadcasts a yellow <Server> message |
motd / motd <x> |
Shows or changes the message of the day |
dawn / noon / dusk / midnight |
Sets the clock to 4:30 AM / 12 PM / 7:30 PM / 12 AM |
settle |
Settles all water in the world |
death / pvpdeath |
Shows your death / PvP-death counts |
alldeath / allpvpdeath |
Shows everyone’s death / PvP-death counts |
The last four are 1.4.4 additions. Notice what’s missing: there’s no give, spawn, teleport, or godmode — vanilla server commands are strictly world administration.
Where do TShock and mods come in?
If you need in-game admin verbs — /give, /item, permissions groups, regions, buffs — that’s TShock (or its relatives like TDSM), the long-standing server mod that wraps the dedicated server with a full permission system and plugin ecosystem. TShock’s command list is its own documentation; the vanilla table above is all Re-Logic ships.
For solo play, the closest thing to a cheat console is Journey Mode: Journey characters in Journey worlds unlock the Power Menu — Research + Duplication (spawn any researched item infinitely), Time, Weather, a Personal Power Menu with Godmode, Infection Spread toggle, and an Enemy Difficulty slider. See the item IDs page for how those tools differ from actual “codes” — there are none.
What’s the recommended multiplayer setup?
For two to five friends, host-and-play (Multiplayer → Host & Play in-game) beats a dedicated server — zero config, same world. For a persistent world, run the dedicated server on a spare machine or VPS with a serverconfig.txt — and cross-play between platforms is coming in 1.4.6 Phase One, which is exactly when dedicated servers become the best way to bridge PC and console friends. New to the game itself? Start with the beginner guide before you worry about hosting.
Related Articles
Was this helpful?
Thanks for the feedback!