Project Zomboid Administrator Commands (Build 42.19)
Build 42.19 · 67 server admin commands · chat & console examples · rights needed for each action · flags on destructive tools
Use this as a multiplayer admin cheat sheet: type commands in staff chat or the server console, copy the example syntax, and check which access rights each one needs.
- Take a world backup before
/quit, mass bans, horde spawns,/remove,/removezombies, access-level changes, or option reloads on a live server. - Prefer a test save when trying spawn, weather, or script-reload commands.
- If a command fails with a rights error, raise the player’s access level only as far as needed.
- Username arguments with spaces need quotes:
"My Player".
How to use these commands
- In-game chat (staff client): type the command with a leading
/while connected with enough rights. - Server console: same command names, but tools that default to “you” often need an explicit player name (horde, some weather, and other target commands).
- Live help: run
/helpor/help commandnameon your server if a patch changes an argument. - Quotes: put usernames and multi-word reasons in quotes.
Access levels
/setaccesslevel "username" "level" accepts these levels:
Full staff tools for server operation.
High staff access; typical day-to-day moderation tier.
Elevated observation and control without full ownership.
Game-master style tools for events and world control.
Lowest staff tier; limited intervention rights.
/grantadmin / /removeadmin still exist as shortcuts, but /setaccesslevel is the clearer way to assign an exact tier.
Common pitfalls
/createhordespawns a zombie horde, not corpses./stoprainstops rain;/startrainstarts it (optional intensity 1–100)./addvehicleneeds the full vehicle id such asBase.VanAmbulance, not a bareVanAmbulance.- Self vs other players:
/godmodeand/invisibleare for you; use/godmodeplayerand/invisibleplayerfor someone else. - Safehouse release is
/releasesafehouse "title"— not/safehouse. /unbanuserand/voicebanare separate commands; voice ban only mutes VOIP.
Server ops (16)
| Command | Example | Required capability | Description | Notes |
|---|---|---|---|---|
| /changeoption destructive | /changeoption PVP true |
ChangeAndReloadServerOptions |
Change a server option. Use: /changeoption optionName "newValue" | — |
| /checkModsNeedUpdate | /checkModsNeedUpdate |
ManipulateMods |
Indicates whether a mod has been updated. Writes answer to log file | — |
| /clear | /clear |
DebugConsole |
Clear server console output buffer. | — |
| /debugplayer | /debugplayer "rj" |
ConnectWithDebug |
Open debug handling for that player. Prefer a test server. | — |
| /help | /help |
LoginOnServer |
Help | — |
| /log | /log |
DebugConsole |
Set log level. Use /log %1 %2 | — |
| /quit destructive | /quit |
QuitWorld |
Save and quit the server | Saves then shuts down — confirm before use |
| /reloadalllua destructive Alias: /reloadluaall |
/reloadalllua |
ReloadLuaFiles |
Reload every currently loaded server script. Broader than /reloadlua "filename". |
Run during maintenance; live scripts may reset |
| /reloadlua destructive | /reloadlua "filename" |
ReloadLuaFiles |
Reload one server script by filename. Use /reloadlua "filename" | — |
| /reloadoptions | /reloadoptions |
ChangeAndReloadServerOptions |
Reload server options (ServerOptions.ini) and send to clients | — |
| /save | /save |
SaveWorld |
Save the current world | — |
| /servermsg | /servermsg "Server restart in 5 minutes" |
DisplayServerMessage |
Broadcast a message to all connected players. Use: /servermsg "My Message" | — |
| /setTimeSpeed, /sts destructive | /setTimeSpeed 10 |
ConnectWithDebug |
Set the time multiplier on the server. Use /setTimeSpeed period. Example /setTimeSpeed 10 | — |
| /showoptions | /showoptions |
SeePublicServerOptions |
Show the list of current server options and values. | — |
| /stats | /stats help |
GetStatistic |
Get server statistics. Use /stats help to get the details | — |
| /worldgen destructive | /worldgen status |
SaveWorld |
Control the full world generator: /worldgen start, /worldgen recheck, /worldgen stop, or /worldgen status. |
Check status first and back up before start/recheck operations |
Users & roles (12)
| Command | Example | Required capability | Description | Notes |
|---|---|---|---|---|
| /addalltowhitelist | /addalltowhitelist |
ManipulateWhitelist |
Add all the current users who are connected with a password to the whitelist, so their account is protected. | — |
| /addsteamid | /addsteamid "76561198000000000" |
ModifyNetworkUsers |
Use this command to add a SteamID to a list of allowed SteamIDs on server. Use: /addSteamID "steamid" | — |
| /adduser | /adduser "rj" "password" |
ModifyNetworkUsers |
Use this command to add a new user to a whitelisted server. Use: /adduser "username" "password" -- password is optional | — |
| /addusertowhitelist | /addusertowhitelist "rj" |
ManipulateWhitelist |
Add a user connected with a password to the whitelist, so their account is protected. Use: /addusertowhitelist "username" | — |
| /connections | /connections |
SeePlayersConnected |
Displays information on all connections | — |
| /grantadmin destructive | /grantadmin "rj" |
ChangeAccessLevel |
Grant admin-level access to a player. Prefer /setaccesslevel "username" "admin" when you need an explicit access level. | — |
| /players | /players |
SeePlayersConnected |
List all connected players | — |
| /removeadmin destructive | /removeadmin "rj" |
ChangeAccessLevel |
Remove admin access from a player. Prefer /setaccesslevel when assigning a non-admin staff level instead of a full drop. | — |
| /removesteamid | /removesteamid "76561198000000000" |
ModifyNetworkUsers |
Use this command to remove a SteamID from a list of allowed SteamIDs on server. Use: /removeSteamID "steamid" | — |
| /removeuserfromwhitelist destructive | /removeuserfromwhitelist "rj" |
ManipulateWhitelist |
Remove a user from the whitelist. Use: /removeuserfromwhitelist "username" | — |
| /setaccesslevel destructive | /setaccesslevel "rj" "moderator" |
ChangeAccessLevel |
Set access level of a player. Current levels: Admin, Moderator, Overseer, GM, Observer. Use /setaccesslevel "username" "accesslevel". Example /setaccesslevel "rj" "moderator" | Levels: Admin, Moderator, Overseer, GM, Observer |
| /setpassword destructive | /setpassword "rj" "newpassword" |
ModifyNetworkUsers |
Use this command to change password for a user. Use: /setpassword "username" "newpassword" | — |
Moderation (8)
| Command | Example | Required capability | Description | Notes |
|---|---|---|---|---|
| /banid destructive | /banid 76561198000000000 |
BanUnbanUser |
Ban a SteamID. Use /banid SteamID | — |
| /banip destructive | /banip 203.0.113.10 |
BanUnbanUser |
Ban IP. Use /banip IP | — |
| /banuser destructive | /banuser "rj" -ip -r "spawn kill" |
BanUnbanUser |
Ban a user. Add a -ip to also ban the IP. Add a -r "reason" to specify a reason for the ban. Use: /banuser "username" -ip -r "reason". For example: /banuser "rj" -ip -r "spawn kill" | — |
| /kickuser destructive | /kickuser "rj" -r "afk farming" |
KickUser |
Kick a user. Add a -r "reason" to specify a reason for the kick. Use: /kickuser "username" -r "reason" | — |
| /unbanid | /unbanid 76561198000000000 |
BanUnbanUser |
Unban a SteamID. Use /unbanid SteamID | — |
| /unbanip | /unbanip 203.0.113.10 |
BanUnbanUser |
Unban IP. Use /unbanip IP | — |
| /unbanuser destructive | /unbanuser "rj" |
BanUnbanUser |
Unban a player. Use /unbanuser "username" | Separate from /voiceban |
| /voiceban | /voiceban "rj" -true |
BanUnbanUser |
Block voice from user "username". Use /voiceban "username" -value. Example /voiceban "rj" -true (could be -false) | Voice mute only; not a full unban |
Powers & teleport (8)
| Command | Example | Required capability | Description | Notes |
|---|---|---|---|---|
| /godmod, /godmode | /godmode -true |
ToggleGodModHimself |
Make yourself invincible. Use: /godmode -value, ex /godmode -true (could be -false) | Self only; use godmodeplayer for others |
| /godmodplayer, /godmodeplayer destructive | /godmodeplayer "rj" -true |
ToggleGodModEveryone |
Make a player invincible. Use: /godmodeplayer "username" -value, ex /godmodeplayer "rj" -true (could be -false) | Targets another player |
| /invisible | /invisible -true |
ToggleInvisibleHimself |
Make yourself invisible to zombies. Use: /invisible -value, ex /invisible -true (could be -false) | Self only; use invisibleplayer for others |
| /invisibleplayer | /invisibleplayer "rj" -true |
ToggleInvisibleEveryone |
Make a player invisible to zombies. Use: /invisibleplayer "username" -value, ex /invisibleplayer "rj" -true (could be -false) | Targets another player |
| /noclip destructive | /noclip "rj" -true |
ToggleNoclipEveryone |
Makes a player pass through walls and structures. Toggles with no value. Use: /noclip "username" -value. Example /noclip "rj" -true (could be -false) | Username required in current signature |
| /teleport | /teleport "rj" |
TeleportToPlayer |
Teleport to a player. Once teleported, wait for the map to appear. Use /teleport "playername" or /teleport "player1" "player2". Example /teleport "rj" or /teleport "rj" "toUser" | Optional second name teleports player1→player2 |
| /teleportplayer | /teleportplayer "rj" "toUser" |
TeleportPlayerToAnotherPlayer |
Teleport a player to another player. Use /teleportplayer "player1" "player2". Example /teleportplayer "rj" "toUser" | Always moves player1 to player2 |
| /teleportto, /tpto | /teleportto 10000,11000,0 |
Lookup |
Teleport to coordinates. Use /teleportto x,y,z. Example /teleportto 10000,11000,0 | — |
Items, XP & vehicles (5)
| Command | Example | Required capability | Description | Notes |
|---|---|---|---|---|
| /additem | /additem "rj" Base.Axe 5 |
AddItem |
Give an item to a player. If no username is given then you will receive the item yourself. Count is optional. Use: /additem "username" "module.item" count. Example: /additem "rj" Base.Axe 5 | — |
| /addkey | /addkey "rj" "7295" |
AddItem |
Give a key to a player. If no username is given then you will receive the item yourself. Key name is optional. Use: /addkey "username" "keyId" "name". Example: /addkey "rj" "7295 | — |
| /addvehicle destructive | /addvehicle "Base.VanAmbulance" "rj" |
ManipulateVehicle |
Spawn a vehicle. Use: /addvehicle "script" "user or x,y,z", ex /addvehicle "Base.VanAmbulance" "rj" | Use full vehicle id, e.g. Base.VanAmbulance |
| /addxp | /addxp "rj" Woodwork=2 -true |
Perks |
Give XP to a player. Use /addxp "playername" perkname=xp -true. Example /addxp "rj" Woodwork=2 -true. The last argument is optional and is used to take xp multiplier into account | — |
| /removeitem | /removeitem Base.Axe 5 |
EditItem |
Remove items from yourself. Removes all items of type if count set to 0. Use: /removeitem "module.item" count. Example: /removeitem Base.Axe 5 | — |
Events & zombies (8)
| Command | Example | Required capability | Description | Notes |
|---|---|---|---|---|
| /alarm | /alarm |
MakeEventsAlarmGunshot |
Sound a building alarm at the Admin's position. (Must be in a room) | — |
| /chopper | /chopper |
MakeEventsAlarmGunshot |
Place a helicopter event on a random player | — |
| /createhorde destructive | /createhorde 150 "rj" |
CreateHorde |
Spawn a horde near a player. Use : /createhorde count "username". Example /createhorde 150 "rj" Username is optional except from the server console. With no username the horde will be created around you | Spawns living zombies, not corpses; From server console, player target is usually required |
| /createhorde2 destructive | /createhorde2 -x 10600 -y 9800 -z 0 -count 25 -radius 5 |
CreateHorde |
Spawn a configurable horde at world coordinates. Core flags are -x, -y, -z, -count, and -radius; optional flags control outfit and zombie state. Use /help createhorde2 for the live list. |
Spawns living zombies, not corpses; maximum 500 per command |
| /gunshot | /gunshot |
MakeEventsAlarmGunshot |
Place a gunshot sound on a random player | — |
| /lightning | /lightning "rj" |
MakeEventsAlarmGunshot |
Use /lightning "username", username is optional except from the server console | From server console, player target is usually required |
| /removezombies destructive | /removezombies |
ManipulateZombie |
Remove zombies in a radius (admin tool). Confirm exact flags with /help removezombies — behavior is destructive and should be tested on a copy of the world first. | — |
| /thunder | /thunder "rj" |
StartStopRain |
Use /thunder "username", username is optional except from the server console | From server console, player target is usually required |
Weather (4)
| Command | Example | Required capability | Description | Notes |
|---|---|---|---|---|
| /startrain | /startrain 50 |
StartStopRain |
Starts raining on the server. Use /startrain "intensity", optional intensity is from 1 to 100 | — |
| /startstorm | /startstorm 6 |
StartStopRain |
Starts a storm on the server. Use /startstorm "duration", optional duration is in game hours | — |
| /stoprain | /stoprain |
StartStopRain |
Stop raining on the server | Stops rain (not start) |
| /stopweather | /stopweather |
StartStopRain |
Stop weather on the server | — |
Safehouses (3)
| Command | Example | Required capability | Description | Notes |
|---|---|---|---|---|
| /addtosafehouse | /addtosafehouse "MyBase" "rj" |
CanSetupSafehouses |
Adds player to a safehouse. Use /addtosafehouse "title" "username" | — |
| /kickfromsafehouse | /kickfromsafehouse "MyBase" "rj" |
CanSetupSafehouses |
Removes player from a safehouse. Use /kickfromsafehouse "title" "username" | — |
| /releasesafehouse | /releasesafehouse "MyBase" |
CanSetupSafehouses |
Release a safehouse. Use /releasesafehouse "title" | Command is /releasesafehouse, not /safehouse |
Advanced (3)
| Command | Example | Required capability | Description | Notes |
|---|---|---|---|---|
| /list | /list animals |
LoginOnServer |
List server-side objects by subsystem/type (for example animals). Use /help list for the current argument form. | — |
| /remove destructive | /remove zombies |
AnimalCheats |
Remove one supported subsystem from the current connection: animals, zombies, corpses, or vehicles. |
Argument is required; destructive—confirm the target before running |
| /removemapsymbolsforuser destructive | /removemapsymbolsforuser "rj" |
EditMapSymbols |
Removes all shared in-game map symbols for a specific user. Use /removemapsymbolsforuser "username" | — |
About “required capability”
Each command needs a named right (shown in the capability column). Your access level must include that right, or the server rejects the command. Levels can differ slightly between builds—if something is denied, check your role or run /help on the live server.
Not on this list
- Client-only fun commands (card/dice helpers and similar) that do not run as dedicated-server admin tools.
- Old guide leftovers that no longer ship as real server commands (for example a
/sendpulsestring that only appears in outdated help text). - Mod-added chat commands — those follow each mod’s own setup.
Written for Build 42.19. On another beta or older build, run /help in-game and trust that server’s list if anything differs.