/setup <code> using the setup code from the server, then create your account with /user add <name> <password> owner and log in with /login. Groups are made with /group add <group> and given permissions with /group addperm <group> <permission>. FREAKHOSTING servers run vanilla Terraria, so TShock must be set up first: open a ticket.
Before you start
- Your server must run TShock. Our default server is vanilla Terraria. See install TShock.
- On vanilla Terraria, use the panel Console for
kick,banand other admin commands instead.
How to make yourself owner on TShock
1
Find the setup code
When TShock starts for the first time it creates a one-time setup code. It is kept in
setup-code.txt in TShock’s folder.2
Use the code in game
Join the server and type
/setup <code>, for example /setup 1234567. TShock gives you temporary access for one command.3
Create your owner account
Type
/user add <username> <password> owner. This creates your account in the owner group.4
Log in and finish setup
Type
/login <username> <password>, then /setup once more. TShock confirms your account and turns the setup system off./setup no longer works.
TShock user commands
TShock group commands
Permissions are names such as
tshock.admin.kick. Check the exact permission for each command in TShock’s documentation at ikebukuro.tshock.co before you grant it.
Example: a moderator group
1
Create the group
/group add moderator2
Give it permissions
/group addperm moderator tshock.admin.kick tshock.admin.ban lets moderators kick and ban players.3
Put a player in it
/user group PlayerName moderatorFrequently asked questions
Where do I type TShock commands?
In game chat with a/, or in the server console. Vanilla server commands in the panel Console have no slash.
I lost the setup code. What now?
Checksetup-code.txt in TShock’s folder. If setup is already turned off and you have no admin account, open a ticket.
Can I have groups and permissions without TShock?
No. Vanilla Terraria has no groups. Use the panel Console and a password.How do players register?
On TShock, players use/register <password> and then /login, depending on your server’s settings.
Related guides
Terraria server guide
Every Terraria page in one place.
Install TShock
What TShock is and how to get it.
TShock plugins
Plugins on top of TShock.
Bans and guests
Vanilla kick and ban.
Checked against the official TShock source code on GitHub (TShock 6.1, Terraria 1.4.5.6) on 31 October 2026. Commands may change in later TShock versions.
Need Extra Help?
If you encounter any issues, our support team is ready to assist:- Live Chat: Quick assistance via our website.
- Support Ticket: Open a Ticket
- Discord: Join our Community
- Email: support@freakhosting.com
Last Updated: October 2026