
This guide will show you how to Add Server Administrators in TShock Server
Click here to order your Terraria server with AA Game Hosting.
Adding administrators to a TShock server is one of the first steps toward running a stable, well‑moderated Terraria world. Whether you're hosting a small community with friends or managing a large public server, assigning trusted admins ensures that gameplay stays fair, rules are enforced, and technical issues get handled quickly. TShock’s permission‑based system gives you fine‑grained control over what each admin can do, from basic moderation to full server management, so you can tailor roles to fit your community’s needs. Before you start creating groups and assigning powers, it helps to understand how TShock handles users, permissions, and security to keep your server protected.
Setting Up Admin Roles on a TShock Terraria Server
After installing tshock from game mods, wait until you get the email confirmation saying that the installation has completed, and go to your file manager.
Browse the folder tshock, and you should see a file named "authcode.txt". Download it and open it. You should find a code, for example:
This will give you the ability to create a user account on the server, giving you access to all commands.
Next, enter: /user add [username]:[password] superadmin
Example: /user add john: qwerty superadmin (remember to include the colon ":" between the username and password)
Log in with the superadmin user you just created by entering: /login [username] [password](without a colon)
Example: /login john qwerty
Adding Users/Admins
To add a new user or admin, enter the following: /user add [username]:[password] [group]
Example #1 (Add a VIP user): /user add sarah:connor vip
Example #2 (Add another Admin): /user add sarah:connor newadmin
Alternatively, if the user you wish to add has already registered (using /register [username] [password]), you may also edit that user's Usergroup in thetshock\tshock.sqlite file (Users.Usergroup - see below).
Users who have their access added or changed need only re-join the server for their permissions to take effect.
tshock.sqlite can be edited with the following tool: Download Link
If you encountered issues during the process,
Please click here to send a ticket to our team.