Adding an Admin User On Your tShock Terraria Server

Information on how to add an admin user to your tShock Terraria Server

Summary

The tShock admin group includes permissions that allow full access to most in-game commands and management tools. As a tShock owner, you can easily create new admin users or promote existing users to the admin group through chat or your server console.

error icon
You’ll need to have tShock installed and configured before managing users or groups. Check out our guide on Installing & Configuring TShock On Your Terraria Server.

Adding a New Admin User

  1. Log in to your server as the tShock owner.

  2. In chat, run the following command:

    /sudo /user add <USERNAME> <PASSWORD> admin
    • Replace <USERNAME> and <PASSWORD> with the desired login credentials for the new admin.

  3. Once created, the new user can log in with:

    /login <USERNAME> <PASSWORD>
info icon
Tip: You can also enter these commands in the server console. If you’re using the console, remove the /sudo part of the command.

Changing an Existing User to Admin

  1. Log in as the tShock owner.

  2. Use this command to move a player into the admin group:

    /sudo /user group <USERNAME> admin
    • Replace <USERNAME> with the desired new admin.

  3. The player now has admin permissions and can use the full range of tShock commands.

info icon
If you’re using the server console instead of in-game chat, remember to skip the /sudo prefix.

Did this answer your question?
😞
😐
😁