Quick Start
Setting a whitelist
If your server is private, you'll want to set a whitelist to protect it from trolls. Even if you don't share the IP outside of your friend group, there are still ways of the IP becoming known, so a whitelist is the best way to make sure that only the people you want to play can get in.
Enabling
By default, anyone can join your server, so you need to enable the whitelist by changing the Open value to false in the /Zomboid/Server/<server-name>.ini file, where <server-name> is the name of your world, configured with the Server Name startup variable.
From here you'll want to add yourself and the other players to the whitelist as explained the next section.
Adding players
You can add players to the whitelist using the credentials they'll use to log into the multiplayer screen by typing the following command into the Server Console, AddUser <username> <password> (case sensitive).
Removing Players
If you need to remove a player from the whitelist, you can do so using their chosen username by typing the RemoveUserFromWhitelist <username> (case sensitive) command into the Server Console.
Server Admins
Server admins have access to an in-game console and admin panel that can be used to control the state of the server and other players. There's some data about the server than is most easily edited and viewed through the admin panel, like ban and whitelist data.
You can add a user to the admin list by running the command GrantAdmin <username>, using the username they enter on the multiplayer screen.
The Admin Panel can be accessed from the button on the left side of the screen.
You don't need to grant your character admin. There are Startup Parameters for admin credentials that when set, can be used to login to an admin account.
How to set spawn rates
You can adjust the spawn rates on your Project Zomboid server using a configuration file located at /Zomboid/Server/<server-name>_SandboxVars.lua, where <server-name> is the name of your world, configured with the Server Name startup variable. This defaults to WinterNode if you haven't configured it.