Project Zomboid admin commands for server owners

Updated · Nordyx

Make yourself admin on a Project Zomboid server and use the commands you need most: access levels, kick and ban, whitelist accounts, messages, saving and events.

Project Zomboid servers are run with commands. In game you type them in chat with a slash in front, as an admin; in the server console you type the same command without the slash. This guide covers getting admin rights and the commands owners use most. It follows the current stable game, Build 42.

The first admin account

The first time a server starts, it asks for a password for a built-in account called admin. Log in to the server with the username admin and that password and you have full rights. It is usually easier to play on your own account and give it admin rights from there:

/setaccesslevel "YourName" "admin"

Put names in double quotes, especially names with spaces. Some things are case-sensitive, such as item names: Base.Axe works, base.axe doesn't.

Access levels

setaccesslevel takes one of: admin, moderator, gm, observer, priority or user (a normal player). Give trusted helpers moderator rather than full admin. To remove someone's rights, set them back to user.

Managing players

CommandWhat it does
/playersList everyone online.
/kickuser "Name" -r "reason"Kick a player; the reason is optional.
/banuser "Name" -ip -r "griefing"Ban a player. -ip also bans their IP address.
/unbanuser "Name"Lift a ban.
/banid 7656… / /unbanidBan or unban by SteamID.
/voiceban "Name" -trueBlock someone's voice chat; -false undoes it.
/setpassword "Name" "newpass"Reset a player's password when they forget it.

A whitelist server

With Open=false in the server settings, only accounts you create can join:

/adduser "NewPlayer" "theirpassword"
/removeuserfromwhitelist "OldPlayer"

Give each player their name and password and ask them to keep it. DropOffWhiteListAfterDeath=true removes an account when the character dies, for servers where death is final.

Messages and saving

/servermsg "Restart in 10 minutes, find somewhere safe"
/save
/quit

servermsg sends a message to everyone online. save saves the world now, and quit saves and shuts the server down. Use save before restarting or changing mods.

Admin tools

CommandWhat it does
/teleport "Name"Go to a player. /teleport "A" "B" moves player A to player B.
/teleportto 10000,11000,0Go to map coordinates (x,y,floor).
/godmod "Name" -trueMake a player unable to die.
/invisible "Name" -trueZombies ignore the player.
/noclip "Name" -trueWalk through walls.
/additem "Name" Base.Axe 1Give an item. Leave out the name to give it to yourself.
/addxp "Name" Woodwork=2Give skill XP, for example to make up for a death caused by a bug.

Use these to fix problems, not to play: other players notice.

Events for your group

/createhorde 100 "Name"
/chopper
/gunshot
/startrain 50
/stoprain

createhorde spawns zombies near a player, chopper sends the helicopter over a random player and gunshot plays a distant shot that draws zombies. startrain takes an optional strength from 1 to 100; startstorm and stopweather also exist.

Server options from chat

/showoptions
/changeoption PVP "false"
/reloadoptions

showoptions lists the current server settings, changeoption changes one, and reloadoptions reloads the .ini file after you've edited it. /help lists every command, and /help "command" explains one.

Source for the settings and commands: the official Project Zomboid wiki. Game updates can change them; tell us on Discord if something here is out of date.

Want a Project Zomboid server?

New Project Zomboid servers are paused for now. Tell us on Discord if you want one, so we know when to bring them back.

More Project Zomboid guides

Only the cookies we need

We use cookies to keep you signed in and to protect forms. No analytics, no ads and no tracking, so there's nothing to accept.

Cookies on Nordyx.net

Everything this site stores in your browser. It's all strictly necessary, so the law doesn't ask for your consent and there's nothing to switch on or off.

Strictly necessary

Always on

Signing in, checkout and forms don't work without these. You can block or delete them in your browser settings.

  • paymenter_sessionNordyx
    Keeps you signed in and remembers choices during your visit, such as the country prices are shown for.Every page · 2 hours after your last page view
  • XSRF-TOKENNordyx
    Protects forms from being sent by another website on your behalf.Every page · 2 hours after your last page view
  • remember_web_…Nordyx
    Keeps you signed in on this device.Only if you tick "Remember me" · 400 days, or until you sign out
  • nx-cookies-okNordyx (browser storage, not a cookie)
    Remembers that you closed the cookie notice.Every page · Until you clear your browser data
  • Cloudflare TurnstileCloudflare
    Checks that you are a person, not a bot, to stop spam sign-ups.Sign-in and sign-up · Set by Cloudflare
  • PayPalPayPal
    Lets you pay and helps PayPal prevent fraud.Paying an invoice · Set by PayPal, see its cookie statement

Analytics

Not used

No visitor statistics or measurement. If we ever add any, we'll ask you first, and you can change your answer here.

Advertising and social media

Not used

No ads, no tracking pixels, no "like" buttons. If we ever add any, we'll ask you first, and you can change your answer here.

Updated 4 December 2026 · Privacy Policy, section 11