Project Zomboid: All admin commands for servers

Moderate and control the server in various ways.

What to do with Scrap Wood in Project Zomboid
Screenshot by Dot Esports

When playing with your friends in a Project Zomboid multiplayer server, you can get the admin status to control several aspects of the game such as giving an item to a player, teleporting, initiating a helicopter event, and much more.

Recommended Videos

How to get admin status and use commands in Project Zomboid

Characters paint a wall and clean up a room with rickety walls in Project Zomboid.
You can help or make things worse as an admin. Image via The Indie Stone

You need to join the server using the admin password to become an admin in Project Zomboid. Go to the server panel and open the General Settings, where you’ll see the admin password. Just copy and paste it into the Account Password area when logging into the server.

To use the commands, you’ll just need to type a forward slash (/) and the desired command in the general chat box. The commands can affect you or other players. You just need to type the username of the player you want to affect with the command.

All admin commands for servers in Project Zomboid

An image of zombies in Project Zomboid
You can get whatever item you want or need. Image via The Indie Stone

When typing the commands, keep the spaces and replace the words between quotation marks, but you don’t need to keep the quotation marks themselves. You have the option to see all the commands available to you in the game, but it can be a bit overwhelming to see so much text in a small box, so here are all the admin commands in Project Zomboid.

General commands

NAMEDESCRIPTIONSYNTAX
additemGive an item to yourself or a player./additem “username” “module.item” “amount”
addvehicleSpawn a vehicle./addvehicle “username”
addxpGive XP to a player./addxp “username” “perk=XP”
alarmSound a building alarm at the admin’s position, but must be in a room to work./alarm
changeoptionChanges a server option./changeoption option=”newOption”
chopperPlaces a helicopter event on a random player./chopper
changepwdChange your password./changepwd “password” “newPassword”
createhordeSpawn a horde near a player./createhorde “number”
godmodeMake a player invincible./godmode “username”
gunshotMake a gunshot noise near the player./gunshot
helpBring up the help menu./help
invisibleMake a player invisible to zombies./invisible “username”
lightningCast lightning to a player./lightning “username”
noclipAllow a player to pass through walls and objects./noclip “username”
quitSave and quit the server./quit
releasesafehouseRelease a safehouse you own./releasesafehouse
reloadoptionsReload server options./reloadoptions
replayRecord and play a replay for a moving player./replay “username” [-record | -play | -stop] “filename”
saveSave the current world./save
sendpulseToggle sending server performance info to the client./sendpulse
showoptionsShow a list of current server options and values./showoptions
startrain or stoprainStart and stop the rain./startrain “1-100”
/stoprain
startstormStart a storm./startstorm “duration”
teleportTeleport to a player./teleport “toUsername” or /teleport “username” “toUsername”
teleporttoTeleport to a specific coordinate./teleportto x,y,z

Moderation commands

NAMEDESCRIPTIONSYNTAX
addalltowhitelistAdd all current users connected with a password to the whitelist./addalltowhitelist
adduserAdd a new user to the whitelist./adduser “username” “password”
addusertowhitelist – removeuserfromwhitelistAdd or remove a single user connected with a password to the whitelist./addusertowhitelist “username”
banid and unbanidBan or unban a Steam ID./banid “SteamID”
/unbanid “SteamID”
banuser and unbanuserBan or unban a user./ban “username”
/unban “username”
grantadmin – removeadminGive or remove admin rights to a user./grantadmin “username”
/removeadmin “username”
kickuserKick a user from the server./kickuser “username”
playersList all connected players./players
servermsgBroadcast a message to all players./servermsg “message”
setaccesslevelSet the access/permission level of a player./setaccesslevel “username” “[admin | moderator | overseer | gm | observer]”
voicebanBan a user from using the voice feature./voiceban “username” [-true | -false]
Author
Image of Nádia Linhares
Nádia Linhares
Nádia is a Brazilian freelance writer who works for Dot since 2020. She has covered everything from Pokémon to FIFA. Video games are an essential part of her life, especially indie games and RPGs. You can catch her playing Overwatch in her spare time, but she writes better than she aims.