KnowledgebaseProject Zomboid

All Console Commands for Your Project Zomboid Server

All Console Commands for Your Project Zomboid Server

Project Zomboid
·
Nov 10, 2024
·
7 min read

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. Project Zomboid server with the console command entry field highlighted

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.

Opening the chat in Project Zomboid

#List of General Commands

NameDescriptionSyntax
additemGives an item to the player./additem “user” “module.item”
addvehicleSpawns a vehicle./addvehicle “user”
addxpGives XP to a player./addxp “user” “perk=XP”
alarmSounds a building alarm at the admin’s position. Must be in a room./alarm
changeoptionChanges a server option./changeoption option="newOption"
chopperPlaces a helicopter event on a random player./chopper
changepwdChanges your password./changepwd “pwd” “newPwd”
createhordeSpawns a horde near a player./createhorde “number”
godmodeMakes a player invincible./godmode “user”
gunshotMakes a gunshot noise near the player./gunshot
helpBrings up the help menu./help
invisibleMakes a player invisible to zombies./invisible “user”
noclipAllows a player to pass through solid objects./noclip “user”
quitSaves and quits the server./quit
releasesafehouseReleases a safehouse you own./releasesafehouse
reloadoptionsReloads server options./reloadoptions
replayRecords and plays a replay for a moving player./replay “user” [-record | -play | -stop] “filename”
saveSaves the current world./save
sendpulseToggles sending server performance info to the client./sendpulse
showoptionsShows a list of current server options and values./showoptions
startrain - stoprainStarts and stops rain on the server./[start | stop]rain
teleportTeleports to a player./teleport “toUser” or /teleport “user” “toUser”
teleporttoTeleports to certain coordinates./teleportto x,y,z

#List of Moderation Commands

NameDescriptionSyntax
addalltowhitelistAdds all current users connected with a password to the whitelist./addalltowhitelist
adduserAdds a new user to the whitelist./adduser “user” “pwd”
addusertowhitelist - removeuserfromwhitelistAdds/removes a single user connected with a password to the whitelist./addusertowhitelist “user”
banid - unbanidBans/unbans a Steam ID./[ban | unban]id “SteamID”
banuser - unbanuserBans/unbans a user./[ban | unban] “user”
grantadmin - removeadminGives or removes admin rights to a user./[grantadmin | removeadmin] “user”
kickuserKicks a user from the server./kickuser “user”
playersLists all connected players./players
servermsgBroadcast a message to all players./servermsg “message”
setaccesslevelSet the access/permission level of a player./setaccesslevel “user” “[admin | moderator | overseer | gm | observer]”
voicebanBan a user from using the voice feature./voiceban “user” [-true | -false]
Discord beitreten