How To Add A New Admin User On Your tShock Terraria Server

Terraria

·

Nov 14, 2024

·

7 Mins Read

The tShock admin group holds a variety of permissions which gives administrators access to almost all in-game tShock commands. While logged in as a tShock owner, it is possible to create new users with Admin access or migrate existing users to the admin group.

Important

To manage users and user groups, you must first install and setup tShock by following this article.

# Adding a New Admin User

While logged in as a tShock owner, create a new user with admin permission using a chat command.

Alternatively, you can enter these commands from your server's console page. If you use commands from the console, you do not need to include the /sudo part of the command.

  1. Type the command /sudo /user add <USERNAME> <PASSWORD> admin.

Terraria screen showing death messages and a command line input '/sudo /user add TestName' for server management.

  1. Instruct the user to type the command /login <USERNAME> <PASSWORD>.

Terraria screen with 'Saving world...' and logout message, showing login command '/login TestName' for user authentication.


# Changing an Existing User's Group to Admin

While logged in as a tShock owner, set the existing user's new group using a chat command.

Alternatively, you can enter these commands from your server's console page. If you use commands from the console, you do not need to include the /sudo part of the command.

  1. Type the command /sudo /user group <USERNAME> <NEW GROUP>.

Terraria screen showing user authentication and group update, with command input '/sudo /user group TestName al' for admin role.

minecraft pfp
Jay Miller

Game Experience Engineer @ Shockbyte