Adding Admins and Basic Commands in Project Zomboid
Make a player admin or moderator on a Project Zomboid server with setaccesslevel, run commands from the Console and chat, and use the most common admin commands.
project-zomboidWritten by Aneryan5 min read0 viewsUpdated

Admins on a Project Zomboid server can kick or ban players, give items, teleport, change server settings, and trigger events such as hordes or helicopters. These rights are granted through an access level.
In short: open the panel Console → type
setaccesslevel "YourName" "admin"→ join the game → admin commands work from chat with a leading/.
Console or chat: the / difference
| Where | How to write it | Example |
|---|---|---|
| Console in Skyes Game Panel | Without / | players |
| Chat in game | With / | /players |
Two more rules to remember:
- Player names with spaces must be wrapped in double quotes, for example
"John Smith". To be safe, always use quotes. - Access level names and item IDs are case-sensitive.
adminworks;Adminis not recognized.
Step 1 — Make yourself an admin
-
Make sure the server is running and you have joined it at least once (so your account exists).
-
Open the panel Console.
-
Type this command, replacing
YourNamewith your server username, and press Enter:setaccesslevel "YourName" "admin" -
Join the game. If you are already in, leave and rejoin so the new rights load.
To turn a player back into a regular player:
setaccesslevel "YourName" "user"
The old
grantadminandremoveadmincommands are no longer used. Usesetaccesslevel.
Access levels
| Level | For |
|---|---|
admin | The server owner: full access |
moderator | Helps manage players: kick, ban, teleport |
gm | Game master: runs events and manages players |
observer | Watches: can fly and stay invisible, limited access |
user | Regular player |
You can fine-tune what each level can do from the in-game ADMIN menu (Build 42), in the role settings.
The built-in admin account
A dedicated server creates a built-in admin account on its first start. If the panel's Startup tab offers an Admin Username or Admin Password setting, you can use that account to log in as admin. Keep its password private.
Player management commands
| Command (chat) | What it does |
|---|---|
/players | Lists online players |
/kickuser "name" -r "reason" | Kicks a player; the reason is optional |
/banuser "name" -r "reason" | Bans a player. Add -ip to ban their IP address too |
/unbanuser "name" | Lifts a ban |
/banid <SteamID> | Bans by Steam ID, even while the player is offline |
/unbanid <SteamID> | Lifts a Steam ID ban |
/adduser "name" "password" | Creates an account (for closed servers, Open=false) |
/removeuserfromwhitelist "name" | Removes a player from the whitelist |
/setaccesslevel "name" "level" | Changes the access level |
Admin commands for yourself and players
| Command (chat) | What it does |
|---|---|
/teleport "name" | Moves you to a player |
/teleport "player1" "player2" | Moves player1 to player2 |
/teleportto x,y,z | Moves you to coordinates |
/godmode "name" -true | Makes a player invulnerable. -false turns it off |
/invisible "name" -true | Makes a player invisible to zombies |
/noclip "name" -true | Walk through walls |
/additem "name" "Base.Axe" 1 | Gives an item. See Project Zomboid Item IDs |
/addxp "name" Woodwork=2 | Adds skill levels (skill names use internal names) |
/addvehicle "Base.VanAmbulance" "name" | Spawns a vehicle near a player |
Server commands
| Command (chat) | What it does |
|---|---|
/servermsg "message" | Sends an announcement to every player |
/save | Saves the world now |
/quit | Saves, then shuts the server down |
/showoptions | Shows server settings |
/changeoption OptionName "value" | Changes one setting, for example /changeoption PVP "false" |
/reloadoptions | Reloads the .ini file without a restart (does not apply to mods) |
/checkModsNeedUpdate | Checks whether Workshop mods need updates (result goes to the log) |
/help | Lists available commands |
Event and weather commands
| Command (chat) | What it does |
|---|---|
/createhorde 50 "name" | Spawns 50 zombies near a player |
/chopper | Calls a helicopter near a random player |
/gunshot | Makes a gunshot sound near a random player |
/startrain 50 | Starts rain, intensity 1–100 |
/stoprain | Stops rain |
/lightning "name" / /thunder "name" | Lightning or thunder near a player |
From the Console, commands that take "name" need a player name, because the Console has no character of its own.
Troubleshooting
| Problem | Common cause | Fix |
|---|---|---|
| "Access Level ... unknown" | Wrong level name or capital letters | Use admin, moderator, gm, observer, or user |
| A Console command does nothing | It was typed with / | Drop the / in the Console |
| "has not right to execute" | The player's level is too low | Raise it with setaccesslevel |
| A command fails for a name with spaces | The name is not quoted | Write "John Smith" |
| "Item ... doesn't exist" | Wrong item ID or lowercase | Write it exactly, for example Base.Axe |
| Admin rights are not active yet | The player was in game when the level changed | Leave and rejoin |
Safe practices
- Give
adminonly to the server owner. For staff, usemoderatororgm. - Never share the built-in admin account's password.
- Run
/savebefore big commands such as/createhorde. - Announce restarts or rule changes with
/servermsg.
If admin commands still do not work, contact Skyes Hosting support and include the server name, the command you typed, and the message that appeared.
Was this article helpful?


