Zombie Apocalypse Admin: Command Your PZ Server Like a Boss

Zombie Apocalypse Admin: Command Your PZ Server Like a Boss

Instant Answer (For the Impatient)

Press T to open chat and type /help for all available admin commands. To use these, you must be logged in as an admin (either as host or with admin rights). For admin access, log in with your admin account or have an existing admin use /setaccesslevel "YourName" admin. For comprehensive server management, see our complete admin guide.

Quick-Start Guide for New Server Admins

So, you've started a Project Zomboid server and want to wield those admin powers ASAP? This section gets you up and running in minutes:

  1. Gain Admin Access: By default, a new server has an "admin" user. If you're hosting, use the username admin and the admin password you set in the server config. If you're already in-game as a regular player, an existing admin can promote you with /setaccesslevel "YourUsername" admin. Having trouble with admin access? Check our admin panel troubleshooting guide.
  2. Open the Admin Panel: You should now see an "Admin" icon in the in-game HUD. Click it to reveal admin options like creative mode, item list, etc.
  3. Use Chat Commands: Press T to open the chat box. To issue a command, start with a forward slash /. For example, to teleport to a player named Casey, type /teleport "YourName" "Casey"
  4. Try Basic Commands: Start with:
    • /players โ€“ Lists all online players
    • /noclip โ€“ Toggles no-clip mode
    • /godmode โ€“ Toggles invincibility
    • /additem "YourName" "Base.Axe" 1 โ€“ Spawns 1 Axe in your inventory
  5. Learn on the Go: Type /help in chat for a full list of commands

Pro Tip: Test commands while a few friends are online but not during a critical gameplay moment. You don't want to accidentally teleport everyone into a death trap or spawn 1000 zombies at the base (unless that's the plan!). For comprehensive server management, check our complete admin guide.

In-game admin help list opened via chat:

List of server commands:
/addalltowhitelist
/additem [username] [module.item] [count]
/adduser [username] [password]
/addusertowhitelist [username]
/addvehicle [vehicletype] [user/x,y,z]
/alarm
/banid [steamID]
/banuser [username] [-ip] [-r "reason"]
/changeoption [optionname] [value]
/chopper
/createhorde [count] [username]
/godmode [username]
/gunshot
/invisible [username] [true/false]
/kickuser [username] [-r "reason"]
/lightning
/noclip
/players
/releasesafehouse
/removeadmin [username]
/save
/sendpulse
/servermsg [message]
/setaccesslevel [username] [accesslevel]
/showoptions
/startrain
/startstorm [duration]
/stoprain
/stopweather
/teleport [username1] [username2]
/teleportto [x,y,z]
/voiceban [username] [true/false]

* Scroll up in chat to view all commands with /help

Becoming an Admin (Setup & Access Levels)

Before you can use any admin command, the game needs to recognize you as an admin. Here's how administration works in PZ:

Default Admin Account

Every server has a built-in admin user. If you're hosting the server, you should set an admin password in the ServerSettings.ini:

AdminPassword=YourChosenPassword

Promoting a Player to Admin

If you already have a character on the server and don't want to rejoin as "admin":

  • Via server console/RCON: grantadmin "YourUsername"
  • From another admin in-game: /setaccesslevel "YourUsername" admin

Access Level Hierarchy

Not everyone needs full admin powers. PZ supports multiple access levels:

Admin

Full control of all commands and features

Moderator

Kick/ban players, limited creative functions

GM (Game Master)

Creative powers for events without server config access

Observer/Overseer

Limited viewing rights with minimal interaction

To assign these levels, use:

/setaccesslevel "PlayerName" <role>

Admin Tip: Use a Secondary Account

Some server owners prefer to keep the admin account separate from their playing character. This hides the [Admin] tag during normal play and preserves the survival experience. Alternatively, stay as admin but practice self-restraint.

Player Management: Whitelisting, Kicks, Bans, and More

Essential Commands

Whitelisting

/adduser "username" "password" /addusertowhitelist "username" /addalltowhitelist

Disciplinary Actions

/kickuser "playername" -r "reason" /banuser "playername" -r "reason" /voiceban "playername" true

Whitelisting New Players

If your server is set to whitelisted (meaning only approved accounts can join), you'll use these commands often:

  • /adduser "username" "password" โ€“ Adds a new user to the whitelist with the given password
  • /addusertowhitelist "username" โ€“ Adds a currently connected user to the whitelist
  • /addalltowhitelist โ€“ Adds all currently online players to the whitelist
  • /removeuserfromwhitelist "username" โ€“ Removes a user from the whitelist

Kick & Ban Users

Sometimes you need to remove troublemakers:

  • /kickuser "playername" -r "Optional reason" โ€“ Immediately disconnects that player
  • /banuser "playername" -r "reason" โ€“ Bans by username. Add -ip to also ban their IP address
  • /banid SteamID โ€“ Bans by the player's SteamID (more foolproof)
  • /unbanuser "playername" โ€“ Removes a username ban
  • /unbanid SteamID โ€“ Removes a SteamID ban

Monitoring and Assisting Players

Helpful commands for day-to-day admin tasks:

  • /players โ€“ Shows list of connected players and their ping
  • /invisible "playername" true โ€“ Makes that player invisible to zombies
  • /voiceban "playername" true โ€“ Mutes their in-game voice (use false to unmute)
  • /releasesafehouse โ€“ Frees up a safehouse (if an inactive player claimed it)

Best Practice

Always include a reason when kicking or banning players using the -r flag. This helps other admins understand why the action was taken and creates a record in case of disputes.

World & Environment Management

One of the joys of being an admin is the ability to bend the game world to your will. Want to play zombie god and drop a horde on that over-confident player? You can.

Teleportation

Move players around the map:

  • /teleport "Player1" "Player2"
  • /teleportto X,Y,Z

Item Spawning

Conjure items out of thin air:

  • /additem "username" "Module.ItemName" [count]
  • Example: /additem "Bob" "Base.Axe"

Zombie Control

Create hordes and events:

  • /createhorde 50 "Charlie"
  • /alarm โ€“ Triggers house alarm
  • /gunshot โ€“ Simulates gunshot noise
  • /chopper โ€“ Triggers helicopter event

Weather Control

Change environmental conditions:

  • /startrain โ€“ Starts rain immediately
  • /stoprain โ€“ Stops the rain
  • /startstorm <duration> โ€“ Starts a storm
  • /lightning โ€“ Strikes lightning in your area

Spawn Vehicles

This is one of the coolest commands available to admins:

/addvehicle "Base.VanAmbulance" "Alice"

Spawns an ambulance near player Alice

/addvehicle "Base.PickUpTruck" "12345,67890,0"

Spawns a truck at specific coordinates

For mod vehicles, you need the exact internal ID. Check the mod's documentation for the correct Base.Whatever ID.

Admin Cheats

Use these commands to make yourself or other players invincible or ghost-like:

  • /godmode โ€“ Makes a player invulnerable. Use with a name to toggle on someone else, or on yourself
  • /invisible โ€“ Zombies won't see you (or target player)
  • /noclip โ€“ Pass through walls and objects

Warning

Be careful with /noclip as it can cause you to go out of map bounds or get stuck if turned off inside a wall. Turn it off only when back in a safe open area.

Admin Story

"I ran a 'Halloween Horde Night' on our server โ€“ as the clock struck midnight in game, I secretly used /createhorde 200 near the town where everyone was held up. They absolutely freaked out (in a good way), barricading and fighting for their lives. I was invisible, watching the chaos unfold like a proud Dungeon Master. It was epic."

Brush Tool & Advanced Editing

For more advanced map editing (available in Build 41.73+):

  1. Enable Debug Mode (start game with -debug flag)
  2. Access the Debug menu as admin
  3. Select "Brush Tool" option
  4. Use it to copy/paste/delete tiles or create fire/smoke/explosions

Warning: There's no undo function, so practice on a test save first!

Server Administration & Technical Controls

Running the world is one thing, but running the server is another. Admin commands let you tweak server configurations on the fly and manage the technical side:

Changing Server Options Live

/changeoption OptionName "Value" is a powerful command for mid-game adjustments:

  • /changeoption SleepAllowed true โ€“ Enable sleeping
  • /changeoption WaterShut 0 โ€“ Turn off water shutoff
  • /showoptions โ€“ View all current settings
  • /reloadoptions โ€“ Apply settings from edited config files

Remote Console (RCON)

RCON allows you to control the server remotely without being in-game:

  1. Enable RCON by adding -enablercon flag when starting the server
  2. Set RCON port and password in the server JSON config
  3. Use an RCON tool like mcrcon to connect and send commands
  4. Type commands without the leading / (e.g., servermsg "Server restarting in 5 minutes")

Broadcasting & Saving

Server Messages

/servermsg "Your message here"

Sends a message to all players

Save & Shutdown

/save /quit

Save world or shut down server

Admin Logging and Stats

Commands for monitoring server performance:

  • /stats [none|file|console|all] <period> โ€“ Controls server stat collection
  • /sendpulse โ€“ Toggles sending performance info to your client

Safety Tip

Always set a secure Admin Password! If you don't, anyone could log in as "admin" with a blank password. Many server hosts force you to set one when configuring.

Backup Strategy

Not a command, but critical advice:

  • Regularly backup your Saves/Multiplayer/<servertest> folder
  • Many hosts do this automatically - check if yours does
  • Be especially cautious with build updates or heavy modding

Advanced Tips: Admin Mods and Automation

Take your admin powers to the next level with these advanced tools and techniques:

Bikinitools & Other Admin Mods

Bikinitools (Server Edition) is a top choice for long-term servers:

  • Custom permissions system beyond vanilla roles
  • Chat overhaul with multiple channels
  • Economy system with currency and player-run shops
  • Extensive logging of all admin actions and chat
  • Admin GUI menus for easier command execution

Other mods: "EasyConfigChucked" lets in-game admins change sandbox settings via UI

Discord Integration

Build 42 enhances Discord integration:

  • Mirror chat between game and Discord
  • Run server commands from Discord channels
  • Send notifications for player join/leave events
  • Trigger in-game events through Discord messages

RCON Automation

Use RCON for scheduled tasks via cron jobs or Windows Task Scheduler:

# Example scheduled restart script
servermsg "Server restarting in 5 minutes"
sleep 240
servermsg "Server restarting in 1 minute!"
sleep 50
servermsg "RESTART NOW!"
sleep 10
save
quit

Perfect for daily restarts or scheduled events

Protecting the World from Admins

It's surprisingly easy to mess something up as admin:

  • Always keep recent backups of your server
  • Consider mods like Valhalla or TileProtect to prevent building destruction
  • If you accidentally kill someone via admin powers, be prepared to compensate
  • Be mindful of server limits - spawning too many items or zombies can cause crashes

Pro Tip

If you run a community server, create a Rules document which includes how admin events work, what's allowed, etc. For example, if you occasionally use godmode to film a server trailer, let players know that's a planned thing so nobody calls you out for "cheating".

Build 41 to Build 42 โ€“ Key Admin/Server Changes

Click to expand patch history
  • Build 41.60 โ€“ 41.70 (2021): Initial release of Build 41 Multiplayer. Introduced the modern admin command set, admin panel revamp, and access levels (admin, moderator, etc.).
  • Build 41.66 (Feb 17, 2022): Major MP improvement patch.
    • Added login queue for servers >32 players
    • Admin Panel Safehouses: Added tool to create custom safehouses/safezones
    • New Commands: /lightning, /startstorm, /stopweather added
    • Command Updates: Renamed /rainstart/rainstop to /startrain/stoprain
    • Access Level: Updated ShowOptions command for non-admins
    • Safehouse permissions improvements
  • Build 41.71 โ€“ 41.73 (Juneโ€“July 2022): Admin quality-of-life improvements.
    • Admin Brush Tool: Added powerful tool in Debug mode for tile editing
    • Admin Icons: Added icons in context menus for admin actions
    • Server Stats: Added elapsed time since server start in stats panel
    • Moderator Buff: Gave moderators access to some admin tools
  • Build 41.78 (Stable Nov 2022): Last of the 41 patches.
    • Fixed map visibility issues for non-admins
    • Safehouse control improvements for admins/moderators
    • Fixed Endurance sync in admin's health tool
    • Fixed /stopweather persisting weather stop permanently
  • Build 42.0 Unstable (Dec 2024): The long-awaited Build 42.
    • New crafting, animals, maps - mostly non-admin content
    • Discord Integration Overhaul: Improved chat relay between game and Discord
    • Discord Command Hooks: Added ability to execute custom Lua from Discord
    • Security improvements: More actions moved to server-side
    • New Mods Manager UI in-game
  • Build 42.5 and 42.6 (Early 2025): Ongoing unstable patches focusing on bug fixes and stability improvements. No major admin command additions.

Future outlook: The devs have hinted at NPCs in future builds (Build 43+). When NPCs arrive, admins might get new controls for spawning and managing NPCs, plus further integration with web services.

Conclusion: Thriving as an Admin

Running a Project Zomboid server is a bit like being the zombie apocalypse dungeon master. You're not just a player; you're the curator of everyone's experience. Some days, you're using your powers to quietly fix problems โ€“ like a janitor cleaning up glitches and banning the occasional bad apple. Other days, you're essentially a game god, dropping surprises and making the world more dynamic and fun.

Admin Story

"Early on, I hosted a small server for college friends. None of us had made it past two weeks in-game, and we finally had a solid base. One evening, I noticed the tension was dipping โ€“ everyone was too safe, a bit bored. So, I put on my 'admin hat' and without a word, I spawned a massive horde just outside our fort. Then I hit /servermsg 'A scream pierces the night...' My friends were like 'WHAT?! Was that an event?!' โ€“ I just played along, 'I... I think it's the helicopter or something?!'

It turned into one of the most memorable gaming nights we've ever had. We barely survived, the base was a wreck, and afterwards I came clean that I orchestrated it. They weren't even mad โ€“ it was an adrenaline rush. From then on, they begged me to run more custom events."

Good adminning is an art. Use the commands not just to fix issues but to create stories. However, always communicate and be fair โ€“ don't abuse powers in competitive contexts, and always ensure players are having fun, not just you.

Project Zomboid's depth as a survival game only grows with a talented admin at the helm of a multiplayer server. With this toolbox of commands, tips, and tools, you're well-equipped to handle crises and craft epic scenarios. Whether you're teleporting a newbie out of a jam, or running a server-wide last stand event, you've got the knowledge to do it.

Happy governing of the zombie apocalypse, and remember: Aim for the head, and keep that banhammer ready!