How to Make Yourself an Admin on Your Project Zomboid Server
Admins can use the game's admin commands and tools, like kicking, banning, teleporting and spawning items. Project Zomboid has a few roles: Admin, Moderator, GM, Observer and Priority (skips the login queue).
Method 1: HH Server Admin (recommended)
- Log in to the Game Control Panel and navigate to your Project Zomboid server.
- Click the HH Server Admin icon.
- Click Players on the left.
- Pick how you want to give the role:
- Player is online: click Role next to them, pick Admin and click Set role.
- By name: under Give a role by name, type their username, pick Admin and click Set role. This works for players who haven't joined yet, and the role applies when they do.
Roles work straight away, nobody has to rejoin. To take a role away, set it to User (no role).
Method 2: The console
Click Console in HH Server Admin (or the Web Console icon) and run this, with the player's username:
setaccesslevel <username> admin
Method 3: The built-in admin account
Every server has an account called admin. In the game, join your server with admin as the username and your server's admin password. To set or change that password, see Change Admin Password.
For the full list of admin commands, see the Project Zomboid wiki.