Applies to: Project Zomboid on the Gravel Host Panel · Time: about 5 minutes · Difficulty: Beginner
Console commands let you change the game's settings, spawn items, or run functions that would otherwise be unavailable. Use this page as a quick reference for your Project Zomboid server.

/ in front, for example players.T to open the chat.
/ in front, for example /players.| Command | Description | Syntax |
|---|---|---|
additem |
Gives an item to the player. | /additem "user" "module.item" |
addvehicle |
Spawns a vehicle. | /addvehicle "user" |
addxp |
Gives XP to a player. | /addxp "user" "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 "pwd" "newPwd" |
createhorde |
Spawns a horde near a player. | /createhorde "number" |
godmode |
Makes a player invincible. | /godmode "user" |
gunshot |
Makes a gunshot noise near the player. | /gunshot |
help |
Brings up the help menu. | /help |
invisible |
Makes a player invisible to zombies. | /invisible "user" |
noclip |
Allows a player to pass through solid objects. | /noclip "user" |
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. Use -record, -play or -stop. |
/replay "user" -record "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 you to a player, or one player to another. | /teleport "toUser" or /teleport "user" "toUser" |
teleportto |
Teleports to certain coordinates. | /teleportto x,y,z |
| 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 "user" "pwd" |
addusertowhitelist |
Adds a single user connected with a password to the whitelist. | /addusertowhitelist "user" |
removeuserfromwhitelist |
Removes a single user from the whitelist. | /removeuserfromwhitelist "user" |
banid |
Bans a Steam ID. | /banid "SteamID" |
unbanid |
Unbans a Steam ID. | /unbanid "SteamID" |
banuser |
Bans a user. | /banuser "user" |
unbanuser |
Unbans a user. | /unbanuser "user" |
grantadmin |
Gives admin rights to a user. | /grantadmin "user" |
removeadmin |
Removes admin rights from a user. | /removeadmin "user" |
kickuser |
Kicks a user from the server. | /kickuser "user" |
players |
Lists all connected players. | /players |
servermsg |
Broadcasts a message to all players. | /servermsg "message" |
setaccesslevel |
Sets the access level of a player: admin, moderator, overseer, gm or observer. |
/setaccesslevel "user" "moderator" |
voiceban |
Bans a user from using voice chat. Use -true to ban or -false to unban. |
/voiceban "user" -true |
Still stuck? Our team is on Discord, or open a ticket from the Billing Panel.