---
title: How to Become Admin/Owner in TShock
description: Learn how to become admin or owner of your TShock Terraria server!
source: "https://nodecraft.com/support/games/terraria/how-to-become-super-admin-in-tshock-terarria"
image: "https://dynamic-assets.nodecraft.com/signedurl/w7vokBAexMnVlnMZ1Q/image.jpg?modifications=W3sibmFtZSI6ImdhbWVfYmciLCJpbWFnZV91cmwiOiJodHRwczovL2Ntcy1hLm5vZGVjcmFmdC5jb20vZi8xMzM5MzIvMjAwMHg1NTAvOGIwZjdhNWNjMC90ZXJyYXJpYS1sYW5kaW5nLXBhZ2UtMS0yLTAucG5nL20vIn0seyJuYW1lIjoiZ2FtZV9sb2dvIiwiaW1hZ2VfdXJsIjoiaHR0cHM6Ly9jbXMtYS5ub2RlY3JhZnQuY29tL2YvMTMzOTMyLzM3NXgxNTAvOGM1NTVhZWQwZi9sb2dvLnBuZy9tLyJ9LHsibmFtZSI6ImN0YV90ZXh0IiwidGV4dCI6IkNyZWF0ZSB5b3VyIG93biBzZXJ2ZXIhIn0seyJuYW1lIjoidGV4dCIsInRleHQiOiJIb3cgdG8gQmVjb21lIEFkbWluL093bmVyIGluIFRTaG9jayJ9XQ&s=8b5938451b3337a7b2beb3c51eaa86305ded4f8571372076081032edd31d6ade"
published: "2018-08-23T22:25:32.406Z"
updated: "2024-09-23T22:02:00.000Z"
---

# How to Become Admin/Owner in TShock

Learn how to become admin or owner of your TShock Terraria server!

First, make sure you have TShock for Terraria installed. You can do so from our One Click Installer by selecting the TShock build.

From your Dashboard on the Nodecraft website, click on your Terraria server. Find the tab called "Console", and you will be able to see a line that will show you your setup code. ![A view of Nodecraft Pro's Console for a TShock server, showcasing the setup code](https://cms-a.nodecraft.com/f/133932/1915x780/e57fd57bb1/console-setupcode.png/m/1000x0/smart)Alternatively, you can find this same code in the tab called Server Files, then find the `config` folder.

Find the file called `setup-code.txt`. This file was formerly called the `authcode.txt` pre-version Terraria 1.4.![A view of the setupcode.txt file for a TShock server within Nodecraft Pro](https://cms-a.nodecraft.com/f/133932/1914x776/b09cf91b97/setupcodetxt.png/m/1000x0/smart)Select the file in Server Files and press the Edit button to open the file. The code in this file is going to be your setup code.

Open the game and connect to your server.

Use the Enter key to type in chat: `/setup < setupcode >`. ![An example image of TShock's setup command into the text box](https://s3-assets.nodecraft.com/attachments/XK2HBbA4SBazEpTiNkGV_An%20example%20image%20of%20TShock's%20setup%20command%20into%20the%20text%20box.png)You should then receive this message:
![Successful chat message printed by TShock of the setup code](https://s3-assets.nodecraft.com/attachments/kli677P5Tn2kVNsU4rfj_Successful%20chat%20messages%20printed%20by%20TShock%20of%20the%20setup%20command.png)Then, use the Enter key again and type: `/user add < username > < password> owner`. Before Terraria 1.4, the owner command/group was called SuperAdmin.![An example image of TShock's adding an owner command](https://s3-assets.nodecraft.com/attachments/JEmfYeaTQQiZQztkAKYw_An%20example%20image%20of%20TShock's%20adding%20an%20owner%20command%20into%20the%20text%20box.png)

**Note:** Replace everything inside the `< >` with your information, i.e. ` /user add testuser testpassword owner`.

If successful, you will see this:
![Successfully added to the owner group in TShock](https://s3-assets.nodecraft.com/attachments/ww1oy9RQuiBEFnbvZbWw_Successfully%20added%20to%20the%20owner%20group%20in%20TShock.png)Finally, enter: `/login < username > < password >`.
![An example image of TShock's login command](https://s3-assets.nodecraft.com/attachments/gnRspLtvQXeEwVBevgD4_An%20example%20image%20of%20TShock's%20login%20command%20into%20the%20text%20box.png)
![Successful login to the TShock owner group](https://s3-assets.nodecraft.com/attachments/KXpF06EKQcOIgsHAmWvJ_Successful%20login%20to%20the%20TShock%20owner%20group.png)Done!
