Back to Garry's Mod
Games· Garry's Mod

How to Enable and Configure a Password on Your Garry's Mod Server

Joe F.
3 min readUpdated Nov 6, 2026

Learn how to set a server password on your Garry's Mod server using the RiverHosting panel so only invited players can join your session.

By default, your Garry's Mod server is open to anyone who finds it in the server browser. If you want to keep your sessions private, setting a server password is the easiest way to control who gets in. Only players who know the password will be able to connect.

This guide walks you through enabling and changing a server password using the RiverHosting panel, with no file editing required.

Before you start

  • You need an active Garry's Mod server on your RiverHosting account.
  • Log in to the RiverHosting panel at panel.riverhosting.com.
  • Your server should be running so you can confirm the change takes effect.
Share the password securely

Avoid posting your server password in public places. Share it directly with the players you want to invite.

1. Open the Server Config page

The Server Config page in your Garry's Mod server gives you a straightforward way to manage common settings, including the server password.

  1. Go to panel.riverhosting.com and open your Garry's Mod server.
  2. In the GAME section of the left-hand menu, click Garry's Mod, then the Server Config tab at the top of the page.
    Garry's Mod in the GAME section of the menu, then the Server Config tab
  3. Look for the Join Password field.
  4. Type the password you want players to use into that field.
  5. Save your changes using the save button on the page.
The Save button on the Server Config page
Empty field means no password

If you leave the password field blank and save, the password will be removed and your server will become publicly accessible again.

2. Restart your server to apply the change

After saving the Server Config, you need to restart the server so the new password takes effect.

  1. In the left-hand menu, click Console. On most other pages you can also open the Quick Console with the >_ tab on the right edge of the screen.
    Console in the server menu
  2. Click Restart to reboot the server.
    The Restart button on the Console page
  3. Wait for the server to come back online. This usually takes under a minute.
Password is now active

Once the server is back online, players will be prompted to enter the password before they can join.

3. How players enter the password to join

When your server has a password set, players will see a prompt when they try to connect through the in-game server browser or by using a direct connection. They simply type the password and click connect.

To find your server's connection details, such as the IP address and port, click the IP chip in the server header, which is shown on every page, to copy the address. Share those details along with the password with the people you want to invite.

Example connection details

Your server IP and port are shown in the IP chip in the server header, for example: 123.45.67.89:27015. Share this alongside your password.

4. How to remove the password later

If you want to open your server to the public again, removing the password is just as easy.

  1. In the GAME section of the left-hand menu, click Garry's Mod, then the Server Config tab at the top of the page.
  2. Clear the password field so it is empty.
  3. Save your changes.
  4. Restart the server to apply the change.

Once the server restarts with no password set, anyone will be able to join without being prompted.

Troubleshooting

  • Players can still join without a password. Make sure you restarted the server after saving. Changes to Server Config only apply after a restart.
  • Players say the password is not working. Double-check the password in Server Config for any extra spaces or typos. Save and restart again if you make a correction.
  • The Server Config page does not show a password field. Try refreshing the page. If the field is still missing, contact RiverHosting support for help.
  • The server is not coming back online after a restart. Check the Console tab for any error messages that appear during startup.

Need help?

If you run into any issues setting up or removing your Garry's Mod server password, the RiverHosting support team is ready to help.

Contact support

Visit riverhosting.com/support to open a ticket or get in touch with the team.

Similar Articles