Skip to main content
To set a password on a FREAKHOSTING MTA:SA server, open Game settings in the Game Panel, click Set next to Server password, type the password in New value, click Done, then Review and save and Save changes. Restart the server. Players then need the password to join. The panel writes it to <password> in mtaserver.conf.

How to set a server password

1

Open Game settings

Open your MTA server in the Game Panel and click Game settings.
2

Click Set

In the Server section, Server password shows “not set”. Click Set.
3

Enter the password

Type the password in the New value field and click Done.
4

Review and save

Click Review and save. The dialog hides the password itself (“Passwords and other secrets are hidden in this view”). Click Save changes.
5

Restart

Restart the server. From now on, players need the password to join.

How to remove the password

Stop the server, click mtaserver.conf: open the raw file at the bottom of Game settings and empty the password line so it reads <password></password>. Save the file and start the server. An empty password means an open server that anyone can join.

How do players join a server with a password?

Players enter the password when they connect. They can also join from the MTA console (press F8) with the connect command, which takes the address, port, nickname and password:
Use your server’s address and port from the Game Panel.

Does a password hide the server from the list?

They are separate settings. Show in the server list decides whether your server is reported to the MTA master list; Server password decides who can join. To keep the server out of the in-game browser as well, turn Show in the server list off. See server not showing in the list.

Server password or admin password?

The server password only controls who may join. Admin rights in MTA come from an account in the Admin group of acl.xml, with its own password. See make yourself admin.

Frequently asked questions

Can I set the password in mtaserver.conf directly?

Yes. Stop the server, open mods/deathmatch/mtaserver.conf and set <password>MyPassword</password>, then start the server. Game settings does the same thing with a review step.

I changed the password but the old one still works. Why?

The server reads the password at start. Restart it after saving.

MTA server guide

Every MTA page in one place.

Getting started

First steps on your MTA server.

Change server settings

How Game settings works.

Make yourself admin

Admin account and login.

Tested by the FREAKHOSTING team on our Game Panel on 2 November 2026 (MTA:SA server 1.6, 64-bit). 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: November 2026