💥 GSCHOST.COM: Test GSCHOST now - our own hosting brand 🚀

Set password in Terraria

A server password protects your Terraria server from unauthorized players. As an admin, you can easily set a password.

Written on Feb 10, 2022

Why a password for Terraria servers?

There are many reasons for having a password-protected Terraria server. For example, you can control who has access to your server.

How do you set a password for a Terraria server?

Set password

  1. connect to your Terraria server via FTP
  2. navigate to the directory /terraria/tshock
  3. open the file Config.json with a text editor
  4. search for the line "ServerPassword": "" and enter your password there
    1. example: "ServerPassword": "Test123", your password is therefore: Test123 - make a note!
  5. now save the changes and restart the server

Things to know

If you are SuperAdmin on your server, you do not need a server password to connect

Local locations of the Config.json file

  • Microsoft Windows %USERPROFILE%\Documents\My Games\Terraria
  • Apple Mac OS: ~/Library/Application support/Terraria
  • Linux: $HOME/.local/share/Terraria
Terraria Logo

Overview

Developer

Re-Logic

Studio

Re-Logic

Release

May 16, 2011

Genres

2D, Open-World, Survival, Sandbox

Platforms

Playstation 4, Nintendo Switch, Android, Linux, Xbox One, Windows, iOS, Mac OS X

More topics about Terraria