Skip to content

How to make your Project Zomboid server private

There are a number of ways you can limit access to your Project Zomboid server. You can set up passwords, whitelists, or even configure your server to work as a perma-death server.

Enabling a password on your server

  1. Go to the AleForge Panel
  2. Go to the File Manager
  3. Navigate to .cache/Server/dedicated.ini This may be named differently if you changed your save name from Startup
  4. Look for Password= and change it

Save the file and restart your server.

Enabling a Server Whitelist

  1. Go to the AleForge Panel
  2. Go to the File Manager
  3. Navigate to .cache/Server/dedicated.ini This may be named differently if you changed your save name from Startup
  4. Look for Open= and change it to false

Save the file and restart your server.

You can use these console commands to manage the whitelist

CommandDescription
AddUser <username> <password>Adds any user to the whitelist but requires
their in-game account password
AddUserToWhitelist <username>Adds an already connected user to the
whitelist
RemoveUserFromWhitelist <username>Removes a user from the whitelist
AddAllToWHitelistAdds all online users to the whitelist

Miscellaneous Options

You can additionally use these options in your dedicated.ini to fine tune how you want your whitelist to work, or if the server is visible in the Steam browser.

SettingValuesDescription
AutoCreateUserInWhiteList=true/falseIf true, automatically adds users to
the whitelist
DropOffWhiteListAfterDeath=true/falseIf true, removes a player from the
whitelist if their character dies
Public=true/falseIf true, it means that your server will be visible on
Steam

Be sure to restart your server after making any changes to the dedicated.ini