Get started

Free trial Try any game free for 3 days. No card needed. Start a free trial Start a free trial

Game servers

All games

Guides / Project Zomboid / Players and admin

Project Zomboid admin commands

The Project Zomboid admin commands that matter, with what each does and an example. Type them in chat with a slash, or in the panel Console without one.

Updated , checked on Project Zomboid Build 42.21

Admin commands are typed as an admin, in the game chat with a slash in front (/players) or in the Console page of the panel without the slash (players). Type /help to list every command, or /help additem for one command. More about the game: Project Zomboid servers.

Names in a command go in double quotes. Item names are case sensitive: Base.Axe works, base.axe does not.

In the ArthOS panel

Open the Console page of your server. Type the command in the box without the slash and press Enter. The reply of the game shows in the console.

Console page with a servermsg command typed in the command box
  1. Type the command here

Many commands have a button on the Players page, so you do not need to type them. The table shows which.

The commands

CommandWhat it doesExamplePlayers page
helpLists all commands, or the help for one./help additem
playersLists connected players./playersPlayers list
servermsgSends a message to everyone online./servermsg "Restart in 5 minutes"Message everyone
saveSaves the world./save
quitSaves and stops the server./quit
kickuserKicks a player. Add -r for a reason./kickuser "rj" -r "spam"Kick
banuserBans a player. Add -ip to ban the address too, -r for a reason./banuser "rj" -ip -r "spawn kill"Ban (see below)
unbanuserUnbans a player./unbanuser "rj"Unban
banid, unbanidBans or unbans a SteamID./banid 76561190000000000Ban SteamID
banip, unbanipBans or unbans an address./banip 203.0.113.5Unban (for address bans in Bans (N))
voicebanBlock voice from user./voiceban "rj" -true (or -false)
addkeyGive a key to a player./addkey "rj" "7295" "Gift Key"
removeitemRemove items from yourself./removeitem Base.Axe 5
chopperPlace a helicopter event on a random player./chopper
gunshotPlace a gunshot sound on a random player./gunshot
setaccesslevelSets a player’s access level./setaccesslevel "rj" "moderator"Access level
adduserAdds an account, for a server that only lets in players an admin adds./adduser "rj" "password"Add account
removeuserfromwhitelistRemoves an account./removeuserfromwhitelist "rj"Remove account
setpasswordChanges a player’s password./setpassword "rj" "newpassword"
addsteamid, removesteamidAdds or removes an allowed SteamID./addsteamid "76561190000000000"Allow SteamID
additemGives an item. Without a name you get it yourself. The count is optional./additem "rj" Base.Axe 5Give item
addxpGives XP in a skill./addxp "rj" Woodwork=2Give XP
addvehicleSpawns a vehicle at a player or at x,y,z./addvehicle "Base.VanAmbulance" "rj"Bring a vehicle
teleportplayerMoves a player to another player./teleportplayer "rj" "toUser"Send to a player
teleporttoMoves you to coordinates./teleportto 10000,11000,0Send to a place
godmodplayerMakes a player invincible./godmodplayer "rj" -trueGod mode
invisibleplayerZombies cannot see the player./invisibleplayer "rj" -trueInvisible
noclipLets a player pass through walls./noclip "rj" -trueNo-clip
createhordeSpawns a horde near a player./createhorde 150 "rj"
startrain, stoprainStarts rain (strength 1 to 100) or stops it./startrain 50
startstorm, stopweatherStarts a storm (length in game hours) or stops the weather./startstorm 2
showoptionsShows the server options and their values./showoptions
changeoptionChanges one server option./changeoption PVP "false"
reloadoptionsReloads the server ini and sends it to players./reloadoptions
reloadlua, reloadallluaReloads one Lua file, or all of them./reloadlua "filename"

The in-game buttons (Give item and the rest) work for online players only.

Commands the wiki marks

  • godmod and godmodplayer carry a “Bug” flag on PZwiki. godmodplayer answered correctly on Build 42.21 on a Loafhosts server.
  • addtosafehouse, kickfromsafehouse, list, remove and worldgen are marked “WIP” (work in progress). Do not rely on them.
  • createhorde2 and removezombies have no description on the wiki.

PZwiki lists no /grantadmin command. Use setaccesslevel: see make yourself admin.

Bans and the Players page

Ban on the Players page sets the access level banned and kicks the player if they are online. The game refuses to ban a staff level, so set that player to user first.

If it does not work

  • Nothing happens in chat. Your account must be an admin, and the command starts with a slash.
  • The game says the item does not exist. Check the case: Base.Axe.
  • The game says “done” for a name that does not exist. It does that for setaccesslevel, removeuserfromwhitelist, unbanuser and unbanid. Check the name on the Players page.
  • A change to an option does not show. Use reloadoptions, or restart the server.

PZwiki’s list was last updated for Build 42.20.2. Not checked on Build 42.21 as of 18 October 2026 for the commands the replies above do not cover.

Sources: pzwiki.net: Admin commands, pzwiki.net: Dedicated server

Project Zomboid serversAll Project Zomboid guides