How to set a Project Zomboid server password

By default, your Project Zomboid server is open to the public. You can change this by setting a password. This guide will show you how to do that in a few simple steps.
Setting a password
- Start your server
- Pause your server
- Open your server's files
- Edit the
Zomboid/Server/servertest.inifile - Put your desired password after
Password= - Save the file
- Restart your server
Example config file
Here is an example of how the Password= line in your valheim_config file could look like:
Password=YourSuperSecurePassword