Creating a whitelist

If you would like a private server where people need a valid user/pass to join.
 
This is a bit more of a mess on than it will be down the line, but once you're set up its pretty easy to manage.
 
The server will look in your zomboid database folder (/server/Zomboid/db) for a database file ( serverPZ.db ) with username / passwords to authorize people trying to connect to your server.
 
Stop your server and download serverPZ.db to your PC.
 
Next, download this: http://sqliteadmin.orbmu2k.de/ It's for editing file based sql (sqlite) databases.
 
Open SQLite Admin, and open your serverPZ.db in it.
 
Go into Tables, click whitelist, expand it out and click a random field (say id)
 
Then click the Edit Data tab, and you can put data in. All you need to do to add a user is click the + icon, and then (in order) put serverPZ into the 'world' column, then add a username and password into their respective columns. Close the database once you've made your changes and it'll auto save. 
Upload the modified file onto the server to replace the existing one

Now edit the server configuration and set "Open" setting to "false". Save

Start server.

Game developpers will make it so you can maintain a whitelist while the server is running in the near future.
  • 28 Users Found This Useful
Was this answer helpful?

Related Articles

Server settings

There is a simple way to adjust your server settings. For that you need to configure a local...

Rcon connection

To log into rcon (remote control) to your PZ server you must go to the folder "rcon" located in...

Admin commands

adduser = Use this command to add a new user in a whitelisted server, use : /adduser "username"...

Installing b41multiplayer version

In order to install the beta b41multiplayer version, here are the steps to follow:   stop the...

Change the admin password

By default the admin password is forced by the server command line.To modify it, from the game...