
All Console Commands for Your Project Zomboid Server
Console commands allow users to modify the gameâs settings, spawn items, or run functions that would otherwise be unavailable. You can use them in two different ways:
#Access Through The Control Panel
The first way to use commands is by accessing the Console through your Control Panel. You can type them directly into the Console.

If you would like to use commands from within your server, you will first need to set the playerâs access level from the console. You can learn more in our article on How to Become an Admin on your Project Zomboid Server.
#Access Through In-Game Chat
Once you have been given permissions from the console, you can access commands from within a Project Zomboid server by entering the commands directly into your in-game chat. To access the chat, press T.
#List of General Commands
| Name | 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. | /replay âuserâ [-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 - stoprain | Starts and stops rain on the server. | /[start | stop]rain |
| teleport | Teleports to a player. | /teleport âtoUserâ or /teleport âuserâ âtoUserâ |
| teleportto | Teleports to certain coordinates. | /teleportto x,y,z |
#List of Moderation Commands
| Name | 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 - removeuserfromwhitelist | Adds/removes a single user connected with a password to the whitelist. | /addusertowhitelist âuserâ |
| banid - unbanid | Bans/unbans a Steam ID. | /[ban | unban]id âSteamIDâ |
| banuser - unbanuser | Bans/unbans a user. | /[ban | unban] âuserâ |
| grantadmin - removeadmin | Gives or removes admin rights to a user. | /[grantadmin | removeadmin] âuserâ |
| kickuser | Kicks a user from the server. | /kickuser âuserâ |
| 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 âuserâ â[admin | moderator | overseer | gm | observer]â |
| voiceban | Ban a user from using the voice feature. | /voiceban âuserâ [-true | -false] |