Set password in Terraria
A server password protects your Terraria server from unauthorized players. As an admin, you can easily set a password.
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
- connect to your Terraria server via FTP
- navigate to the directory
/terraria/tshock
- open the file
Config.json
with a text editor - search for the line
"ServerPassword": ""
and enter your password there- example:
"ServerPassword": "Test123"
, your password is therefore:Test123
- make a note!
- example:
- 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