Skip to content
🧮 Is Lifetime with ZapX Pass worth it? Work it out for your own servers in 30 seconds. Open the Lifetime calculator →

Terraria: Become a Server Admin (TShock)

Learn how to manage your Terraria server using the console and create admin accounts with custom permissions using TShock.

2 December 20263 min read43 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

As an admin, you can manage your Terraria server directly, for example by removing or banning players. First, it's important to know that the regular Terraria server (Vanilla) and tModLoader do not have admin accounts or permission management. With these, you manage the server using the console in ZapX.

Admin accounts with groups and permissions are only available with TShock. TShock is a server package for Terraria that you can upload to your Terraria server in ZapX. This option isn't available for tModLoader. This guide shows you how to do both.

Without TShock: Manage the server using the console

Open your game server and switch to the Console tab. Enter commands there directly, without a preceding /. Here are the most important Terraria server commands:

CommandEffect
playingShows all connected players
kick <player>Removes a player from the server
ban <player>Bans a player
say <message>Sends a message to all players
saveSaves the world
dawn, noon, dusk, midnightChanges the in-game time
helpShows all commands

Banned players are listed in the config/banlist.txt file in the Files tab. To lift a ban, delete the player's name and IP address from the file, then restart the server.

Without TShock, you can control who can access your server using a server password. Learn more in the Whitelist guide.

Install TShock

TShock only runs on the game Terraria, not on tModLoader. ZapX automatically detects a TShock installation in your server folder and starts TShock instead of the regular Terraria server.

Important

There is no TShock release for Terraria 1.4.6 yet (as of 01.12.2026: v6.2.1 for Terraria 1.4.5.8). Players on version 1.4.6 therefore can't join a TShock server yet, including crossplay players on console or mobile. If you want to play on 1.4.6 now, use the regular Terraria server without TShock for the time being. Learn more in Terraria crossplay with console and mobile.

  1. Download the linux-x64 file from the official TShock release page on GitHub (github.com/Pryaxis/TShock/releases). The filename indicates which Terraria version the release was built for.
  2. Stop your server.
  3. Open the Files tab and upload the ZIP file to the root directory. Extract it there using Extract. The ZIP file contains a .tar file. Extract that in the root directory too.
  4. The root directory now contains, among other files, TShock.Server and the bin and ServerPlugins folders.
  5. Start your server. In the Console, you'll see that TShock has started instead of the regular server.
Warning

Use the Linux version of TShock. If only the Windows version (TShock.Server.exe) is in the folder, ZapX will continue to start the regular Terraria server and display a notice in the console.

Tip

Before installing, download your world from the worlds folder in the Files tab. This gives you a backup in case anything goes wrong.

ZapX also uses your world, player limit, and server password from the startup parameters with TShock. TShock settings are stored in the tshock folder, and you can add your own plugins to the ServerPlugins folder.

Find the setup code

When TShock starts for the first time, it generates a one-time setup code. You can find it in the Console tab on the line To setup the server, join the game and type /setup <Code>. If the line has scrolled out of view, the code is also in the tshock/setup-code.txt file.

Register as an admin

Connect to your server and enter this in the in-game chat:

Code
/setup <Code>

Replace <Code> with your setup code. This temporarily gives you full permissions so you can create a permanent admin account:

Code
/user add <username> <password> owner

The password must be at least 4 characters long. Then log in with your new account:

Code
/login <username> <password>

Finally, enter /setup one more time. This disables setup, and the setup code will no longer work.

Add more admins

You can create additional accounts in-game as an admin or in the Console tab. In the console, enter the command without /:

Code
user add <username> <password> <group>

TShock includes groups such as newadmin, admin, trustedadmin, and owner. Each group has more permissions than the previous one, with owner having the most. The player can then log in in-game using /login <username> <password>.

You can find every command for your Terraria server in our overview of Terraria server commands.

Conclusion

With the regular Terraria server and tModLoader, you manage your server using the console in ZapX. If you need admin accounts with custom permissions, install TShock on your Terraria server and set up your account using the setup code.

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

No. The regular Terraria server and tModLoader don't have admin accounts or permission management. You manage the server using the Console tab, for example with kick, ban, or say. Admin accounts are only available with TShock.
Download the linux-x64 TShock release from GitHub, stop the server, upload the ZIP file to the root directory in the Files tab, and extract it along with the .tar file inside. The root directory will then contain TShock.Server, bin, and ServerPlugins. ZapX automatically starts TShock the next time you start the server. TShock isn't available for tModLoader.
After TShock starts for the first time, find it in the Console tab on the line “To setup the server, join the game and type /setup <Code>”. The code is also in the tshock/setup-code.txt file.

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.