New

EmeraldHost 2.0 is here: faster, more intuitive, and made for everyone - the new panel!

Learn more
Guides
How to Add an Admin to Your Terraria tModLoader Server

How to Add an Admin to Your Terraria tModLoader Server

Add an admin on a Terraria tModLoader server

2 min read
Apr 11, 2026

Admins in Terraria tModLoader are set up using an authentication code that is displayed in the server console when the server starts.

Set Up Admin via Auth Code

  1. Start the server
    Start your server via the dashboard.

  2. Read the auth code
    Open the server console in the dashboard. On startup, an authentication code will be displayed, e.g.:

    To enable cheats, type in the command 'auth <code>'
    

    Note down this code.

  3. Join the server
    Join your server as a player.

  4. Enter the auth command
    Enter the following command in the in-game chat:

    /auth <code>
    

    Replace <code> with the auth code from the server console.

  5. Set a password (optional)
    After successful authentication, you can set a permanent password:

    /password <new_password>
    

    With this password, you can log in as admin in the future without needing the auth code.

Written byEmeraldHost Team
Last updated on Apr 11, 2026 Edit on GitHub

Did this article help you?

Your feedback helps us improve our guides.

Help shape the guides

€10.00 in credit for every new guide, €5.00 for every improvement.

Contact Support

Create a support ticket and our team will get back to you as soon as possible – personal and professional.

Go to Support
1257 members online

Discord Community

Connect with other players, get quick help from the community, and stay up to date with the latest news.

Join Discord
Terraria: tModloader

Ready to get started?

Rent your Terraria: tModloader Server now

Join our Discord community 1257 members online right now