Open the Console tab and type a command without a /. On Terraria Vanilla and tModLoader, type help to list the commands the server knows. The most used are save, say, playing, kick and exit. On TShock, the Console runs TShock's own commands.
Terraria Vanilla and tModLoader
The server's own help lists these:
| Command | What it does |
|---|---|
help | Displays a list of commands. |
playing | Shows the list of players. |
clear | Clear the console window. |
exit | Shutdown the server and save. |
exit-nosave | Shutdown the server without saving. |
save | Save the game world. |
kick <player> | Kicks a player from the server. |
ban <player> | Bans a player from the server. |
password | Show password. |
password <pass> | Change password, until the next restart. |
version | Print version number. |
time | Display game time. |
port | Print the listening port. |
maxplayers | Print the max number of players. |
say <words> | Send a message to everyone. |
motd | Print MOTD. |
motd <words> | Change MOTD, until the next restart. |
dawn, noon, dusk, midnight | Change the time of day. |
settle | Settle all water. |
seed | Displays the world seed. |
A command the server does not know answers Invalid command.

On tModLoader, modlist shows which mods loaded.
TShock
TShock's Console runs TShock commands, typed without /. Some useful ones:
help: lists the commands.playingorwho: who is on.say: a message to everyone.save: saves the world.kickand a name,ban addand a name,ban list,ban deland a number.userandgroup: accounts and permissions: How to manage TShock groups and permissions.whitelistand an address: How to use a whitelist on your TShock server.timeandday,night,noon,midnightor a time such as04:30.off: shuts down the server while saving.
Good to know
- Stop in the panel sends
exitfor you, which saves the world and shuts the server down, on all three types. passwordandmotdchanges last until the next restart. Set them in Game Settings to keep them.- Typing in the Console needs the Use the console permission.
- Lines starting with
[pnh-update]and[pnh-mods]come from the panel's start tools: How to update your Terraria server and hold a version. - Commands you run often can be pinned on Quick Tasks: How to schedule backups and restarts for your Terraria server.
- More on the Console: How to use the console and run commands.





