Set password in Terraria
A server password protects your Terraria server from unauthorized players. As an admin you can easily set a password.
Why password Terraria server?
There are many reasons for having a password protected Terraria server. For example, you can use it to control who has access to your server.
How to 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 the line
"ServerPassword": ""
and enter your password there- Example:
"ServerPassword": "Test123"
, so your password is:Test123
- write it down!
- Example:
- Now save the changes and restart the server
Things to know
If you are SuperAdmin on your server, you don't 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