---
title: How to Set a Whitelist for a Project Zomboid Server
description: A whitelist is one of the easiest ways to keep unwanted players off your Project Zomboid server. This guide explains how to make your server private, enable whitelist-only access, and add or remove players using the server console.
source: "https://nodecraft.com/support/games/project-zomboid/how-to-set-a-whitelist-for-a-project-zomboid-server"
image: "https://dynamic-assets.nodecraft.com/signedurl/w7vokBAexMnVlnMZ1Q/image.jpg?modifications=W3sibmFtZSI6ImdhbWVfYmciLCJpbWFnZV91cmwiOiJodHRwczovL2Ntcy1hLm5vZGVjcmFmdC5jb20vZi8xMzM5MzIvMjAwMHg1NTAvMDM3MzFkOTBiOC9wcm9qZWN0LXpvbWJvaWQtMS0wLTAucG5nL20vIn0seyJuYW1lIjoiZ2FtZV9sb2dvIiwiaW1hZ2VfdXJsIjoiaHR0cHM6Ly9jbXMtYS5ub2RlY3JhZnQuY29tL2YvMTMzOTMyLzM3NXgxNTAvN2Q2YzdhZjZjNi9sb2dvLnBuZy9tLyJ9LHsibmFtZSI6ImN0YV90ZXh0IiwidGV4dCI6IkNyZWF0ZSB5b3VyIG93biBzZXJ2ZXIhIn0seyJuYW1lIjoidGV4dCIsInRleHQiOiJIb3cgdG8gU2V0IGEgV2hpdGVsaXN0IGZvciBhIFByb2plY3QgWm9tYm9pZCBTZXJ2ZXIifV0&s=7eabf6c9c8379ec0f7f834701305f0d93b01c249b862581346186cb2d227090d"
published: "2026-08-16T23:39:36.810Z"
updated: "2026-08-16T23:39:36.810Z"
---

# How to Set a Whitelist for a Project Zomboid Server

A whitelist is one of the easiest ways to keep unwanted players off your Project Zomboid server. This guide explains how to make your server private, enable whitelist-only access, and add or remove players using the server console.

In this guide we will cover how you can set up a whitelist on your Zomboid server. A while list is a great way to moderate access on your server and know only those who you allow can join.

## Enabling the whitelist/Making the server non-public.

1. Open your [Dashboard](https://app.nodecraft.com/dashboard)
2. Locate your Project Zomboid server and click on the **Panel **button.
3. Once on your panel, **Stop** your server.
4. Navigate to the **File Manager**.
5. Once on the file manager, navigate to the following location: **/config/Server** and open the **Nodecraft\_Server.ini** file by double-clicking on it.
6. Once in the file, locate the line that has **Open=true** and change true to false so it looks like this: **Open=false**.
7. Once done, click **save changes**.
8. **Start** your server.

## Adding players to the whitelist.

1. Navigate to your console from your server's pane.
2. On the console run the following command to add a user to the whitelist: **adduser "username" <password>**

  **Note: The password is optional and is not required to be set. **

## Removing players from the whitelist.

On the console run the following command to remove a user from the whitelist: **RemoveUserFromWhitelist  "username"**

## Conclusion

You have now set up your server to not be available to the public by enforcing the whitelist and adding or removing a player from the list. This is a great way to moderate and secure your server by knowing only those you add to the list will be able to join.
