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.
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:
| Command | Effect |
|---|---|
playing | Shows all connected players |
kick <player> | Removes a player from the server |
ban <player> | Bans a player |
say <message> | Sends a message to all players |
save | Saves the world |
dawn, noon, dusk, midnight | Changes the in-game time |
help | Shows 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.
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.
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.
- 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. - Stop your server.
- Open the Files tab and upload the ZIP file to the root directory. Extract it there using Extract. The ZIP file contains a
.tarfile. Extract that in the root directory too. - The root directory now contains, among other files,
TShock.Serverand thebinandServerPluginsfolders. - Start your server. In the Console, you'll see that TShock has started instead of the regular server.
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.
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.
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.
Connect to your server and enter this in the in-game chat:
/setup <Code>
Replace <Code> with your setup code. This temporarily gives you full permissions so you can create a permanent admin account:
/user add <username> <password> owner
The password must be at least 4 characters long. Then log in with your new account:
/login <username> <password>
Finally, enter /setup one more time. This disables setup, and the setup code will no longer work.
You can create additional accounts in-game as an admin or in the Console tab. In the console, enter the command without /:
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.
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! 🙂
