Project Zomboid: Become admin – grant rights and key commands

Log in with the admin account or give your own player admin rights via the console.

2 minute read Updated 08.11.2026

The admin account

During setup the server creates an admin account. Username and password are in the client area under Startup variables (Admin username, Admin password). Join with exactly this name and password – then you are admin.

Make your own player admin

Prefer playing under your own name?

  1. Join once with your player name so the server knows it.
  2. Open the Console tab in the client area.
  3. Enter: setaccesslevel "PlayerName" admin

Other levels: moderator, overseer, gm, observer. setaccesslevel "PlayerName" none removes the rights.

Key commands

In the client area Console without /, in the game chat with / in front:

CommandEffect
playersShow online players
servermsg "Text"Message to everyone
kickuser "Name"Kick a player
banuser "Name"Ban a player
unbanuser "Name"Lift a ban
adduser "Name" "Password"Add a player (if the server only allows registered players)
saveSave the world now
quitSave and stop the server

In the game only (as admin):

CommandEffect
/godmode "Name"Invulnerable on/off
/invisible "Name"Invisible to zombies on/off
/teleport "Name"Teleport to a player
/additem "Name" Base.AxeGive an item

The game also has an admin menu with player list and tools (icon on the left edge of the screen).

Good to know

  • Always put player names with spaces in quotes.
  • More about zombies, loot and respawn: Sandbox settings.
Was this helpful?