Back to Terraria
Games· Terraria

How to Enable Cheats and Admin Commands on Your Terraria Server

Jesse K.
4 min readUpdated Nov 1, 2026

Learn how to enable server-side cheats and run admin commands on your Terraria server using the RiverHosting panel.

Terraria does not have a traditional cheat or admin command system built into the base game, but your Terraria server does support a set of server-side console commands that let you control the game, manage players, and change settings without needing to be in-game. This article explains how to use those commands directly from the RiverHosting panel.

Before you start

  • Make sure your Terraria server is running. Commands can only be entered into an active server console.
  • You need access to your server on the RiverHosting panel.
  • These commands are entered through the server console, not through the in-game chat box. This applies to Vanilla and tModLoader servers.
  • On a TShock server the console does not accept typed commands. Everything is run in-game as /commands instead (see the note below).
Server console vs. in-game chat

Terraria server commands are typed into the server console on your panel. They are not the same as messages typed into the in-game chat window. Players cannot see console commands in chat.

TShock servers

After TShock is installed, the panel console stops accepting typed commands. Run admin commands in-game in chat as /commands, for example /kick. To get admin rights first, open the Admin page in the panel, copy the /setup <code> command and paste it into in-game chat.

1. How to open the server console

The server console is where your Terraria server prints activity logs and where you can type commands directly to control the server.

  1. Log in to the RiverHosting panel.
  2. Click on your Terraria server from the server list.
  3. You will land on the main server page. The console window is displayed in the center of the screen.
  4. Click inside the input field at the bottom of the console window.
  5. Type your command and press Enter to run it.
Keep an eye on the output

After running a command, the console will usually print a response confirming what happened. If nothing changes, double-check that the server is fully started before trying again.

2. Common Terraria server commands

Below is a list of the most useful server commands you can run from the console. Type each command exactly as shown and press Enter.

  • help - Lists all available server commands.
  • playing - Shows a list of players currently connected to the server.
  • kick <player name> - Kicks the named player from the server.
  • ban <player name> - Bans the named player from the server.
  • password <new password> - Sets or changes the server join password while the server is running.
  • say <message> - Broadcasts a message to all players in-game.
  • time - Displays the current in-game time.
  • dawn - Sets the in-game time to dawn.
  • noon - Sets the in-game time to noon.
  • dusk - Sets the in-game time to dusk.
  • midnight - Sets the in-game time to midnight.
  • settle - Forces all liquids on the map to settle immediately.
  • exit - Saves the world and stops the server.
  • exit-nosave - Stops the server without saving the world.
  • save - Manually saves the current world to disk.

:::example[Example: Kicking a player] To kick a player named Steve, type the following into the console input and press Enter:

kick Steve

The server will confirm the kick in the console output. :::

Be careful with exit-nosave

Running exit-nosave will stop the server without saving any recent progress. Use save or exit instead unless you specifically want to discard unsaved changes.

3. How to broadcast a message to all players

You can send a message to everyone currently playing on your server using the say command. This is useful for announcing restarts, events, or rule reminders.

  1. Open the server console as described in section 1.
  2. Type your message using the following format:
say The server will restart in 5 minutes. Please find a safe spot!
  1. Press Enter. All connected players will see the message in their in-game chat window.
Use say before restarts

If you plan to restart your server, send a say message first to give your players a heads-up. This avoids progress loss for players who are mid-action.

4. How to save your world manually

Terraria auto-saves regularly, but you can also trigger a manual save at any time from the console. This is a good habit before making changes or restarting the server.

  1. Open the server console.
  2. Type the following command and press Enter:
save
  1. The console will confirm that the world has been saved.
World saved

Once you see the save confirmation in the console, your world progress is safely written to disk. You can now restart or make changes without risking data loss.

Troubleshooting

  • Commands are not working: Make sure the server is fully started. If the server is still loading, commands entered too early may be ignored. Wait until the console shows that the server is ready before typing.
  • Player name not found for kick or ban: Player names in Terraria are case-sensitive. Check the exact spelling by running playing first to see the connected player list.
  • The console input box is not responding: Try clicking directly on the input field at the bottom of the console panel. If the server is offline, start it first using the Start button.
  • Time commands do not seem to change anything: In-game time only advances while players are connected. If the server is empty, the effect may not be immediately visible when a player joins.
  • I accidentally ran exit-nosave: If you stopped the server without saving, some recent progress may be lost. Use the Backups tab in the panel to restore from your most recent backup if one is available.

Need help?

If you run into any issues with your Terraria server or the panel console, the RiverHosting support team is happy to help.

Contact support

Visit riverhosting.com/support to open a support ticket. Include any error messages you see in the console and a description of what you were trying to do.