Terraria console commands run in the Web Console of your game panel, chat commands go in the in-game chat box, and the tShock mod adds a full set of admin commands. Here is how to use all three.

Terraria console commands: use the Web Console

  1. Start the server.
  2. Press the Web Console button in the game panel.
  3. Type commands in the console window. Console commands are typed without a / in front.

View a list of all Terraria console commands in the official Terraria wiki, or type help in the console. The most useful ones are:

  • help - displays a list of commands.
  • playing - shows the list of players.
  • say <message> - sends a message to all players.
  • kick <player name> - kicks a player from the server.
  • ban <player name> - bans a player from the server.
  • save - saves the game world.
  • exit - shuts the server down and saves. exit-nosave shuts down without saving.
  • password - shows the server password. password <pass> changes it.
  • motd - prints the message of the day. motd <message> changes it.
  • time - displays the game time. dawn, noon, dusk and midnight change it.
  • settle - settles all water.
  • version, port, maxplayers - print the version number, the listening port and the maximum number of players.
  • clear - clears the console window.

Use save before you stop or restart the server, so nobody loses progress.

Terraria server chat commands

  1. Start the server.
  2. Join your server.
  3. Press Enter to open the chat box.
  4. Type the commands in the chat box.

View a list of all Terraria chat commands in this wiki. Common ones are /playing (list the players on the server), /p (message your party), /me, /roll and /help.

Vanilla Terraria has no cheat or item-spawn commands. For admin powers in game, install tShock (below) or play modded with tModLoader.

Terraria extended admin commands with the tShock mod

  1. Stop the server.
  2. Install tShock from the Mod Manager button.
  3. Start the server if it isn't running, then press the Web Console button to get the tShock setup code.
  4. Join your server.
  5. Press Enter to open the chat box and type /setup <setupcode>

tShock then tells you in chat how to finish: you create your admin account with /user add <username> <password> owner, log in with /login <username> <password> and type /setup once more to switch the setup code off.

Keep the setup code private. Until you turn the setup system off, anyone who has the code can give themselves full admin rights on your server.

View a detailed list of tShock commands and how to use them in the tShock documentation, or type /help in chat once you're logged in.

Terraria command questions

Where do I type Terraria console commands on my server?

Start your server and press the Web Console button in the GTX game panel. Type the command, such as help, playing or save, without a slash in front. Type help to see the full list.

How do I use commands in Terraria in game?

Join the server, press Enter to open the chat box and type a chat command with a slash, such as /playing or /roll. For admin commands in game, such as kicking or banning from chat, install tShock and finish its /setup step.

Can I use cheats in Terraria on my server?

Not in vanilla Terraria: its console and chat commands are for running the server. tShock adds admin commands such as giving items, teleporting and changing the time, once you have set up your admin account.

Want your own Terraria server? See our Terraria server hosting.

Related guides

If you have any questions or you need our help, don't hesitate to open a support ticket. Our support team is available 24/7.

Was this answer helpful? 4 Users Found This Useful (63 Votes)