A Project Zomboid dedicated server reads two files: servertest.ini (the server box: name, ports, password, PvP, RCON, mods) and servertest_SandboxVars.lua (the world: zombie population and lore, loot rarity, XP, weather). Here's what each setting does in plain English, with defaults read off real running servers rather than a wiki, and the gotchas that trip people up: the zombie population scale is inverted, Build 42 replaced loot rarity tiers with a 0–4 multiplier and renamed every loot key, and Build 42 threw out Build 41's anti-cheat settings entirely — so most of the anti-cheat advice online applies to keys your server doesn't have.
PublicName=My PZ Server MaxPlayers=32 (ceiling 100 on B41, 254 on B42) PVP=On Open=On DefaultPort=16261 ; sandbox rules live next door in servertest_SandboxVars.lua
servertest.ini + servertest_SandboxVars.lua: correct Lua tables, the right VERSION header, and a Build 41 / Build 42 toggle that follows the differences for you.Name, password, ports, and visibility: the file that controls the server box, not the game world.
| Setting | What it does | Default | Recommended |
|---|---|---|---|
| Public | The name shown in the in-game public server browser. Change it or you're one of a thousand identical "My PZ Server" entries. | My PZ Server | your name |
| Password | Required to join. Empty by default = open server. Set one to make it private (players still join via the browser or direct connect with the password). | (empty) | set one |
| Default | UDP port players connect on. Forward it on your router and open it on the firewall. | 16261 | 16261 |
| UDP | Secondary/direct-connect UDP port, one above the game port. Forward this one too. | 16262 | 16262 |
| Max | Player slot cap, and it excludes admins — you can always get into your own full server. Default 32 on both builds. The ceiling differs: 100 on Build 41, 254 on Build 42 (42.20.3 raised it). Before you chase 254, read the warning the game itself prints above this setting: counts above 32 risk poor map streaming and desync. Each player adds simulation load, so set it to what your box can actually run. | 32 (ceiling 100 on B41, 254 on B42) | up to 32 |
| Open | On by default: anyone with the password can join. Turn off to require accounts be whitelisted before they can connect. | On | On |
| Public | Off by default. Turn on to advertise the server in the in-game public browser; leave off for a friends-only server reached by direct connect. | Off | Off |
| PVP | On by default: players can damage each other. Turn off for a pure PvE/co-op server. (This is the master PvP switch; the safety dials are in PvP & Safety.) | On | Off (co-op) |
| Pause | On by default: in-game time pauses when no one is online, so the world doesn't decay while nobody's playing. | On | On |
| Public | The blurb under your server name in the in-game browser. Ships empty, so most servers are a name and nothing else — free space to say what yours actually is: rates, mods, PvP or not. For a line break the game wants <LINE>, not a real newline. | (empty) | write one |
| Max | Caps how many network packets the server processes from each client per second. Lowering it throttles a client flooding the server; too low and normal play stutters. | 300 | 300 |
| UPn | Asks a UPnP-capable router to open the ports for you. On by default. It is unreliable and many routers ignore or mis-map it — forward the ports by hand and treat this as a fallback, not a plan. | On | manual forward |
| server_browser_announced_ip | Forces the IP the server advertises to the public browser. Empty by default and should stay that way unless you are behind NAT or on a box with several interfaces and the browser is announcing the wrong one. | (empty) | (empty) |
DefaultPort (16261) and UDPPort (16262). RCON uses a third, separate TCP port. Open all the ones you actually use.Remote console and the mod/Workshop load lists: the two lists must line up or mods silently fail.
| Setting | What it does | Default | Recommended |
|---|---|---|---|
| RCON | TCP port for the remote console most management tools and restart scripts use. Forward it separately from the game ports. | 27015 | 27015 |
| RCON | Empty by default. Set one before enabling any tool that connects over RCON: an empty password effectively means no remote access at all. | (empty) | set one |
| Map | Map load order, semicolon-separated. Map mods usually want their map name added here, before the base map. | Muldraugh, KY | Muldraugh, KY |
| Mods | Mod load IDs (not Workshop file IDs), semicolon-separated. This list and WorkshopItems must line up for mods to actually load. | (empty) | — |
| Workshop | Steam Workshop file IDs to download, semicolon-separated. Each maps to one or more mod IDs in the Mods line. | (empty) | — |
| Perk | Writes every change in a player's skill levels to PerkLog.txt. On by default and worth keeping — the cheapest way to spot a levelled character that did not earn it. | On | On |
| Client | Semicolon-separated list of commands that are not written to the client command log. The stock value filters vehicle spam while keeping the part-install commands that matter. Leave it unless your log is drowning. | -vehicle.*;+vehicle.damageWindow;+vehicle.fixPart;+vehicle.installPart;+vehicle.uninstallPart | default |
| Client | Semicolon-separated list of player actions that are written to ClientActionLog.txt. Stock tracks entering/exiting vehicles and taking engine parts. | ISEnterVehicle;ISExitVehicle;ISTakeEngineParts; | default |
| Multiplayer | Seconds between multiplayer statistics samples. Set it to 0 to disable statistics entirely. | 1 | 1 |
| Reset | ⛔ Do not set this by hand. The server generates it and uses it to decide whether the world has undergone a soft reset. Stamping a fixed value over a live world forces every player to create a new character. Leave whatever the server wrote. | 2545395 | leave alone |
| Server | ⛔ Generated, same as ResetID. It is how the game tells whether a character came from this server or another one. Copying it between servers, or pasting a fixed value, corrupts that check. | 295224514 | leave alone |
WorkshopItems is the file ID Steam downloads; Mods is the internal mod ID the game loads. They are different numbers and a mod needs both lines filled, or it downloads but never activates.The PvP safety-toggle system and damage modifiers. PvP melee is heavily nerfed vs PvE by default.
| Setting | What it does | Default | Recommended |
|---|---|---|---|
| Safety | Players individually toggle PvP on/off; you can only hurt someone if at least one of you is in PvP mode. On by default. Turn off for free-for-all while PvP is enabled. | On | On |
| PVP | Damage multiplier for player-vs-player melee. Default 30: PvP melee is deliberately reduced far below PvE so fights aren't one-hit. | 30 | 30 |
| PVP | Damage multiplier for player-vs-player ranged attacks. Default 50. | 50 | 50 |
| Show | Puts a skull icon over the head of anyone who has entered PvP mode. On by default — and it's the thing that makes the safety system readable instead of guesswork. Turning it off means you can't tell who can hurt you. | On | On |
| Safety | Seconds it takes to enter or leave PvP mode. Default 2. This delay is what stops someone flicking PvP on mid-swing. | 2 | 2 |
| Safety | Seconds before a player can toggle PvP mode again after just doing so. Default 3. Stops the toggle being spammed to dodge damage. | 3 | 3 |
| PVP | Lets a player keep swinging while staggered by another player's hit. Off by default. On, fights become far more chaotic and favour whoever swings first. | Off | Off |
| Player | Whether running into another player knocks them over. Off by default. On, it's a grief tool — shove someone into a horde and walk away. | Off | Off |
| PVPLog | PvP events are logged into admin chat as they happen. On by default — this is how you settle “he killed me first” without going and reading a file. | On | On |
| PVPLog | PvP events are written to a log file. On by default. Keep it: admin chat scrolls away, the file does not. | On | On |
| Safety | Seconds the safety system keeps holding after a player disconnects, 0 to 60. This is the combat-logging guard — drop it and someone can alt-F4 out of a fight and be safe immediately. | 60 | 60 |
| Knocked | Lets players be knocked down. The game's own note is a warning rather than a description: “WIP: Activating this setting may cause visual desynchronization of players.” ⚠ Defaults differ by build — On for Build 41, Off for Build 42. | On (B41) / Off (B42) | Off |
How many zombies and how fast they move. Read the gotcha below before touching the population field.
| Setting | What it does | Default | Recommended |
|---|---|---|---|
| Zombies | Coarse population step on an INVERTED legacy scale: 1 = Insane (most), 5 = None. Ships at 4. Modern PZ drives real population from the multiplier below: treat this as approximate. | 4 (Low) | leave at 4 |
| Population | Fine multiplier on the overall population, 0–4. This is the real population dial in modern PZ: use it for everything between the coarse steps. Nests under ZombieConfig. | 1.0 | 0.6–1.0 |
| Distribution | Where zombies cluster. 1 = Urban Focused (denser in towns); 2 = Uniform spreads them evenly across the map. | 1 (Urban) | 1 |
| Speed | How fast zombies move. 1 = Sprinters (the hard one), 2 = Fast Shamblers (default), 3 = Shamblers (classic slow), 4 = Random. | 2 (Fast Shamblers) | 3 (Shamblers) |
Zombies field counts down, 1 is the MOST zombies (Insane), 5 is None, and it's a legacy/back-compat value. To actually thin out or pack the horde, set PopulationMultiplier (0–4); leave Zombies at its default and tune the multiplier instead.The deep zombie ruleset, strength, infection, senses, nested under ZombieLore. This is where "how hard is it" lives.
| Setting | What it does | Default | Recommended |
|---|---|---|---|
| Strength | How hard zombies hit and how easily they pull you down. 1 = Superhuman, 2 = Normal, 3 = Weak. | 2 (Normal) | 2 |
| Toughness | How much punishment a zombie takes before it drops. 1 = Tough, 2 = Normal, 3 = Fragile. | 2 (Normal) | 2 |
| Cognition | How smart zombies are. 3 = Basic Navigation (classic Romero shambler); 1 = Navigate + Use Doors makes them genuinely cunning. | 3 (Basic Navigation) | 3 |
| Transmission | How the Knox infection spreads. 1 = Blood + Saliva (default). "Everyone's Infected" makes every character turn on death regardless of bites. | 1 (Blood + Saliva) | 1 |
| Mortality | How long after a bite until you die. Apocalypse default = 2–3 Days. "Never" effectively disables death-from-bite. | 5 (2–3 Days) | 5 |
| Reanimate | How long after death a corpse rises as a zombie. Faster reanimation makes clearing bodies urgent. | 3 (0–1 Minutes) | 3 |
Speed (in Population) sets the movement type, but Strength, Toughness, and Cognition here decide whether a horde is survivable. Dialing Speed to Shamblers while leaving everything else Normal is the most common "make it less brutal" tweak.Loot scarcity and skill-gain rate. Build 41 and Build 42 do not just use different numbers here — they use different KINDS of setting, under different key names. Read the tip before you copy a value from anywhere.
| Setting | What it does | Default | Recommended |
|---|---|---|---|
| Food | How much food spawns. Build 41 uses this key as a rarity tier. Build 42 renamed it to FoodLootNew and turned it into a 0–4 multiplier (default 0.8 — the game describes it as "any food that can rot or spoil"). Writing FoodLoot to a Build 42 server does nothing at all. | B41 tier · B42 <code>FoodLootNew</code> = 0.8 | 0.8 on B42 |
| Weapon | Melee and firearms. Build 41 uses this key as a rarity tier. Build 42 splits and renames it: WeaponLootNew (0.6) covers weapons that are not tools in another category, and RangedWeaponLootNew (1.2) covers ranged weapons and their attachments — note that one is ABOVE 1.0, i.e. more common than base, not a rare prize. | B41 tier · B42 <code>WeaponLootNew</code> = 0.6 | 0.6 on B42 |
| Ammo | Loose ammo, boxes and magazines. Build 41 uses this key as a rarity tier; Build 42 renamed it AmmoLootNew, a 0–4 multiplier defaulting to 0.6. Pair a low value with common weapons for a "guns but no ammo" feel. | B41 tier · B42 <code>AmmoLootNew</code> = 0.6 | 0.6 on B42 |
| Medical | Medicine, bandages and first aid tools. Build 41 uses this key as a rarity tier; Build 42 renamed it MedicalLootNew, a 0–4 multiplier defaulting to 0.6. Drop it for a server where injuries are dangerous to treat. | B41 tier · B42 <code>MedicalLootNew</code> = 0.6 | 0.6 on B42 |
| Mechanics | Vehicle parts and the tools needed to install them. Build 41 uses this key as a rarity tier; Build 42 renamed it MechanicsLootNew, a 0–4 multiplier defaulting to 0.6. Affects how easily players keep vehicles running. | B41 tier · B42 <code>MechanicsLootNew</code> = 0.6 | 0.6 on B42 |
| Xp | Global skill XP rate, Build 41 only. 1.0 = vanilla; bump to 2.0–5.0 for faster progression. This key does not exist in Build 42 — B42 moved skill gain into a MultiplierConfig table with a global value, a global on/off toggle, and one entry per skill, so a single global dial no longer covers it. | 1.0 (B41 only) | 1.0–2.0 on B41; N/A on B42 |
FoodLootNew, not FoodLoot — and the list grew from 10 categories to 21 (clothing, containers, keys, cookware, media, tools and more got their own dials). Defaults are NOT uniform: most sit at 0.6, food and 'other' at 0.8, keys at 0.4, and ranged weapons at 1.2. That matters more than it sounds: a Build 42 server handed Build 41 loot keys ignores every one of them silently, which looks exactly like the settings not working. Set the build toggle in the generator first. (B42 values here are read from a servertest_SandboxVars.lua generated by a real 42.20.3 server; the B41 tier defaults are not re-verified.)Day length, climate, and the utility shut-off timers that turn a sleepy town into a survival crunch.
| Setting | What it does | Default | Recommended |
|---|---|---|---|
| Day | Real-world time per in-game day. Default 1 Hour, 30 Minutes on Build 42 (1 Hour on Build 41). Shorter makes days fly by; longer suits slower, more deliberate servers. | 3 (1 Hour) | 3 |
| Temperature | Overall climate. Default 3 = Normal. Colder settings make winter survival much harder. | 3 (Normal) | 3 |
| Water | When the mains water cuts out. B41 default 2 = 0–30 days (randomised). After this you're on rain collectors and stored water. | 2 (0–30 Days) | 2 |
| Elec | When the electrical grid cuts out. B41 default 2 = 0–30 days (randomised). After this you need generators. | 2 (0–30 Days) | 2 |
Whether and how fast cleared areas refill with zombies, nested under ZombieConfig. The single most-important long-server dial.
| Setting | What it does | Default | Recommended |
|---|---|---|---|
| Respawn | In-game hours before zombies can respawn in a cell. 0 disables respawn. Build 42 default is 0 (no respawn). Build 41 default is 72. | 72 | 0 (long server) |
| Respawn | Fraction of the original population that respawns each cycle. Default 0.1 (10%). Lower it for a slow trickle back. | 0.1 | 0.1 |
| Respawn | How many hours an area must go unseen by players before zombies can respawn there. Default 16. Only matters when respawning is enabled. | 16 | 16 |
RespawnHours to 0 rather than fighting the same horde forever. Leave it at 72 for an endlessly-dangerous world.Player base claims and a couple of survival-rhythm switches. The whole safehouse system is off until you turn it on.
| Setting | What it does | Default | Recommended |
|---|---|---|---|
| Player | Let players claim safehouses. Off by default: this is the master switch for the entire safehouse system. | Off | On (group servers) |
| Safehouse | Let non-members enter a claimed safehouse uninvited. On by default: turn off to lock outsiders out entirely. | On | Off |
| Safe | Real-world hours of not visiting before a player is dropped from a safehouse. Default 144 (6 days). | 144 | 144 |
| Hours | In-game hours before looted world containers refill. Default 0 = never (the usual long-server choice). Separate from sandbox loot rarity. | 0 | 0 |
| Sleep | Let players sleep. Off by default on MP: sleeping fast-forwards time, which is awkward with others online. | Off | Off |
| Sleep | Players get tired and need to sleep. Off by default — and the game notes it is ignored entirely if SleepAllowed is off, which it is by default. So on a stock server this setting does nothing until you turn sleeping on first. | Off | Off |
| Admin | Only admins can claim safehouses. Off by default. Useful if you want to hand out bases deliberately rather than let people claim the good houses first. | Off | Off |
| Safehouse | Allow fire to damage safehouses. On by default — a claimed base is not fireproof, and on a PvP server that is the obvious way around every other protection here. | On | Off (PvP) |
| Safehouse | Allow non-members to take items from safehouses. On by default, which surprises people who assume claiming a house locks the contents. Turn it off if a claim is supposed to mean anything. | On | Off |
| Safehouse | Players respawn in a safehouse they were a member of before dying. Off by default. The single biggest quality-of-life switch for a group server — without it, death means the long walk back. | Off | On (co-op) |
| Safehouse | In-game days a player must survive before they can claim a safehouse. Default 0 = claim immediately. Raise it if you want people to earn a base rather than grab one on day one. | 0 | 0 |
| Safehouse | Whether players can claim non-residential buildings — shops, warehouses, the fire station. Off by default, so by default only houses are claimable. | Off | Off |
| Safehouse | Items will not respawn in buildings claimed as a safehouse. On by default. The safehouse twin of ConstructionPreventsLootRespawn — both exist so a base doesn't quietly refill itself with free loot. | On | On |
| Disable | Safehouse behaves like a normal house while an owner is online, so it's only protected when they're away. Off by default. Build 42's version of B41's DisableSafehouseWhenPlayerConnected — note it keys off the owner, not any member, so a house full of members stays locked while the owner is offline. | Off | Off |
| Max | Ceiling on an admin-created safezone (the /addarea no-PvP regions, separate from player safehouses). The game documents the bounds and nothing else — "Min: 0 Max: 2147483647 Default: 20000" — so it does not say whether 20000 is an area or a side length, and we're not going to guess for you. Almost nobody needs to move it; it exists to stop an admin fat-fingering a safezone over half the map. | 20000 | leave |
| War B42 | Master switch for the three war settings below, and the game documents nothing about it. Nearly every line in servertest.ini ships with a comment; this one ships bare. So here is only what can be shown: it's a true/false key, it's off on a real 42.20.3 server, and its three children — which are documented — describe a timed event with a limit on how many hits a safehouse survives. The game's own text also carries a tooltip for WarAcceptTime — "Time in seconds to accept or refuse a war" — a key that never gets written to servertest.ini, so there is an accept-or-refuse step the ini never mentions. Test it somewhere disposable before turning it on where people have built. | Off | Off |
| War | Seconds between a war being declared and it starting. Default 600 (ten minutes). The floor is 60, so you can't make it instant. | 600 | 600 |
| War | How long a war lasts, in seconds. Default 3600 (one hour). It's a timed window rather than a permanent state, which is the point of the feature. | 3600 | 3600 |
| War | The safehouse's durability during a war, not a shield around it — how many hits it absorbs before it is lost, so higher lasts longer. Default 3. | 3 | 3 |
| Kick | Anti-speedhack that kicks players moving faster than should be possible. Off by default, and the game's own file says "May be buggy -- use with caution." This key does not exist in Build 42 — if you're on the current build, it isn't your problem and adding the line does nothing. | Off | Off (buggy) |
| Safehouse | On by default. ⚠ Undocumented by the game — presumably stops name disguises working inside a safehouse. | On | On |
| Sneak | On by default. ⚠ Undocumented by the game — reads as sneak hiding you from other players rather than from zombies. | On | On |
SafehouseAllowLoot and SafehouseAllowFire are both on, so anyone can walk in, empty your containers, and burn the place down — the claim only stops a rival claim. If a safehouse is meant to mean something on your server, turn both off and turn SafehouseAllowRespawn on. And the whole system stays inert until PlayerSafehouse is on.Player-run groups. Unlike safehouses, this system is on by default.
| Setting | What it does | Default | Recommended |
|---|---|---|---|
| Faction | Players can create factions. On by default — the opposite of the safehouse system, which is off until you enable it. | On | On |
| Faction | In-game days a player must survive before they can create a faction. Default 0 = immediately. | 0 | 0 |
| Faction | Members needed before the faction owner can create a group tag. Default 1, meaning a solo player can tag a one-person faction. Raise it if you want tags to mean an actual group. | 1 | 2–3 |
Build 42 threw out Build 41's anti-cheat entirely, and almost every guide online is still written for B41. B41 had 24 booleans named AntiCheatProtectionType1–24; B42 replaced them with the ten named settings below. Paste a B41 anti-cheat block into a B42 file and nothing happens — no error, no effect.
⭐ The numbers are Ban / Kick / Log / Off — and the game tells you nowhere a customer can see. servertest.ini writes AntiCheatSpeed=2 under a comment describing the opposite of what the number does, with no range and no legend, which is why most guides either skip these or guess. The legend is in the shipped bytecode: zombie/network/anticheats/AntiCheat$Policy is a set of static final int constants reading Ban=1, Kick=2, Log=3, Disabled=4, and ServerOptions declares every AntiCheat* option against that type.
✅ The cross-check: the shipped defaults decode cleanly against it. The eight checks that false-positive least ship 2 (Kick); the two that false-positive most — No-Clip and Packet Exception — ship 4 (Disabled). The developers already switched off the two that bite. ⚠ The "1 ban / 2 kick / 3 log / 4 mute" list you'll find on forums is a guess — lifted from the BadWordPolicy setting a few lines above in the same file — and its fourth value is wrong.
| Setting | What it does (the game's own words) | Vanilla | Means |
|---|---|---|---|
| AntiCheat | "Disables safety system anti-cheat protection." Guards the PvP safety toggle, so it has nothing to check on a PvE server. | 2 | Kick |
| AntiCheat | "Disables character speed anti-cheat protection." Speed checks and rubber-banding are close relatives — if one player on a bad line keeps getting dropped and nobody else does, look here first. | 2 | Kick |
| AntiCheat | "Disables character no-clipping anti-cheat protection." Vanilla ships 4 here, not 2 — one of only two checks the game itself treats differently out of the box. | 4 | Off |
| AntiCheat | "Disables character hit anti-cheat protection." Combat mods that add reach or new attack animations are the usual reason this starts firing. | 2 | Kick |
| AntiCheat | "Disables packet exception checks anti-cheat protection." The other check vanilla ships at 4. If you run heavy mods and see "malformed packet" in your logs, this is the setting behind it. | 4 | Off |
| AntiCheat | "Disables player permissions anti-cheat protection." Admin-tool and moderation mods that hand out access levels are what tends to argue with this one. | 2 | Kick |
| AntiCheat | "Disables player XP anti-cheat protection." Worth knowing about before installing a mod that grants XP in bulk, or running a very high XP multiplier. | 2 | Kick |
| AntiCheat | "Disables safehouse anti-cheat protection." ⚠ Note the capital H — the key really is AntiCheatSafeHouse while every other safehouse setting in the file is Safehouse. Typo it and the line does nothing. | 2 | Kick |
| AntiCheat | "Disables player anti-cheat protection." That is genuinely all the game says about it. | 2 | Kick |
| AntiCheat | "Disables checksum anti-cheat protection." Related to but not the same as DoLuaChecksum, which is the one that drops clients whose game files don't match — that's the setting people usually mean when they say "checksum kicked me". | 2 | Kick |
4 rather than 2, and they're the two that fire on ordinary lag and on modded content. Change one at a time so you know which one it was.Bridges in-game chat to a Discord channel. The channel keys changed between builds and this catches people out: Build 41 has one DiscordChannel plus DiscordChannelID; Build 42 splits it into three. Copy a B41 ini onto a B42 server and the bridge silently does nothing, because the keys it looks for aren't there.
| Setting | What it does | Default | Recommended |
|---|---|---|---|
| Discord | "Enables global text chat integration with a Discord channel." Off by default. Nothing else here does anything until it's on and a token is in the file. | Off | your call |
| Discord | The Discord bot access token. 🔑 This is a credential. Anyone holding it can act as your bot, so keep it out of anything you paste into a forum, a support ticket, or a config-sharing link — including our own generator, which deliberately has no field for it. Add the line by hand on the server and treat that file as a secret. If it leaks, regenerate it in the Discord Developer Portal rather than trying to clean it up. | (empty) | by hand only |
| Discord | "The Discord chat channel name." Carries global in-game chat both ways. Channel name, not the ID, and no #. | (empty) | — |
| Discord | "The Discord logs channel name." Point this somewhere players can't read — server logs name who connected from where. | (empty) | admin-only |
| Discord | "The Discord commands channel name." Anyone who can post here can run server commands, so lock the channel's permissions down before you fill this in. New in Build 42 — B41 had no command channel. | (empty) | admin-only |
| Discord | Build 41's single channel name — chat and logs together. Replaced by the three keys above. | (empty) | — |
| Discord | Build 41 also wants the numeric channel ID. Developer Mode on in Discord → right-click the channel → Copy ID. Setting one of the two B41 keys and not the other is the usual reason a B41 bridge stays silent. | (empty) | — |
| Webhook | A Slack incoming-webhook URL, despite living in the Discord block. ⛔ Treat it like a credential: anyone with the URL can post into that channel, so never paste a filled-in config anywhere public. | (empty) | (empty) |
The game's built-in proximity voice. All four keys are identical on Build 41 and Build 42. Distances are in tiles, and they're why in-game voice feels either useless or omniscient.
| Setting | What it does | Default | Recommended |
|---|---|---|---|
| Voice | "VOIP is enabled when checked." On by default — worth knowing if you assumed everyone was on Discord and nobody could hear them breathing. | On | On |
| Voice | "The minimum tile distance over which VOIP sounds can be heard." Inside this range you're at full volume; past it you fade toward the max below. | 10.0 | 10.0 |
| Voice | "The maximum tile distance over which VOIP sounds can be heard." Default 100 tiles — most of a city block — and the game will let you set 100,000, at which point voice is server-wide. Drop it to 30–40 if you want voice to be something you walk toward. | 100.0 | 30–100 |
| Voice | "Toggle directional audio for VOIP." On by default — voice comes from where the speaker is. Off makes everyone sound centred: easier to follow, much worse for finding whoever's shouting. | On | On |
Who can connect, what they arrive with, and what gets them dropped.
| Setting | What it does | Default | Recommended |
|---|---|---|---|
| Ping | Ping in milliseconds above which a player is kicked. The builds disagree and most guides quote B41's numbers. Build 42: default 0, which means off, floor 0. Build 41: default 400, floor 100, and the value that disables it is 100, not 0. Before setting any limit: a ping kick punishes a bad minute of Wi-Fi exactly as hard as someone playing from another continent. | 0 (B42) · 400 (B41) | 0 / off |
| Max | How many different accounts one Steam user may create here. Default 0 = unlimited. The game notes it's ignored when using the Hosts button, so it only applies to a real dedicated server. | 0 | 1–2 |
| Do | "Kick clients whose game files don't match the server's." On by default. This is the one people usually mean by "checksum kicked me" — and the blunt lever when a mod mismatch keeps dropping people, though turning it off weakens file-integrity checking. | On | On |
| Steam | Enable the Steam VAC system. On by default. | On | On |
| Allow | Allow non-ASCII (Cyrillic etc.) characters in usernames. Off by default. Turn on for an international playerbase; leave off if you want names you can type into an RCON ban command. | Off | Off |
| Drop | Removes a player's account from the whitelist when they die. Off by default. The game spells out the point: on an Open=false server it stops people rerolling a fresh character after death. Permadeath enforcement, effectively. | Off | Off |
| Map | Whether other players show on the in-game map. The game documents four values: 1 = Hidden, 2 = Friends, 3 = Friends and nearby players, 4 = Everyone. Default 1. | 1 (Hidden) | 1–2 |
| Spawn | Forces every new player to spawn at set x,y,z world coordinates; find them at map.projectzomboid.com. Default 0,0,0 means "off", not "spawn at the map origin". The z is the floor — 0 is ground level, and picking 1 or 2 with no building there drops players out of the sky. Three numbers, commas, no spaces. | 0,0,0 | 0,0,0 |
| Spawn | Item types new players spawn with, comma-separated. Full IDs including the module prefix — Base.Axe, not Axe. A wrong ID fails silently: the player just arrives without it, and nothing is logged. | (empty) | (empty) |
| Allow | Allow co-op/splitscreen players. On by default. Each local player takes a slot against Max Players, so a couch of four counts as four. | On | On |
| Player | Lets a player respawn at their own death coordinates. Off by default — turning it on removes most of the cost of dying, so treat it as a difficulty setting, not a convenience. | Off | Off |
| Player | Lets a player respawn at a split-screen or Remote Play partner's location. | Off | Off |
| Login | Puts connecting players in a queue instead of refusing them when the server is busy. ⚠ The game ships this with no explanation at all — no comment in the ini and no tooltip in its own settings screen. | Off | Off |
| Login | Seconds a queued player has to finish connecting before they are dropped, 20 to 1200. Only meaningful with the queue on, which is itself undocumented. | 60 | 60 |
| Deny | On by default. Refuses new logins while the server is overloaded. ⚠ Undocumented by the game — the name is the only description anyone has. | On | On |
What players see above each other's heads, and the built-in word filter.
| Setting | What it does | Default | Recommended |
|---|---|---|---|
| Global | Toggles global chat on or off. On by default. Off forces everything into local/proximity streams, which some roleplay servers want. | On | On |
| Chat | Which chat streams exist, comma-separated. Default s,r,a,w,y,sh,f,all — say, radio, admin, whisper, yell, safehouse, faction, all. Remove a letter to remove that stream. | s,r,a,w,y,sh,f,all | default |
| Server | First message in the chat panel after login. ⚠ Vanilla is a 400-character tutorial about how to use the chat panel — most admins want their own text here instead. Use <LINE> for line breaks and <RGB:1,0,0> for colour. | (chat tutorial) | write your own |
| Display | Show usernames above players' heads. On by default. | On | On |
| Show | Show the character's first & last name above their head rather than the account name. Off by default. Roleplay servers usually want this on and DisplayUserName off. | Off | Off |
| Mouse | Names only appear when you hover over someone. On by default — which is why names seem to be "missing" on a stock server. | On | On |
| Hide | Automatically hide players you couldn't actually see, the same way zombies are hidden. On by default. Turning it off effectively gives everyone wall-hacks. | On | On |
| Steam | Show Steam usernames and avatars in the players list. ⚠ The default flipped between builds — B41 ships true, B42 ships false. Also accepts admin to show them to staff only. | Off (B42) · On (B41) | admin |
| Show | Shows player coordinates in the lower-right corner. Off by default. Genuinely useful while setting a spawn point or an admin safezone — and a straight giveaway of where everyone is on a PvP server. Turn it back off afterwards. | Off | Off |
| Bad | What happens to someone who types a listed word. The ini's comment lists 1 = ban, 2 = kick, 3 = record the violation in the database, 4 = mute — but ⭐ the game accepts five. zombie/core/WordsFilter$Policy in the bytecode reads Ban=1, Kick=2, Log=3, Mute=4, Nothing=5: the last is real and reachable even though the comment stops short of it. Default 3 — and on the default the word still appears in chat; replacing it is the next setting. | 3 (log only) | 3–4 |
| Bad | The text that replaces a bad word. | [HIDDEN] | [HIDDEN] |
| Bad | Path to the file listing prohibited words, one per line. Empty by default — and empty means the filter does nothing. There is no built-in list; you supply one. Being a server-side file path, this is one setting a config generator can't finish for you. | (empty) | — |
| Good | Path to words that stay allowed even when they contain a bad word. This is the Scunthorpe escape hatch — without it, banning a three-letter string takes out every innocent word containing it. | (empty) | — |
| Chat | How long one chat message can be, 64 to 1024. Lower it if people paste walls of text. | 200 | 200 |
| Chat | Minimum seconds between one player's messages, 1 to 30. The anti-spam dial — raise it on a busy public server, drop it to 1 on a small private one. | 3 | 3 |
| Disable | Turns off the in-game scoreboard. Servers that hide it usually do so because they do not want players seeing who is online and where the population is. | Off | Off |
| Hide | Keeps admin accounts out of the player list. Useful if you want to watch a server without everyone knowing staff are on. | Off | Off |
| Disable | Blocks radio transmissions from accounts with the staff access level. | Off | Off |
| Disable | Blocks radio transmissions from admin accounts. On by default — the game assumes you do not want staff chatter going out over the airwaves. | On | On |
| Disable | Blocks radio transmissions from gm accounts. | On | On |
| Disable | Blocks radio transmissions from overseer accounts. | Off | Off |
| Disable | Blocks radio transmissions from moderator accounts. | Off | Off |
| Disable | Blocks radio transmissions from players who are currently invisible. On by default, which is the sane setting: an invisible admin talking on the radio gives the game away. | On | On |
| Ban | On by default. Plays a sound to everyone when someone is banned or kicked. ⚠ Undocumented by the game. | On | On |
| Username | ⚠ The game documents this nowhere — no ini comment, no tooltip in its own settings screen. It appears to let players show a name other than their account name. We are not going to invent the rest; test it on a throwaway server. | Off | Off |
| Hide | ⚠ Undocumented by the game. Reads as the companion to UsernameDisguises, hiding the real account name behind the disguise. | Off | Off |
Destruction, corpses, towing, saves — the settings that decide how much mess accumulates and how much of it players can cause.
| Setting | What it does | Default | Recommended |
|---|---|---|---|
| No | Disables all fire except campfires. Off by default. A blunt instrument, but the fix when fire spread is wrecking the map or tanking performance. | Off | Off |
| Announce | Global chat message every time a player dies. Off by default. Fun on a small server, noise on a big one. | Off | Off |
| Save | Real-world minutes between forced saves of loaded map areas. Default 0 = the map is only saved when players leave an area. Worth setting if your box crashes and you're losing built structures. | 0 | 15–30 |
| Allow | Let players destroy world objects with sledgehammers. On by default — which also means anyone can demolish anyone's build. | On | On |
| Sledgehammer | Restrict sledgehammer destruction to a player's own safehouse. Off by default. Requires the setting above to be on. This pair is the practical anti-grief lever on a public server. | Off | On (public) |
| Item | Max items in one container. 0 = no limit. ⚠ Read the game's own warning: this counts individual small items, so a limit of 50 means fifty nails. Set it low and you'll break carpentry, not hoarding. | 0 | 0 |
| Blood | Days before old blood splats are removed, cleared when map chunks load. Default 0 = never disappear. On a long-running server this is a real cleanup dial. | 0 (never) | 7–30 |
| Remove | When corpse removal fires, also clear player corpses. Off by default — so player bodies (and the loot on them) survive the sweep that clears zombies. | Off | Off |
| Seed B42 | The worldgen seed. A new server rolls its own and writes it back, so you normally leave this alone. ⚠ Read the second half of the game's own note: changing it does nothing unless you also delete map_worldgen.bin in the save directory, because the world it describes already exists. | (random per server) | leave |
| Disable | Disables vehicle towing. Off by default, so towing works. These three exist because towing is a known source of desync and of cars ending up inside buildings — turn them off one at a time when chasing that, not all three on a hunch. | Off | Off |
| Disable | Disables trailer towing, separately from vehicles — so you can keep trailers and ban car-on-car. | Off | Off |
| Disable | Disables towing burnt-out vehicles. Turning it on stops players dragging wrecks around — either grief prevention or the end of your scrapyard roleplay, depending on the server. | Off | Off |
| Announce | Broadcasts a global message every time an animal dies. Leave it off on any server with livestock — it is a firehose. | Off | Off |
| Trash | Lets players use the delete all button on bins. A griefing surface on a public server and a quality-of-life win on a private one. | Off | Off |
| Fast | How much faster time runs while players sleep, 1 to 100. Lower it if a night's sleep is eating too much of your world's food, batteries and generator fuel. | 40.0 | 40 |
| Speed | Server-wide cap on vehicle speed, 10 to 150. ⚠ It lives in servertest.ini, not the sandbox file, so it applies whatever your world settings say. | 70.0 | 70 |
| Car | Multiplies how far a running engine pulls zombies in, 0 to 10. Lower makes driving survivable; higher makes every trip a horde magnet. ⚠ Also an ini key, not a sandbox one. | 0.5 | 0.5 |
| Switch | ⚠ Undocumented by the game. Reads as a networking behaviour — which client is authoritative for a given zombie — rather than something you tune for gameplay. | Off | Off |
| Ultra | ⚠ Undocumented by the game, and the name is broken English in the file itself. Presumably exempts animals from ultra-speed time compression. | Off | Off |
| Use | ⚠ Undocumented by the game. Sounds like a physics-driven hit animation. Unknown mechanics plus an off default is a good reason to leave it alone. | Off | Off |
Before changing builds, use the server update backup checklist; a rollback needs a matching world, configuration and server build.
The game's own backup system. It runs by default, which most people don't realise — and it is not a substitute for backups you keep off the box.
| Setting | What it does | Default | Recommended |
|---|---|---|---|
| Backups | How many backups to keep before the oldest is rotated out. Default 5, max 300. | 5 | 5–10 |
| Backups | Take a backup every time the server starts. On by default. | On | On |
| Backups | Take a backup when the game version changes. On by default — and the one that saves you when a patch breaks a save. | On | On |
| Backups | Minutes between periodic backups while running. Default 0 = no periodic backups at all; you only get the start/version ones above. Max 1500. | 0 (off) | 60–180 |
BackupsPeriod, and keep a copy somewhere that isn't the same disk.No single "best", but this is a comfortable group baseline that keeps the threat real without the grind being punishing. Set a join password, forward both UDP ports plus the RCON port, and pick the build your server actually runs before tuning loot.
| Setting | Value | Why |
|---|---|---|
| PVP | Off | Co-op against the dead; flip on later if your group wants it. |
| Population | 0.7 | Slightly thinner than vanilla: survivable for a mixed-skill group. (Leave the legacy Zombies field alone.) |
| Speed | Shamblers | Classic slow zombies: the single biggest "make it less brutal" lever. |
| Weapon | Rare (B41) · 0.6 (B42) | Keeps combat tense and scavenging meaningful without starving the server. Use whichever key your build actually reads — they are not interchangeable. |
| Xp | 1.5 (Build 41 only) | A gentle nudge so part-time players still feel progress, without trivializing skills. Build 42 has no XpMultiplier — set skill gain in its MultiplierConfig table instead. |
| Respawn | 0 | Cleared towns stay cleared: rewards effort on a persistent group server. |
| Player | On | Lets the group claim and protect a base; pair with Allow Trespass off. |
| Pause | On | World doesn't decay overnight while everyone's offline. |
Choosing a different build? Check the client and dedicated-server branch checklist before updating the world.
servertest: servertest.ini (server box: name, ports, password, PvP, RCON, mods) and servertest_SandboxVars.lua (the world: zombie population, loot, XP, weather). Both live in your user folder under Zomboid/Server/ (managed hosts expose the same two files in their editor). Stop the server before editing. PZ reads them on boot and can overwrite changes made while it's running. Edit by hand or build both with the generator.legacy41. B42 gives you more sandbox settings and it rebuilt loot rarity completely: the six-tier dropdown per category became a straight 0–4 multiplier, the keys gained a New suffix (FoodLootNew rather than FoodLoot), and the category list grew from 10 to 21. The VERSION header is 5 for B41 and 6 for B42. In the generator, set the build toggle to the build your server actually runs and the loot controls swap with it — a B42 server given B41 loot keys ignores all of them without warning.PopulationMultiplier (0–4, in the SandboxVars file) below 1.0: that's the real dial. Ignore the top-level Zombies field's number; it's an inverted legacy scale where 1 = the most zombies and 5 = none. Slower: set Speed to Shamblers (3). For an even gentler world, also drop Strength/Toughness toward Weak/Fragile and set Cognition to Basic Navigation. To stop cleared areas refilling, set RespawnHours to 0.servertest_SandboxVars.lua, and it works differently in each build, so set the build first. Build 41: a six-tier dropdown per category (None, Insanely Rare, Extremely Rare, Rare, Normal, Common), default Rare; lower = scarcer. Build 42: a straight multiplier from 0 to 4 under renamed keys — FoodLootNew, WeaponLootNew and so on, 21 categories rather than 10 — where 1.0 is the base rate, 0 removes the category, and defaults vary per category (0.6 for most, 0.8 for food, 0.4 for keys, 1.2 for ranged weapons). Skill rates differ too: XpMultiplier is a Build 41 key and does not exist in Build 42, which moved skill gain into a MultiplierConfig table with a global toggle plus one entry per skill. Loot respawn is separate again: HoursForLootRespawn controls whether world containers refill (0 = never), and in Build 42 it sits in the sandbox file, not servertest.ini.Speed setting in the SandboxVars file. Sprinters (1) run at full pace and are brutal: a few can overwhelm an unprepared player. Fast Shamblers (2) is the default: faster than a walk, slower than a run. Shamblers (3) are the classic Romero slow-walkers most co-op servers prefer. Random (4) mixes them. Speed sets the movement type; Strength, Toughness, and Cognition decide how dangerous each one is.servertest.ini — AntiCheatSafety, AntiCheatSpeed, AntiCheatNoClip, AntiCheatHit, AntiCheatPacketException, AntiCheatPermission, AntiCheatXP, AntiCheatSafeHouse, AntiCheatPlayer, AntiCheatChecksum. Each takes a number, and the number is an action: 1 = Ban, 2 = Kick, 3 = Log only, 4 = Off.zombie/network/anticheats/AntiCheat$Policy in the shipped bytecode is a set of static final int constants — Ban=1, Kick=2, Log=3, Disabled=4 — and ServerOptions declares every AntiCheat* option against that type. The cross-check is that the shipped defaults decode cleanly: a real 42.20.3 server writes 2 (Kick) on eight of them and 4 (Disabled) on No-Clip and Packet Exception, the two that fire most often on a laggy connection and on modded content. The developers already turned off the two that bite.BadWordPolicy setting a few lines above in the same file, and its fourth value is wrong.AntiCheatProtectionType1 through 24, plus KickFastPlayers, which the game's own file flags as "May be buggy -- use with caution". None of those keys exist in Build 42 — which is why every host knowledge-base article telling you to "change true to false" does nothing on a current server.DoLuaChecksum, though turning it off weakens file-integrity checking.