Adding administrators in Tshock Print

  • Terraria, tshock, Admin
  • 0

Click here to order your Terraria server with Citadel today!

 



After installing tshock from game mods wait until you get the email confirmation saying that installation 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 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

 

  1. This will give you the ability to create a user account on the server, giving you access to all commands.
  2. Next, enter: /user add [username]:[password] superadmin
    • Example: /user add john:qwerty superadmin (remember to include the colon ":" between the username and password)
  3. 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 te following tool: Download Link


Was this answer helpful?

« Back