Project Zomboid Console Commands (2026)
Quick start: Press T in-game to open chat. Promote yourself with setaccesslevel "YourName" admin from the server console (no slash there). Then /players lists who is connected, /additem "YourName" Base.Axe spawns an item, and /save writes the world to disk before any restart.
This list is generated from the server's own command registry in Build 42, not copied from other guides. Every command below exists in the shipped build, every alias is one the server actually accepts, and the permission column is the capability the server checks before it runs. There are 78 commands under 92 names once aliases are counted. That includes the seven chat channels (/say, /yell, /whisper, /faction, /safehouse, /admin, /all), which most command lists leave out.
If you are following an older guide, check commands that no longer exist first. Several widely repeated ones were never part of Build 42.
Where You Type Them
| Where | Leading slash | Notes |
|---|---|---|
| In-game chat | Yes, /players | Press T. You need an access level that carries the capability. |
| Dedicated server console | No, players | The server window itself is not access-limited, so this is how you bootstrap the first admin. |
| RCON | No, players | See RCON access below. |
Access Levels and Capabilities
Build 42 gates every command on a named capability, not directly on your role. The server ships these roles: admin, moderator, overseer, gm, observer, user, priority and banned. Each role carries a default set of capabilities, and an admin can change which capabilities a role holds, so the mapping is per-server rather than fixed.
That is why the tables below list the capability rather than a role: the capability is the thing the server checks, and it is the same on every server. Set a player's role with /setaccesslevel "Name" "level".
Every Command in Build 42
Access, Roles and Accounts
| Command | What it does | Capability |
|---|---|---|
/grantadmin | Promote a player straight to admin. Equivalent to setaccesslevel with the admin level. | ChangeAccessLevel |
/removeadmin | Demote an admin. Counterpart to grantadmin. | ChangeAccessLevel |
/setaccesslevel | Set access level of a player. Current levels: Admin, Moderator, Overseer, GM, Observer/setaccesslevel "username" "accesslevel"e.g. /setaccesslevel "rj" "moderator" | ChangeAccessLevel |
/addsteamid | Use this command to add a SteamID to a list of allowed SteamIDs on server/addSteamID "steamid" | ModifyNetworkUsers |
/adduser | Use this command to add a new user to a whitelisted server/adduser "username" "password" | ModifyNetworkUsers |
/removesteamid | Use this command to remove a SteamID from a list of allowed SteamIDs on server/removeSteamID "steamid" | ModifyNetworkUsers |
/setpassword | Use this command to change password for a user/setpassword "username" "newpassword" | ModifyNetworkUsers |
/addalltowhitelist | Add every currently connected password user to the whitelist. Not listed by /help in this build. | ManipulateWhitelist |
/addusertowhitelist | Add a user connected with a password to the whitelist, so their account is protected/addusertowhitelist "username"Not listed by /help in this build. | ManipulateWhitelist |
/removeuserfromwhitelist | Remove a user from the whitelist/removeuserfromwhitelist "username" | ManipulateWhitelist |
Moderation and Bans
| Command | What it does | Capability |
|---|---|---|
/kickuseralso /kick | Kick a user. Add a -r "reason" to specify a reason for the kick/kickuser "username" -r "reason" | KickUser |
/banid | Ban a SteamID/banid SteamID | BanUnbanUser |
/banip | Ban IP/banip IP | BanUnbanUser |
/banuser | Ban a user. Add a -ip to also ban the IP. Add a -r "reason" to specify a reason for the ban/banuser "username" -ip -r "reason"e.g. /banuser "rj" -ip -r "spawn kill" | BanUnbanUser |
/unbanid | Unban a SteamID/unbanid SteamID | BanUnbanUser |
/unbanip | Unban IP/unbanip IP | BanUnbanUser |
/unbanuser | Unban a player/unbanuser "username" | BanUnbanUser |
/voiceban | Block voice from user "username"/voiceban "username" -valuee.g. /voiceban "rj" -true | BanUnbanUser |
Players, Options and Diagnostics
| Command | What it does | Capability |
|---|---|---|
/connections | Displays information on all connections Not listed by /help in this build. | SeePlayersConnected |
/players | List all connected players | SeePlayersConnected |
/showoptions | Print the active server options and their current values. | SeePublicServerOptions |
/stats | Set and clear server statistics/stats none|file|console|all periode.g. /stats file 10 | GetStatistic |
/log | Set log level/log %1 %2 | DebugConsole |
/clear | Clear the server console output. Replies “Console cleared”. | LoginOnServer |
/help | List every command the server exposes to your access level. | LoginOnServer |
/list | Lists loaded animals. Note that the connections command also declares the name /list, so which one answers can depend on the build. | LoginOnServer |
/debugplayer | Toggle debug mode for a player. Use: /debugplayer "username". | ConnectWithDebug |
/settimespeedalso /sts | Set the time multiplier on the server/setTimeSpeed periode.g. /setTimeSpeed 10 | ConnectWithDebug |
Items, XP and Vehicles
| Command | What it does | Capability |
|---|---|---|
/additem | Give an item to a player. If no username is given then you will receive the item yourself. Count is optional e.g. /additem "rj" Base.Axe 5 | AddItem |
/addkey | Give a key to a player. If no username is given then you will receive the item yourself. Key name is optional/addkey "username" "keyId" "name" | AddItem |
/addxp | Give XP to a player/addxp "playername" perkname=xp -truee.g. /addxp "rj" Woodwork=2 -true | AddXP |
/removeitem | Remove items from yourself. Removes all items of type if count set to 0 e.g. /removeitem Base.Axe 5 | EditItem |
/addvehicle | Spawn a vehicle e.g. /addvehicle "Base.VanAmbulance" "rj" | ManipulateVehicle |
Teleport and Game Master Tools
| Command | What it does | Capability |
|---|---|---|
/teleportalso /tp | Teleport to a player. Once teleported, wait for the map to appear/teleport "playername" or /teleport "player1" "player2"e.g. /teleport "rj" or /teleport "rj" "toUser" | TeleportToPlayer |
/teleportplayeralso /tpp | Teleport a player to another player/teleportplayer "player1" "player2"e.g. /teleportplayer "rj" "toUser" | TeleportPlayerToAnotherPlayer |
/teleporttoalso /tpto | Teleport to coordinates/teleportto x,y,ze.g. /teleportto 10000,11000,0 | TeleportToCoordinates |
/godmodealso /godmod | Make yourself invincible/godmode -valuee.g. /godmode -true | ToggleGodModHimself |
/godmodeplayeralso /godmodplayer | Make a player invincible/godmodeplayer "username" -valuee.g. /godmodeplayer "rj" -true | ToggleGodModEveryone |
/invisible | Make yourself invisible to zombies/invisible -valuee.g. /invisible -true | ToggleInvisibleHimself |
/invisibleplayer | Make a player invisible to zombies/invisibleplayer "username" -valuee.g. /invisibleplayer "rj" -true | ToggleInvisibleEveryone |
/noclip | Makes a player pass through walls and structures. Toggles with no value/noclip "username" -valuee.g. /noclip "rj" -true | ToggleNoclipHimself |
World, Weather and Zombies
| Command | What it does | Capability |
|---|---|---|
/startrain | Starts raining on the server/startrain "intensity" | StartStopRain |
/startstorm | Starts a storm on the server/startstorm "duration" | StartStopRain |
/stoprain | Stop raining on the server | StartStopRain |
/stopweather | Stop weather on the server | StartStopRain |
/thunder | /thunder "username" | StartStopRain |
/alarm | Sound a building alarm at the Admin's position. (Must be in a room) | MakeEventsAlarmGunshot |
/chopper | Place a helicopter event on a random player | MakeEventsAlarmGunshot |
/gunshot | Place a gunshot sound on a random player | MakeEventsAlarmGunshot |
/lightning | /lightning "username" | MakeEventsAlarmGunshot |
/createhorde | Spawn a horde near a player/createhorde count "username"e.g. /createhorde 150 "rj" | CreateHorde |
/createhorde2 | Spawn a horde at world coordinates rather than at a named player. | CreateHorde |
/removezombies | Remove zombies, with optional -radius, -x, -y, -z and -reanimated filters. | ManipulateZombie |
/remove | Remove every entity of one type from the loaded world. The argument is required and is one of animals, zombies, corpses or vehicles. | AnimalCheats |
Safehouses
| Command | What it does | Capability |
|---|---|---|
/addtosafehouse | Adds player to a safehouse/addtosafehouse "title" "username" | CanSetupSafehouses |
/kickfromsafehouse | Removes player from a safehouse/kickfromsafehouse "title" "username" | CanSetupSafehouses |
/releasesafehouse | Release a safehouse/releasesafehouse "title" | CanSetupSafehouses |
Server Config, Save and Lifecycle
| Command | What it does | Capability |
|---|---|---|
/changeoption | Change a server option/changeoption optionName "newValue" | ChangeAndReloadServerOptions |
/reloadoptions | Reload server options (ServerOptions.ini) and send to clients | ChangeAndReloadServerOptions |
/save | Force a world save. Run this before any manual restart. | SaveWorld |
/worldgen | Control full world generator. Use commands '/worldgen start', '/worldgen recheck', '/worldgen stop', and '/worldgen status'. Use | SaveWorld |
/quit | Save and quit the server | QuitWorld |
/reloadallluaalso /reloadluaall | Reload every server-side Lua file rather than one named file. | ReloadLuaFiles |
/reloadlua | Reload a Lua script on the server/reloadlua "filename" | ReloadLuaFiles |
/checkmodsneedupdate | Indicates whether a mod has been updated. Writes answer to log file | ManipulateMods |
/servermsg | Broadcast a message to all connected players/servermsg "My Message" | DisplayServerMessage |
/removemapsymbolsforuser | Removes all shared in-game map symbols for a specific user/removemapsymbolsforuser "username" | EditMapSymbols |
Chat and Player Commands
| Command | What it does | Capability |
|---|---|---|
/adminalso /a | Switch chat to the admin channel. This is a chat channel, not a login command. | not capability gated |
/all | Switch chat to the global channel. | not capability gated |
/card | If you have a card deck, you can draw a random card/card | not capability gated |
/changepwd | Changes your password/changepwd "previouspassword" "newpassword" | not capability gated |
/disconnect | Kicks a client according to their connection number. Connection numbers can be seen through /connections/disconnect indexe.g. /disconnect 2 | not capability gated |
/factionalso /f | Switch chat to your faction channel. | not capability gated |
/roll | If you have dice, you can roll a random number - up to 100/roll 6 | not capability gated |
/safehousealso /sh | Switch chat to your safehouse channel. | not capability gated |
/sayalso /s | Switch chat to the local Say channel, heard by nearby players. | not capability gated |
/whisperalso /w | Switch chat to a private message to one player. | not capability gated |
/yellalso /y | Switch chat to Yell, which carries further than Say and attracts zombies. | not capability gated |
Commands Older Guides List That Do Not Exist
These appear in widely copied Project Zomboid command lists, including on this page until September 2026. None of them is present in the Build 42 server. If a guide lists them, it has not been checked against the game.
| Not a command | What to use instead |
|---|---|
removeuser | /removeuserfromwhitelist "username" |
changepassword | /setpassword "username" "newpassword" as an admin, or /changepwd for your own |
stopstorm | /stopweather |
coordinates | No console equivalent. Read coordinates from the in-game map or debug overlay. |
lootitem | /additem. There is no drop-on-ground variant. |
additemall, addxpall, addalltraits | No bulk variants exist. Use /additem and /addxp per item and per perk. |
setlua | No arbitrary Lua execution command. /reloadlua "filename" reloads a script. |
setdefaultport | Edit DefaultPort in the server INI and restart. |
Two more are the game's own stale documentation rather than a guide error: Build 42 still ships help text for /replay and /sendpulse, but neither command is implemented in the server any more.
RCON Access
The dedicated server speaks Source RCON. RCONPort and RCONPassword are both real server options in Build 42. Set them in your server INI:
RCONPort=27015
RCONPassword=YourRconPassword
Connect with any Source RCON client and drop the leading slash:
mcrcon -H your.server.ip -P 27015 -p YourRconPassword "players"
mcrcon -H your.server.ip -P 27015 -p YourRconPassword "save"
mcrcon -H your.server.ip -P 27015 -p YourRconPassword "servermsg \"Restart in 60s\""
mcrcon -H your.server.ip -P 27015 -p YourRconPassword "quit"
Good Admin Habits
- Always
savebefore a restart. A hard kill loses whatever has happened since the last autosave. - Log the destructive ones.
removeadmin,banipandremovezombiesare worth recording with a timestamp and a reason. - Test on a copy. A wrong
changeoptionorreloadoptionscan undo population tuning you cannot easily rebuild. - Reach for the smaller tool first.
kickuserbeforebanuser,changeoptionbefore hand-editing the INI on a running server.
Need somewhere to try these before touching a live world? Launch your Project Zomboid server with Supercraft: the panel has an integrated console, scheduled saves, and one-click rollback to the last good snapshot.