Back to Project Zomboid
Games· Project Zomboid

How to Set a Server Password and Whitelist for Your Project Zomboid Server

Rick R.
5 min readUpdated Dec 3, 2026

Learn how to add a join password and switch to whitelist-only access from the RiverHosting panel so only the players you choose can get onto your Project Zomboid server.

By default, anyone who has your server address can try to join. If you want a private world for friends or a small community, you can lock it down with a join password, a whitelist, or both. This guide shows you how to do it from the RiverHosting panel.

Before you start

  • You need access to your server in the RiverHosting panel.
  • Start the server at least once, so its settings file has been created.
  • Know the difference between the two options. The server password is one shared password that every player types when they join. The whitelist means only players with an approved account can get in at all.
  • Project Zomboid does not have a dedicated password box next to the server address in the panel. You will set it in the Properties tab instead, as shown below.
Check your active save first

Project Zomboid uses the server name as its save profile. The Properties tab always edits the settings file for the default servertest profile. Step 1 shows you how to check whether that applies to you.

1. How to check which save is active

Before changing any access settings, make sure the Properties tab edits the file your server really reads.

  1. In the GAME section of the left-hand menu, click Project Zomboid, then the Saves tab at the top of the page.
    Project Zomboid in the GAME section of the menu, then the Saves tab
  2. Look for the save tagged Active.
  3. If the active save is named servertest, you can use the Properties tab for everything in this guide. Continue with step 2.
  4. If the active save has a different name, the server reads a settings file named after that save. In that case, click Files in the left-hand menu, open the Zomboid folder, then Server, and use Edit File on the file called <your save name>.ini to make the changes below instead.

2. How to set a join password

A join password stops random players from entering, even if they find your address.

  1. In the GAME section of the left-hand menu, click Project Zomboid, then the Properties tab at the top of the page.
    Project Zomboid in the GAME section of the menu, then the Properties tab
  2. Scroll down and expand the All Properties section.
  3. Type Password into the Search all properties... box.
  4. If a Password line appears, type your new password into it. If it does not appear, use the Add control to add a key named Password, then enter your password as its value.
  5. Click Save Changes, then restart the server when the Server Restart Required prompt appears.
The Save button on the Properties page
Keep it simple

Use a password that is easy to share but not easy to guess. Avoid spaces so it is easy to type in the join screen.

Your players enter this password when they connect using the server address shown at the top of your server page. If you need a reminder of how to find that address, see our guide on connecting to your Project Zomboid server.

3. How to switch to whitelist-only access

With the whitelist on, only players who have an account on your server can join. This is the best choice for a closed community.

  1. Stay on the Properties tab and expand All Properties.
  2. Type Open into the Search all properties... box.
  3. Set the Open value to false. In this game, false means whitelist only.
  4. Click Save Changes and restart the server when prompted.
Existing players

Once whitelist-only is on, players without an account will be refused when they try to join. Create accounts for your friends in step 4 before you share the address.

4. How to create accounts and manage your whitelist

Whitelisted players need an account with a username and password. You can create one from the Console.

  1. Click Console in the left-hand menu.
    Console in the server menu
  2. Make sure the server is online, then click the command box that says Type a command....
  3. Share the username and password with that player, so they can log in with it when they join.

To remove someone, type this in the same box:

removeuserfromwhitelist "FriendName"

Type the following and press Enter, replacing the name and password with your own. Do not type a leading slash, and keep the quotes:

adduser "FriendName" "TheirPassword"

You can also review and change who is allowed in from the Players page.

  1. Click Players in the left-hand menu.
    Players in the server menu
  2. Use the Whitelisted filter to see who is on the list, or search for a name with Search all players....
  3. Use the Whitelist or Unwhitelist action next to a player to add or remove them.
One-way commands

The Players page sends your action to the server as a console command. The panel cannot confirm the result inside the game, so check the list again afterwards if you want to be sure.

Troubleshooting

  • My changes do nothing: Check the Saves tab. If your active save is not servertest, edit <your save name>.ini in Files instead of using the Properties tab.
  • I cannot find the Password or Open line: Search again in All Properties. If it is missing, use Add to create the key by name, with no spaces or equals signs.
  • The settings did not apply: Restart the server after saving. Click Restart on the Console page or use the prompt that appears after Save Changes.
  • A friend is refused when joining: If whitelist-only is on, they need an account created with adduser. Also check that they typed the server password correctly, if you set one.
  • The command is not recognised: Type commands without the leading slash, and put quotes around any name that contains a space.
  • I changed the save and my settings vanished: Each save profile has its own settings file, so a newly activated save starts with fresh defaults. Set the password and whitelist again for that save.

Need help?

If your players still cannot join, or the settings will not save, our team is happy to take a look. Visit https://riverhosting.com/support and tell us what you tried.

Tip for faster help

Mention your active save name and the exact message players see when they fail to join. It helps us find the cause quickly.

Similar Articles