Project Zomboid Server Commands Guide
This comprehensive guide covers all available server commands in Project Zomboid. Whether you're an administrator managing a server or a moderator helping maintain order, understanding these commands is essential for effective server management.
Important Notes
- When using commands from the Control Panel, you don't need to add a
/before commands - Commands are case-sensitive
- Parameters in quotes ("") are required
- User permissions must be properly set to use admin commands
General Commands
These commands are used for basic server management and gameplay modifications:
| Command | Description | Syntax |
|---|---|---|
| additem | Gives an item to a player | /additem "user" "module.item" |
| addvehicle | Spawns a vehicle for a player | /addvehicle "user" |
| addxp | Gives experience points to a player | /addxp "user" "perk=XP" |
| alarm | Triggers a building alarm at admin's location | /alarm |
| changeoption | Modifies a server option | /changeoption option="newOption" |
| chopper | Initiates a helicopter event | /chopper |
| changepwd | Changes your password | /changepwd "pwd" "newPwd" |
| createhorde | Creates a zombie horde near a player | /createhorde "number" |
| godmode | Makes a player invincible | /godmode "user" |
| gunshot | Creates a gunshot sound | /gunshot |
| help | Displays the help menu | /help |
| invisible | Makes a player invisible to zombies | /invisible "user" |
| noclip | Enables no-clip mode for a player | /noclip "user" |
| quit | Saves and shuts down the server | /quit |
| releasesafehouse | Releases ownership of your safehouse | /releasesafehouse |
| reloadoptions | Reloads server configuration | /reloadoptions |
| replay | Records and plays back player movement | /replay "user" [-record | -play | -stop] "filename" |
| save | Saves the current game world | /save |
| sendpulse | Toggles server performance info | /sendpulse |
| showoptions | Displays current server options | /showoptions |
| startrain | Controls weather conditions | /startrain or /stoprain |
| teleport | Teleports between players | /teleport "toUser" or /teleport "user" "toUser" |
| teleportto | Teleports to coordinates | /teleportto x,y,z |
Moderation Commands
These commands are essential for server administration and player management:
| Command | Description | Syntax |
|---|---|---|
| addalltowhitelist | Adds all connected users to whitelist | /addalltowhitelist |
| adduser | Creates a new whitelisted user | /adduser "user" "pwd" |
| addusertowhitelist | Manages whitelist entries | /addusertowhitelist "user" |
| removeuserfromwhitelist | Removes user from whitelist | /removeuserfromwhitelist "user" |
| banid / unbanid | Manages Steam ID bans | /banid "SteamID" or /unbanid "SteamID" |
| banuser / unbanuser | Manages user bans | /banuser "user" or /unbanuser "user" |
| grantadmin / removeadmin | Manages admin privileges | /grantadmin "user" or /removeadmin "user" |
| kickuser | Removes a player from the server | /kickuser "user" |
| players | Shows all connected players | /players |
| servermsg | Broadcasts a server message | /servermsg "message" |
| setaccesslevel | Sets user permission level | /setaccesslevel "user" "[admin | moderator | overseer | gm | observer]" |
| voiceban | Manages voice chat privileges | /voiceban "user" [-true | -false] |
Best Practices
- Always use the correct syntax to avoid command errors
- Back up your server before making significant changes
- Use moderation commands responsibly
- Document any major server changes
- Communicate important commands to your moderation team
Troubleshooting
If commands aren't working:
- Verify you have the correct permissions
- Check command syntax
- Ensure the server is fully loaded
- Confirm player names are spelled correctly
- Check server logs for any errors