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

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.
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.
- In the GAME section of the left-hand menu, click Project Zomboid, then the Saves tab at the top of the page.

- Look for the save tagged Active.
- If the active save is named
servertest, you can use the Properties tab for everything in this guide. Continue with step 2. - 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
Zomboidfolder, thenServer, and use Edit File on the file called<your save name>.inito 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.
- In the GAME section of the left-hand menu, click Project Zomboid, then the Properties tab at the top of the page.

- Scroll down and expand the All Properties section.
- Type
Passwordinto the Search all properties... box. - If a
Passwordline appears, type your new password into it. If it does not appear, use the Add control to add a key namedPassword, then enter your password as its value. - Click Save Changes, then restart the server when the Server Restart Required prompt appears.

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.
- Stay on the Properties tab and expand All Properties.
- Type
Openinto the Search all properties... box. - Set the
Openvalue tofalse. In this game,falsemeans whitelist only. - Click Save Changes and restart the server when prompted.
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.
- Click Console in the left-hand menu.

- Make sure the server is online, then click the command box that says Type a command....
- 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.
- Click Players in the left-hand menu.

- Use the Whitelisted filter to see who is on the list, or search for a name with Search all players....
- Use the Whitelist or Unwhitelist action next to a player to add or remove them.
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>.iniin 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.
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
How to Change Player Slots, PvP and Other Gameplay Rules on Your Project Zomboid Server
Learn how to use the Properties tab in the RiverHosting panel to set player slots, PvP, voice chat and more, so your Project Zomboid server runs the way your group wants.
How to Run Commands from the Console on Your Project Zomboid Server
Learn how to use the Console in the RiverHosting panel to send messages, save the world and check settings on your Project Zomboid server without leaving your browser.
How to Use the Workshop Mods Tool on Your Project Zomboid Server
Learn how to find, add, and manage Workshop mods on your Project Zomboid server using the RiverHosting panel so your survivors always have the content they need.