Use unlock30 Claim 30% Off Your Next Server

Admin Command list for Project Zomboid

Last Update 2025-01-08 17:57:07

Project Zomboid Admin Command List

Project Zomboid has several admin commands that can be used through the chat as a server admin on multiplayer servers. To become admin, you can check our guide here: How to become an admin.

The following commands can be executed either on the remote console window or in-game (preceded by a forward slash when used in-game) provided the user has admin status. Some things are case-sensitive (ex: Base.Axe works, but not base.axe).

A /help command can be used to display a full list of commands, or /help command to display the help tooltip for this command.

CommandDescription
additemGive 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
adduserUse this command to add a new user to a whitelisted server. Use: /adduser "username" "password"
addvehicleSpawn a vehicle. Use: /addvehicle "script" "user or x,y,z", ex /addvehicle "Base.VanAmbulance" "rj"
addxpGive XP to a player. Use /addxp "playername" perkname=xp. Example /addxp "rj" Woodwork=2
alarmSound a building alarm at the Admin's position. (Must be in a room)
banidBan a SteamID. Use /banid SteamID
banuserBan 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"
changeoptionChange a server option. Use: /changeoption optionName "newValue"
checkModsNeedUpdateIndicates whether a mod has been updated. Writes answer to log file
chopperPlace a helicopter event on a random player
clearClear the server console when used.
createhordeSpawn a horde near a player. Use: /createhorde count "username". Example /createhorde 150 "rj"
godmodMake a player invincible. If no username is set, then you will become invincible yourself. Use: /godmode "username" -value, ex /godmode "rj" -true (could be -false)
gunshotPlace a gunshot sound on a random player
helpHelp
invisibleMake a player invisible to zombies. If no username is set then you will become invisible yourself. Use: /invisible "username" -value, ex /invisible "rj" -true (could be -false)
kickKick a user. Add a -r "reason" to specify a reason for the kick. Use: /kickuser "username" -r "reason"
lightningUse /lightning "username", username is optional except from the server console
logSet log level. Use /log "type" level. "type" can be: "General", "Network", "Multiplayer" ... "Vehicle" or "Checksum". "level" can be "Trace", "Debug", "General", "Warning", "Error"
noclipMakes a player pass through walls and structures. Toggles with no value. Use: /noclip "username" -value. Example /noclip "rj" -true (could be -false)
playersList all connected players
quitSave and quit the server
releasesafehouseRelease a safehouse you own. Use /releasesafehouse
reloadluaReload a Lua script on the server. Use /reloadlua "filename"
reloadoptionsReload server options (ServerOptions.ini) and send to clients
removeuserfromwhitelistRemove a user from the whitelist. Use: /removeuserfromwhitelist "username"
removezombiesUI_ServerOptionDesc_RemoveZombies
replayRecord and play replay for moving player. Use /replay "playername" -record/-play/-stop filename. Example: /replay user1 -record stadion.bin
saveSave the current world
servermsgBroadcast a message to all connected players. Use: /servermsg "My Message"
setaccesslevelSet access level of a player. Current levels: Admin, Moderator, Overseer, GM, Observer. Use /setaccesslevel "username" "accesslevel". Example /setaccesslevel "rj" "moderator"
showoptionsShow the list of current server options and values.
startrainStarts raining on the server. Use /startrain "intensity", optional intensity is from 1 to 100
startstormStarts a storm on the server. Use /startstorm "duration", optional duration is in game hours
statsSet and clear server statistics. Use /stats none/file/console/all period. Example /stats file 10
stoprainStop raining on the server
stopweatherStop weather on the server
teleportTeleport 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"
teleporttoTeleport to coordinates. Use /teleportto x,y,z. Example /teleportto 10000,11000,0
thunderUse /thunder "username", username is optional except from the server console
unbanidUnban a SteamID. Use /unbanid SteamID
unbanuserUnban a player. Use /unbanuser "username"
voicebanBlock voice from user "username". Use /voiceban "username" -value. Example /voiceban "rj" -true (could be -false)

If you have any questions or need assistance, feel free to reach out to our customer care agents through our live chat or email at [email protected]

 

Happy gaming!