Terraria Admin & Console Commands
21 verified Terraria server administration, moderation, and gameplay commands with copyable examples.
Need a Terraria server? Requirements, free self-hosting & 3 hosts compared Hosting guide →| Command | Syntax & Usage | Example | Action |
|---|---|---|---|
| ban Moderation | ban <player>Bans a player by IP and appends them to banlist.txt. |
ban Player1 |
|
| kick Moderation | kick <player>Disconnects a player from the server. |
kick Player1 |
|
| playing Moderation | playingLists all connected players with their IP addresses. |
playing |
|
| say Moderation | say <message>Broadcasts a server message in yellow text to all players. |
say Restarting in 5 minutes! |
|
| password Server Auth | password [new_password]Displays or changes the server join password. |
password MySecretPass |
|
| help Server Info | helpDisplays all available Terraria dedicated server console commands. |
help |
|
| maxplayers Server Info | maxplayersDisplays the maximum player limit for the server. |
maxplayers |
|
| exit Server Maintenance | exitSaves the world and shuts down the dedicated server. |
exit |
|
| exit-nosave Server Maintenance | exit-nosaveShuts down the server immediately without saving. |
exit-nosave |
|
| save Server Maintenance | saveForces an immediate world save to disk. |
save |
|
| /give (TShock) TShock Admin | /give <itemName|itemID> <player> [amount]Gives an item to another player (TShock servers). |
/give 4956 Player1 1 |
|
| /godmode (TShock) TShock Admin | /godmode [player]Toggles invulnerability for yourself or a target player (TShock servers). |
/godmode |
|
| /i (TShock) TShock Admin | /i <itemName|itemID> [amount] [prefix]Spawns an item directly into your inventory by ID or name (TShock servers). |
/i 3541 1 |
|
| /spawnboss (TShock) TShock Admin | /spawnboss <bossName>Summons a Terraria boss at your location (TShock servers). |
/spawnboss "eye of cthulhu" |
|
| /spawnmob (TShock) TShock Admin | /spawnmob <npcID|name> [amount]Spawns NPCs or enemies near you (TShock servers). |
/spawnmob 4 1 |
|
| /tp (TShock) TShock Admin | /tp <player>Teleports you to another player (TShock servers). |
/tp Player1 |
|
| dawn World & Time | dawnSets world time to 4:30 AM (dawn). |
dawn |
|
| dusk World & Time | duskSets world time to 7:30 PM (dusk). |
dusk |
|
| midnight World & Time | midnightSets world time to 12:00 AM (midnight). |
midnight |
|
| noon World & Time | noonSets world time to 12:00 PM (noon). |
noon |
|
| settle World & Time | settleForces all water, lava, and honey liquids to settle immediately. |
settle |
