How to set or change the password
1
Open Game settings
Open your server in the Game Panel and click Game settings under GAME SETTINGS.
2
Click Set
In Server, find Server password (“Players need this to join. Leave it empty for an open server.”). It shows not set on a new server. Click Set.
3
Type the password
Enter the new password in the field and click Done.
4
Review and save
Click Review and save, check the change under Startup settings (the Startup page) and click Save changes. Passwords are hidden in this view.
5
Restart the server
Restart the server. The server reads the password when it starts.

The Review your changes dialog in Terraria Game settings
How to remove the password
Clear the Server password field (or the Password variable on Startup), save and restart. The server is then open to anyone with the address.Change the password without a restart
Type this in the Console while the server runs:password raven42. Type password on its own to show the current one. This change only lasts until the next start, because the server writes the Startup password into serverconfig.txt every time it starts. Save the password in Game settings too if you want to keep it.
Frequently asked questions
Why does the old password still work?
You saved the new password but didn’t restart the server. Restart it, or use thepassword console command.
Why does the console password go back after a restart?
Startup values are written intoserverconfig.txt at every start. Save the password in Game settings or Startup to keep it.
Is the password case-sensitive?
Type it exactly as you saved it, with the same capitals, and avoid spaces at the start or end.Can I have a whitelist instead of a password?
Vanilla Terraria has no whitelist. Use a password, and ban players you don’t want.Related guides
Terraria server guide
Every Terraria page in one place.
Getting started
World, password and joining.
Bans and guests
Kick, ban and unban players.
Can't connect
Fix joining problems.
Tested by the FREAKHOSTING team on our Game Panel on 31 October 2026 (Terraria 1.4.5.6, vanilla server). Steps may differ slightly if the game changes.
Need Extra Help?
If you encounter any issues, our support team is ready to assist:- Live Chat: Quick assistance via our website.
- Support Ticket: Open a Ticket
- Discord: Join our Community
- Email: support@freakhosting.com
Last Updated: October 2026