TShock is an invaluable tool for running servers. Supporting the latest version of Terraria, TShock offers many server management features such as banning, kicking, permissions and much more that will allow you to manage your server from in-game. On top of all this it also has support for plugins, allowing you to customise your server even further!
Important
It is recommended that you create a backup before making any changes to your server.
# How to Install TShock
As TShock is only a server-side modification, you will only need to install it onto your server.
- Navigate to your Control Panel and Stop the server.
- Click on your current server type at the top of the control panel.
If you wish to create a new instance, you can follow this guide.
- In the Server Type menu, select TShock and click Next Step.
- Select the latest version and click Next Step.
- Click on Save Changes and start your server at least once to generate the new server files.
Warning:Â After you install TShock onto your server, your server console will no longer respond to commands, and all commands must be done in-game. This is a known issue with TShock and may be fixed by them in a future release.
# Setting up TShock
After TShock is installed for the first time, you will need to set it up so that it recognises you as the owner of the server.
- Start your server for the first time and wait for the world to fully generate.
- Look at your server console and look for the line that reads
To setup the server, join the game and type /setup xxxxxxx
(where xxxxxxx is a random number). - Next, launch Terraria and login to your server. If you need assistance with this, check out our guide on how to join your server here.
- Copy & Paste the command from above into the in-game chat (Press "Enter" on your keyboard to access the chat).
- If done correctly, the following text should appear in your chat:
- Next, you will need to create your owner account by entering the command
/user add [account name] [password] owner
. Do note that your account name does not have to be the same as your username on the server. - If done correctly, you should get the message "Account [account name] has been added to group owner!".
- Finally, to login to your server you now need to enter that login information to login using the command
/login [account name] [password]
. - To finish, you should get a message that states "Authenticated as [account name] successfully!"
And that's it! Your server is now setup for you to use! You should remember your account name and password, as you will need to enter it every time you login to your server.