Skip to content
Back to Homepage

How to Set Yourself as Admin in Project Zomboid

Set yourself as admin in Project Zomboid so you can run server commands for kicking or banning players who break the rules. The command list is in How to Use Admin Commands in Project Zomboid. This guide sets the admin account and logs you in with it.

  1. Open the Startup page of your server
  2. Change the Admin Username to whatever you wish
  3. Set the Admin Password to a secure password
  4. Restart the server to pick up the change

Restart the server to pick up the change

How to Log In as an Admin on Your Project Zomboid Server

Section titled “How to Log In as an Admin on Your Project Zomboid Server”
  1. Open Project Zomboid
  2. Click Join from the main menu
  3. Where you usually enter your server account username, enter your Admin Username
  4. In the Account, Password field, enter the Admin Password you set earlier
  5. Connect to the server using your admin credentials

Now you will have admin access in-game. You can look for the red Admin text next to your nametag to confirm this worked.

With the red Admin text showing, commands run in-game or from the panel Console. PZwiki says an in-game command starts with /. The panel Console does not use that slash. The same commands can also go through RCON.

kickuser kicks a player and can include a reason. banuser bans the account. Adding -ip also bans the IP. The full list is in How to Use Admin Commands in Project Zomboid.

Another login gets admin or moderator with setaccesslevel, covered in Add & Remove Admins on Project Zomboid Servers. PZwiki lists the levels user, priority, observer, gm, moderator, and admin. That page was written for build 42.20.2, and the stable build is 42.22.2.

I am not listed as admin:

This usually means that the admin username was typed in incorrectly.

  • Double check the username matches the exact name you typed on the Startup page
  • Restart the server to make sure the password change is loaded on your server

Wrong username or password:

When you see this error, it means either the admin username or password was incorrect

  • Double check the username matches the exact name you typed on the Startup page
  • Re-enter the password to confirm it is typed correctly
  • Restart the server to make sure the password change is loaded on your server