Below is a list of Project Zomboid admin commands that can be used via in-game chat (prefixed with a slash) or through the console on our Project Zomboid server hosting's control panel.
Some commands are case-sensitive.
To view all commands in-game, use /help
. To view help for a specific command, use /help command
.
Command | Description |
---|---|
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 |
adduser | Use this command to add a new user to a whitelisted server. Use: /adduser "username" "password" |
addvehicle | Spawn a vehicle. Use: /addvehicle "script" "user or x,y,z", ex /addvehicle "Base.VanAmbulance" "rj" |
addxp | Give XP to a player. Use /addxp "playername" perkname=xp. Example /addxp "rj" Woodwork=2 |
alarm | Sound a building alarm at the Admin's position. (Must be in a room) |
banid | Ban a SteamID. Use /banid SteamID |
banuser | 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" |
changeoption | Change a server option. Use: /changeoption optionName "newValue" |
checkModsNeedUpdate | Indicates whether a mod has been updated. Writes answer to log file |
chopper | Place a helicopter event on a random player |
clear | Clear the server console when used. |
createhorde | Spawn a horde near a player. Use : /createhorde count "username". Example /createhorde 150 "rj" |
godmod | Make a player invincible. If no username is set, then you will become invincible yourself. Use: /godmode "username" -value |
invisible | Make a player invisible to zombies. Use: /invisible "username" -value |
kick | Kick a user. Add a -r "reason" to specify a reason. Use: /kickuser "username" -r "reason" |
log | Set log level. Use /log "type" level. |
noclip | Makes a player pass through walls. Use: /noclip "username" -value |
players | List all connected players |
quit | Save and quit the server |
reloadlua | Reload a Lua script. Use /reloadlua "filename" |
save | Save the current world |
servermsg | Broadcast a message. Use: /servermsg "Your message" |
setaccesslevel | Set player access level. Use /setaccesslevel "username" "level" |
teleport | Teleport to a player or between two. Use /teleport "user" or /teleport "user1" "user2" |
teleportto | Teleport to coordinates. Use /teleportto x,y,z |
unbanuser | Unban a player. Use /unbanuser "username" |