How to set a Terraria server password
By default, your Terraria server is open to the public. You can change this by setting a password. This guide will show you how to do that in a few simple steps.
Setting a password
- Start your server
- Pause your server
- Open your server's files
- Edit the
gameserver/serverconfig.txt
file - Put your desired password after
password=
- Save the file
- Restart your server
Example config file
Here is an example of what your serverconfig.txt
file could look like:
world=Worlds/world1.wld
worldpath=Worlds/
worldname=world1
autocreate=1
difficulty=0
maxplayers=32
port=7777
password=YourSuperSecretPassword
motd=Yet another Squadnox server
banlist=banlist.txt
secure=1
language=en-US