background image

Project Zomboid Admin Commands Print

  • 1

First Time Setup

To create your first admin account, type this command in the game server console:

setaccesslevel "username" admin

Replace "username" with your actual in-game username

Important Note

Control Panel Users: When using commands from the Control Panel, you do NOT need to add a / before commands.

In-Game Users: All commands must be prefixed with / when used in-game.

Server Commands Reference

General Commands

Command Description Syntax
additem Gives an item to the player /additem "username" "module.item"
addvehicle Spawns a vehicle /addvehicle "username"
addxp Gives XP to a player /addxp "username" "perk=XP"
alarm Sounds a building alarm at the admin's position (must be in a room) /alarm
changeoption Changes a server option /changeoption option="newOption"
chopper Places a helicopter event on a random player /chopper
changepwd Changes your password /changepwd "oldPassword" "newPassword"
createhorde Spawns a horde near a player /createhorde "number"
godmode Makes a player invincible /godmode "username"
gunshot Makes a gunshot noise near the player /gunshot
help Brings up the help menu /help
invisible Makes a player invisible to zombies /invisible "username"
noclip Allows a player to pass through solid objects /noclip "username"
quit Saves and quits the server /quit
releasesafehouse Releases a safehouse you own /releasesafehouse
reloadoptions Reloads server options /reloadoptions
replay Records and plays a replay for a moving player /replay "username" [-record | -play | -stop] "filename"
save Saves the current world /save
sendpulse Toggles sending server performance info to the client /sendpulse
showoptions Shows a list of current server options and values /showoptions
startrain Starts rain on the server /startrain
stoprain Stops rain on the server /stoprain
teleport Teleports to a player /teleport "toUsername" or /teleport "username" "toUsername"
teleportto Teleports to certain coordinates /teleportto x,y,z

Moderation Commands

Command Description Syntax
addalltowhitelist Adds all current users connected with a password to the whitelist /addalltowhitelist
adduser Adds a new user to the whitelist /adduser "username" "password"
addusertowhitelist Adds a single user connected with a password to the whitelist /addusertowhitelist "username"
removeuserfromwhitelist Removes a single user from the whitelist /removeuserfromwhitelist "username"
banid Bans a Steam ID /banid "SteamID"
unbanid Unbans a Steam ID /unbanid "SteamID"
banuser Bans a username /banuser "username"
unbanuser Unbans a username /unbanuser "username"
grantadmin Gives admin rights to a user /grantadmin "username"
removeadmin Removes admin rights from a user /removeadmin "username"
kickuser Kicks a user from the server /kickuser "username"
players Lists all connected players /players
servermsg Broadcast a message to all players /servermsg "message"
setaccesslevel Set the access/permission level of a player /setaccesslevel "username" "[admin | moderator | overseer | gm | observer]"
voiceban Ban a user from using the voice feature /voiceban "username" [-true | -false]"

Was this answer helpful?

« Back

Ready to Get Started?

The servers are booted, select your plan and become our latest satisfied client.