Terraria server commands let admins and hosts manage their multiplayer worlds directly from the server console or in-game chat. This article lists the essential commands, explains how to use them, and covers common issues like permissions and command syntax.
What Are Terraria Server Commands?
Terraria server commands are text instructions you type into the server console (the black window that opens when you run TerrariaServer.exe) or into the chat box if you are an admin. They let you control the server without touching game files. You can kick players, change the time, save the world, or even shut down the server cleanly.
There are two main ways to enter commands:
- Server console – the command prompt window that stays open while the server runs. Type commands here and press Enter.
- In-game chat – if you are logged in as an admin, type commands in the chat box prefixed with a slash (e.g.,
/kick PlayerName).
Essential Commands for Every Host
These are the commands you will use most often. They work on both the console and in-game (with the slash prefix).
help– lists all available commands. Very useful if you forget a name.save– forces the world to save immediately. Good before you quit.exitorstop– saves and shuts down the server.kick <player>– removes a player from the server.ban <player>– bans a player by name (or IP withban ip <ip>).unban <player>– lifts a name ban.time– shows the current in-game time.dawn,noon,dusk,midnight– sets the time to those moments.settle– settles all liquids (water/lava) so they stop moving.
Admin-Only Commands and Permissions
Not every player can use commands. By default, only the host (the person who started the server) has admin rights. If you are hosting a dedicated server, you can give admin to other players using the group command or by editing the authorization.txt file in the server folder.
To add a player as admin:
- Find the
authorization.txtfile in the same folder as the server executable. - Add the player’s Terraria username on a new line.
- Save the file and restart the server (or type
reloadif available).
Once a player is in that file, they can use admin commands in chat with the slash prefix. The group command can also assign roles, but the file method is the most common for small servers.
How to Use Commands In-Game vs. Console
The main difference is the slash. In the console, you type the command without a slash. In the game chat, you type a slash before the command. For example:
- Console:
kick Steve - Chat:
/kick Steve
Also, some commands only work from the console, like password (to set or change the server password) and motd (to change the message of the day). These are server-level settings, not player actions.
Common Problems and Fixes
Players often run into a few issues when using commands.
- Command not recognized – Check spelling. Commands are case-insensitive, but they must be exact. Also, make sure you are using the correct prefix (slash in chat, none in console).
- No permission – If you are not in the authorization file, you cannot use admin commands. The host must add you.
- Kick/ban not working – Use the exact player name, including capitalization. If the player has special characters, put quotes around the name:
kick "Player Name". - Server lag after commands – Some commands like
settlecan cause temporary lag on large worlds. That is normal.
Setting Up a Dedicated Server
If you want a 24/7 server, you should use the dedicated server software that comes with Terraria. You can find it in your Steam folder under steamapps/common/Terraria/TerrariaServer.exe (Windows) or the equivalent on Mac/Linux.
When you start it, it asks for a world, max players, port, and password. After that, the console is your command center. You can also create a serverconfig.txt file to pre-set options like world name, port, and difficulty. The server reads that file if you start it with -config serverconfig.txt.
For a home server, you may need to forward port 7777 (the default) on your router so others can join. But that is a network setting, not a Terraria command.
Comparison: Console vs. In-Game Commands
| Action | Console | In-Game Chat |
|---|---|---|
| Kick player | kick Name |
/kick Name |
| Set time to noon | noon |
/noon |
| Save world | save |
/save |
| Change password | password newpass |
Not available |
In-game chat commands are limited to those that affect gameplay or players. Server configuration commands (like password, motd, maxplayers) are console-only.
Frequently Asked Questions
How do I make someone an admin on my Terraria server?
Add their username to the authorization.txt file in the server folder. The file is created automatically when the server first runs. Edit it with a text editor, add one username per line, save, and restart the server. They will then have admin powers in-game.
Can I use commands if I’m not the host?
Only if you are in the authorization file. If you are not, you cannot use admin commands. The host must add you. On some servers, the host may use a plugin or mod to grant permissions, but vanilla Terraria only uses the authorization file.
Why does my command say “Unknown command”?
Check the spelling and the prefix. In chat, you need a slash before the command. In the console, you do not. Also, some commands are case-sensitive in terms of player names, but the command itself is not. If you are sure it is correct, try help to see the list of available commands.
How do I ban a player by IP?
Use ban ip <IP address> in the console. You can find a player’s IP by typing list in the console, which shows connected players and their IPs. To unban, use unban ip <IP>.
Can I change the server password without restarting?
Yes, use the password command in the console. Type password newpassword and press Enter. The new password takes effect immediately for new connections. Existing players stay connected.
What does the settle command do?
It forces all water and lava to stop flowing and settle into their final positions. This is useful after you break a dam or cause a flood. It can cause a brief lag spike on large worlds.
Related
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.
More cards in this drawer
- Microsoft Surface Duo: The Foldable Phone Story
- Samsung SM-T813 Hard Reset: Step-by-Step Guide
- Mafia Clash Codes: Real Meanings & Usage
- Remove Programs from Mac: Full Uninstall Guide
- Project Sentinel Morning Digest: Data Stack Failure Alerts
- Best KVM VPS Hosting: Top Picks & Guide