Skip to main content
To set a Terraria server password on FREAKHOSTING, open Game settings under GAME SETTINGS in the Game Panel, click Set next to Server password, type the password, click Done, then Review and save and restart the server. Players type the password after they enter your IP and port. Leave the field empty for an open server.

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.
Review your changes dialog showing Startup settings and serverconfig.txt changes before saving

The Review your changes dialog in Terraria Game settings

You can also set the password as the Password variable on the Startup page. Both places change the same value.

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:
Example: 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 the password console command.

Why does the console password go back after a restart?

Startup values are written into serverconfig.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.

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:

Save on Your Hosting

Ready to upgrade your hosting? Use code KB20 at checkout for 20% off your first order!

Last Updated: October 2026