Skip to content

Terraria Server Commands: Console & TShock List

All Terraria server commands in one list: kick, ban, save and say in the console, plus TShock admin commands with examples.

26 November 20264 min read10 Views0 helpful

Don't have your own server yet? Host your Terraria server with ZAP-Hosting from €4.49 / month.Or try 3 days from €0.81

Introduction

Terraria server commands let you manage players, save your world and control the time without restarting the server. Which commands you can use depends on the server software: the regular Terraria server (vanilla) and tModLoader take commands in the server console. TShock adds a full set of admin commands that also work in the in-game chat.

This guide lists the most important commands for all three and shows where to enter them in ZapX.

Where to enter commands

Open your game server in ZapX and switch to the Console tab. Type the command and press Enter. In the console, commands are entered without a leading /.

In the in-game chat, commands always start with /. Vanilla Terraria only has a few chat commands. Admin commands in the chat are only available with TShock.

Tip

Set your password, port or player limit permanently in the server configuration.

Console commands (vanilla and tModLoader)

These commands work in the Console tab for both the regular Terraria server and tModLoader:

CommandEffect
helpLists all console commands
playingShows all connected players
say <message>Sends a message to all players
kick <player>Removes a player from the server
ban <player>Bans a player
saveSaves the world
timeShows the current in-game time
dawn, noon, dusk, midnightChanges the in-game time
settleSettles all flowing water
motd / motd <message>Shows or changes the message of the day
password / password <password>Shows or changes the server password
maxplayersShows the player limit
portShows the server port
versionShows the Terraria version
clearClears the console window
exitSaves the world and stops the server
exit-nosaveStops the server without saving
Info

To stop your server, we recommend the Stop button in ZapX instead of exit. The world is saved in both cases.

Unban a player

The regular server has no unban command. Banned players are listed in config/banlist.txt in the Files tab. Delete the player's name and IP address from the file and restart the server.

In-game chat commands (vanilla)

Every player can use these commands in the chat:

CommandEffect
/playingShows all connected players
/rollRolls a number from 1 to 100
/p <message>Sends a message to your team only
/me <action>Sends an emote, e.g. /me is building a house

Vanilla Terraria has no commands for items, bosses or teleporting. For that, you need TShock.

TShock admin commands

With TShock you get user accounts, groups and permissions. If you haven't installed TShock yet, follow our guide Become a Server Admin (TShock) first. You need to be logged in with an account that has the right permissions (/login <username> <password>).

In the in-game chat, enter the commands with /. In the Console tab, leave out the /.

Players and moderation

CommandEffect
/whoShows all connected players
/kick <player> [reason]Removes a player from the server
/ban add <player> [reason] [duration]Bans a player, e.g. /ban add Steve griefing 1d
/ban listLists all bans with their ticket number
/ban del <ticket>Lifts a ban
/mute <player> [reason]Mutes a player in the chat
/tp <player>Teleports you to a player
/tphere <player>Teleports a player to you
/broadcast <message>Sends a highlighted message to everyone

Items, mobs and bosses

CommandEffect
/item <item> [amount]Gives you an item, e.g. /item "Copper Shortsword"
/give <item> <player> [amount]Gives an item to another player
/spawnmob <mob> [amount]Spawns monsters near you
/spawnboss <boss> [amount]Spawns a boss, e.g. /spawnboss "eye of cthulhu"
/butcherKills all hostile monsters
/heal [player]Fully heals you or another player
/godmode [player]Makes you or another player invincible
/buff <buff> [seconds]Gives you a buff
Tip

Item, mob and boss names with spaces must be in quotation marks. You can also use the ID instead of the name.

World and server

CommandEffect
/time <day, night, noon, midnight or hh:mm>Changes the in-game time, e.g. /time noon
/worldevent <event>Starts an event, e.g. /worldevent bloodmoon
/setspawnSets the world spawn point to your position
/saveSaves the world
/reloadReloads the TShock configuration and permissions
/off [reason]Saves the world and shuts down the server

Users and permissions

CommandEffect
/user add <username> <password> <group>Creates an account in a group
/user group <username> <group>Moves an account to another group
/group addperm <group> <permission>Gives a group an extra permission
/help [page]Lists all commands you are allowed to use

TShock includes the groups newadmin, admin, trustedadmin and owner. Each group has more permissions than the previous one.

Conclusion

Vanilla Terraria and tModLoader give you the basics in the console: kick, ban, save and change the time. If you want admin commands in the chat, items or bosses on demand and fine-grained permissions, install TShock on your Terraria server.

If you have any questions or need help, our support team is here for you every day! 🙂

Free tools

Terraria Tools

View all

FAQ

Frequently asked questions

Open your server in ZapX, switch to the Console tab and enter the command without a leading /. With TShock you can also use admin commands in the in-game chat with /.
Not on a regular Terraria server. With TShock you can use /item or /give. Without TShock, Journey Mode is the only built-in way to duplicate items.
On a regular server, remove the player from config/banlist.txt in the Files tab and restart. With TShock, look up the ticket number with /ban list and use /ban del <ticket>.

Feedback

Was this article helpful?

Your feedback helps us prioritize and improve content.

0 of 0 people found this article helpful.

Personal support

Need more help than the guide provides?

Our ZAP-Hosting support team knows your product — briefly describe your issue and we'll help you personally.

Zappy knows this guide and answers you right in the chat.