Adding administrators in Tshock Print

  • Tshock, Terraria, Mods, admin
  • 0

 
This guide will show you how to add an administrator in TShock
 
 
 
After installing TShock from Mod Manager.
 

browse the folder tshock and you should see a file named "authcode.txt". Download it and open it.

You should find a code like for example:

9414930

This is the auth code.

To become superadmin, join the game and type:
/auth [authcode]
So if your authcode is 9414930 you would type:
/auth 9414930

 

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

 

 

 

 
 
 

Was this answer helpful?

« Back