Skip to content
/SLASHPLAY

How to grant admin in Project Zomboid

Type grantadmin "username" in the Console tab, or use setaccesslevel "username" admin, which does the same.

grantadmin

Makes a player an admin. It does the same as setaccesslevel with admin.

/grantadmin "<username>"

Examples

grantadmin "rj"

Makes rj an admin, from the Console tab.

Arguments

usernameRequired
The player's username on this server.

What it does

An older shortcut that still works. setaccesslevel does the same and also handles the other roles.

Good to know

  • Type it in the **Console** tab without the slash, or in game chat with the slash from an admin account.
  • The player must have joined the server once so their account exists.

Run it on your server

Admin commands go in the Console tab of the server page without the slash (players), or in game chat with it (/players) from an admin account. Settings live in Zomboid/Server/main.ini and main_SandboxVars.lua on the Files tab and apply at the next start. New to this? Start a Project Zomboid server first.

Your own
Project Zomboid server.

From $0.03 an hour, only while it runs. New accounts get 6 free tokens.