Rent your own Project Zomboid server — from $11/mo
Home/ Guides/ Project Zomboid/ Server Settings Explained
🧟 Project Zomboid · Server Settings

Project Zomboid Server Settings Explained

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.

Defaults harvested from real 41.78.20 and 42.20.3 servers, not copied from a wiki · re-verified Aug 2026
servertest.ini
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 — identity and rules here, world knobs in SandboxVars.lua.
⚙️
Don't want to hand-edit config files?
This page explains what each setting does. To actually build both files, the Project Zomboid config generator turns these into a ready-to-run 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.
🪪

Server Identity & Network

File: servertest.ini

Name, password, ports, and visibility: the file that controls the server box, not the game world.

SettingWhat it doesDefaultRecommended
PublicNameThe 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 Serveryour name
PasswordRequired 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
DefaultPortUDP port players connect on. Forward it on your router and open it on the firewall.1626116261
UDPPortSecondary/direct-connect UDP port, one above the game port. Forward this one too.1626216262
MaxPlayersPlayer 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
OpenOn by default: anyone with the password can join. Turn off to require accounts be whitelisted before they can connect.OnOn
PublicOff 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.OffOff
PVPOn 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.)OnOff (co-op)
PauseEmptyOn by default: in-game time pauses when no one is online, so the world doesn't decay while nobody's playing.OnOn
PublicDescriptionThe 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
MaxPacketsPerSecond B42Caps 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.300300
UPnPAsks 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.Onmanual forward
server_browser_announced_ipForces 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)
Two UDP ports, not one: forward both DefaultPort (16261) and UDPPort (16262). RCON uses a third, separate TCP port. Open all the ones you actually use.
🛠️

RCON, Admin & Mods

File: servertest.ini

Remote console and the mod/Workshop load lists: the two lists must line up or mods silently fail.

SettingWhat it doesDefaultRecommended
RCONPortTCP port for the remote console most management tools and restart scripts use. Forward it separately from the game ports.2701527015
RCONPasswordEmpty 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
MapMap load order, semicolon-separated. Map mods usually want their map name added here, before the base map.Muldraugh, KYMuldraugh, KY
ModsMod load IDs (not Workshop file IDs), semicolon-separated. This list and WorkshopItems must line up for mods to actually load.(empty)—
WorkshopItemsSteam Workshop file IDs to download, semicolon-separated. Each maps to one or more mod IDs in the Mods line.(empty)—
PerkLogsWrites 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.OnOn
ClientCommandFilterSemicolon-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.uninstallPartdefault
ClientActionLogsSemicolon-separated list of player actions that are written to ClientActionLog.txt. Stock tracks entering/exiting vehicles and taking engine parts.ISEnterVehicle;ISExitVehicle;ISTakeEngineParts;default
MultiplayerStatisticsPeriod B42Seconds between multiplayer statistics samples. Set it to 0 to disable statistics entirely.11
ResetID⛔ 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.2545395leave alone
ServerPlayerID⛔ 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.295224514leave alone
Mods vs WorkshopItems: 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.
⚔️

PvP & Safety

File: servertest.ini

The PvP safety-toggle system and damage modifiers. PvP melee is heavily nerfed vs PvE by default.

SettingWhat it doesDefaultRecommended
SafetySystemPlayers 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.OnOn
PVPMeleeDamageModifierDamage multiplier for player-vs-player melee. Default 30: PvP melee is deliberately reduced far below PvE so fights aren't one-hit.3030
PVPFirearmDamageModifierDamage multiplier for player-vs-player ranged attacks. Default 50.5050
ShowSafetyPuts 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.OnOn
SafetyToggleTimerSeconds it takes to enter or leave PvP mode. Default 2. This delay is what stops someone flicking PvP on mid-swing.22
SafetyCooldownTimerSeconds before a player can toggle PvP mode again after just doing so. Default 3. Stops the toggle being spammed to dodge damage.33
PVPMeleeWhileHitReactionLets 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.OffOff
PlayerBumpPlayerWhether running into another player knocks them over. Off by default. On, it's a grief tool — shove someone into a horde and walk away.OffOff
PVPLogToolChat B42PvP 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.OnOn
PVPLogToolFile B42PvP events are written to a log file. On by default. Keep it: admin chat scrolls away, the file does not.OnOn
SafetyDisconnectDelay B42Seconds 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.6060
KnockedDownAllowedLets 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
The numbers are percentages, not raw multipliers: 30 means PvP melee lands at ~30% of its PvE damage. If players complain melee feels like pillow-fighting, that's why: raise it deliberately, don't assume it's a bug.
🧟

Population & Zombies

File: servertest_SandboxVars.lua

How many zombies and how fast they move. Read the gotcha below before touching the population field.

SettingWhat it doesDefaultRecommended
ZombiesCoarse 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
PopulationMultiplierFine 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.00.6–1.0
DistributionWhere zombies cluster. 1 = Urban Focused (denser in towns); 2 = Uniform spreads them evenly across the map.1 (Urban)1
SpeedHow fast zombies move. 1 = Sprinters (the hard one), 2 = Fast Shamblers (default), 3 = Shamblers (classic slow), 4 = Random.2 (Fast Shamblers)3 (Shamblers)
The inverted-population trap: the top-level 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.
🧠

Zombie Lore

File: servertest_SandboxVars.lua

The deep zombie ruleset, strength, infection, senses, nested under ZombieLore. This is where "how hard is it" lives.

SettingWhat it doesDefaultRecommended
StrengthHow hard zombies hit and how easily they pull you down. 1 = Superhuman, 2 = Normal, 3 = Weak.2 (Normal)2
ToughnessHow much punishment a zombie takes before it drops. 1 = Tough, 2 = Normal, 3 = Fragile.2 (Normal)2
CognitionHow smart zombies are. 3 = Basic Navigation (classic Romero shambler); 1 = Navigate + Use Doors makes them genuinely cunning.3 (Basic Navigation)3
TransmissionHow the Knox infection spreads. 1 = Blood + Saliva (default). "Everyone's Infected" makes every character turn on death regardless of bites.1 (Blood + Saliva)1
MortalityHow long after a bite until you die. Apocalypse default = 2–3 Days. "Never" effectively disables death-from-bite.5 (2–3 Days)5
ReanimateHow long after death a corpse rises as a zombie. Faster reanimation makes clearing bodies urgent.3 (0–1 Minutes)3
Sprinters vs shamblers lives in two places: 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 & XP

File: servertest_SandboxVars.lua

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.

SettingWhat it doesDefaultRecommended
FoodLootHow 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.80.8 on B42
WeaponLootMelee 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.60.6 on B42
AmmoLootLoose 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.60.6 on B42
MedicalLootMedicine, 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.60.6 on B42
MechanicsLootVehicle 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.60.6 on B42
XpMultiplierGlobal 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
Build 42 changed the KIND of setting, not just the numbers. Build 41 uses a six tiers (None, Insanely Rare, Extremely Rare, Rare, Normal, Common), default Rare, per category. Build 42 dropped tiers entirely: each category is now a straight multiplier from 0.00 to 4.00, where 1.0 is the base spawn rate, 0 removes the category and 4 is four times as much. The keys were renamed too — B42 writes 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.)
🕒

World & Time

File: servertest_SandboxVars.lua

Day length, climate, and the utility shut-off timers that turn a sleepy town into a survival crunch.

SettingWhat it doesDefaultRecommended
DayLengthReal-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
TemperatureOverall climate. Default 3 = Normal. Colder settings make winter survival much harder.3 (Normal)3
WaterShutWhen 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
ElecShutWhen the electrical grid cuts out. B41 default 2 = 0–30 days (randomised). After this you need generators.2 (0–30 Days)2
B42 expresses shut-off as a raw day count. In Build 41 Water/Power Shut-Off is a tier (0–30 days, 0–2 months…); in Build 42 it's a specific day number. The generator exposes a "shut-off day" field for the exact-day case: on B42, set that and treat the tier dropdown as approximate.
🔁

Zombie Respawn

File: servertest_SandboxVars.lua

Whether and how fast cleared areas refill with zombies, nested under ZombieConfig. The single most-important long-server dial.

SettingWhat it doesDefaultRecommended
RespawnHoursIn-game hours before zombies can respawn in a cell. 0 disables respawn. Build 42 default is 0 (no respawn). Build 41 default is 72.720 (long server)
RespawnMultiplierFraction of the original population that respawns each cycle. Default 0.1 (10%). Lower it for a slow trickle back.0.10.1
RespawnUnseenHoursHow many hours an area must go unseen by players before zombies can respawn there. Default 16. Only matters when respawning is enabled.1616
RespawnHours 0 = no respawn. If your group clears a town and wants it to stay cleared, set RespawnHours to 0 rather than fighting the same horde forever. Leave it at 72 for an endlessly-dangerous world.
🏠

Safehouses & Survival

File: servertest.ini

Player base claims and a couple of survival-rhythm switches. The whole safehouse system is off until you turn it on.

SettingWhat it doesDefaultRecommended
PlayerSafehouseLet players claim safehouses. Off by default: this is the master switch for the entire safehouse system.OffOn (group servers)
SafehouseAllowTrepassLet non-members enter a claimed safehouse uninvited. On by default: turn off to lock outsiders out entirely.OnOff
SafeHouseRemovalTimeReal-world hours of not visiting before a player is dropped from a safehouse. Default 144 (6 days).144144
HoursForLootRespawnIn-game hours before looted world containers refill. Default 0 = never (the usual long-server choice). Separate from sandbox loot rarity.00
SleepAllowedLet players sleep. Off by default on MP: sleeping fast-forwards time, which is awkward with others online.OffOff
SleepNeededPlayers 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.OffOff
AdminSafehouseOnly 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.OffOff
SafehouseAllowFireAllow 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.OnOff (PvP)
SafehouseAllowLootAllow 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.OnOff
SafehouseAllowRespawnPlayers 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.OffOn (co-op)
SafehouseDaySurvivedToClaimIn-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.00
SafehouseAllowNonResidentialWhether players can claim non-residential buildings — shops, warehouses, the fire station. Off by default, so by default only houses are claimable.OffOff
SafehousePreventsLootRespawn B42Items 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.OnOn
DisableSafehouseWhenOwnerConnected B42Safehouse 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.OffOff
MaxSafezoneSize B42Ceiling 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.20000leave
War B42Master 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.OffOff
WarStartDelay B42Seconds between a war being declared and it starting. Default 600 (ten minutes). The floor is 60, so you can't make it instant.600600
WarDuration B42How 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.36003600
WarSafehouseHitPoints B42The 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.33
KickFastPlayers B41 onlyAnti-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.OffOff (buggy)
SafehouseDisableDisguises B42On by default. ⚠ Undocumented by the game — presumably stops name disguises working inside a safehouse.OnOn
SneakModeHideFromOtherPlayersOn by default. ⚠ Undocumented by the game — reads as sneak hiding you from other players rather than from zombies.OnOn
Claiming a house does not lock it. Out of the box 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.
🤝

Factions

File: servertest.ini

Player-run groups. Unlike safehouses, this system is on by default.

SettingWhat it doesDefaultRecommended
FactionPlayers can create factions. On by default — the opposite of the safehouse system, which is off until you enable it.OnOn
FactionDaySurvivedToCreateIn-game days a player must survive before they can create a faction. Default 0 = immediately.00
FactionPlayersRequiredForTagMembers 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.12–3
🛡️

Anti-Cheat

File: servertest.ini

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.

SettingWhat it does (the game's own words)VanillaMeans
AntiCheatSafety B42"Disables safety system anti-cheat protection." Guards the PvP safety toggle, so it has nothing to check on a PvE server.2Kick
AntiCheatSpeed B42"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.2Kick
AntiCheatNoClip B42"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.4Off
AntiCheatHit B42"Disables character hit anti-cheat protection." Combat mods that add reach or new attack animations are the usual reason this starts firing.2Kick
AntiCheatPacketException B42"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.4Off
AntiCheatPermission B42"Disables player permissions anti-cheat protection." Admin-tool and moderation mods that hand out access levels are what tends to argue with this one.2Kick
AntiCheatXP B42"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.2Kick
AntiCheatSafeHouse B42"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.2Kick
AntiCheatPlayer B42"Disables player anti-cheat protection." That is genuinely all the game says about it.2Kick
AntiCheatChecksum B42"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".2Kick
If legit players are getting kicked, start with No-Clip and Packet Exception. They're the two the developers themselves ship at 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.
🪀

Discord Integration

File: servertest.ini

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.

SettingWhat it doesDefaultRecommended
DiscordEnable"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.Offyour call
DiscordTokenThe 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
DiscordChatChannel B42"The Discord chat channel name." Carries global in-game chat both ways. Channel name, not the ID, and no #.(empty)—
DiscordLogChannel B42"The Discord logs channel name." Point this somewhere players can't read — server logs name who connected from where.(empty)admin-only
DiscordCommandChannel B42"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
DiscordChannel B41 onlyBuild 41's single channel name — chat and logs together. Replaced by the three keys above.(empty)—
DiscordChannelID B41 onlyBuild 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)—
WebhookAddress B42A 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)
🎙️

Voice Chat (VOIP)

File: servertest.ini

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.

SettingWhat it doesDefaultRecommended
VoiceEnable"VOIP is enabled when checked." On by default — worth knowing if you assumed everyone was on Discord and nobody could hear them breathing.OnOn
VoiceMinDistance"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.010.0
VoiceMaxDistance"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.030–100
Voice3D"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.OnOn
👥

Players, Whitelist & Connection

File: servertest.ini

Who can connect, what they arrive with, and what gets them dropped.

SettingWhat it doesDefaultRecommended
PingLimitPing 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
MaxAccountsPerUserHow 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.01–2
DoLuaChecksum"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.OnOn
SteamVACEnable the Steam VAC system. On by default.OnOn
AllowNonAsciiUsernameAllow 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.OffOff
DropOffWhiteListAfterDeathRemoves 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.OffOff
MapRemotePlayerVisibilityWhether 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
SpawnPointForces 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,00,0,0
SpawnItemsItem 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)
AllowCoopAllow co-op/splitscreen players. On by default. Each local player takes a slot against Max Players, so a couch of four counts as four.OnOn
PlayerRespawnWithSelfLets 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.OffOff
PlayerRespawnWithOtherLets a player respawn at a split-screen or Remote Play partner's location.OffOff
LoginQueueEnabledPuts 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.OffOff
LoginQueueConnectTimeoutSeconds a queued player has to finish connecting before they are dropped, 20 to 1200. Only meaningful with the queue on, which is itself undocumented.6060
DenyLoginOnOverloadedServerOn by default. Refuses new logins while the server is overloaded. ⚠ Undocumented by the game — the name is the only description anyone has.OnOn
Max Players excludes admins, so you can always get into your own full server. And the ceiling follows the build: 100 on B41, 254 on B42 — but the game prints its own warning that counts above 32 risk poor map streaming and desync. Treat 32 as the number the developers stand behind.
💬

Chat, Names & Moderation

File: servertest.ini

What players see above each other's heads, and the built-in word filter.

SettingWhat it doesDefaultRecommended
GlobalChatToggles global chat on or off. On by default. Off forces everything into local/proximity streams, which some roleplay servers want.OnOn
ChatStreamsWhich 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,alldefault
ServerWelcomeMessageFirst 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
DisplayUserNameShow usernames above players' heads. On by default.OnOn
ShowFirstAndLastNameShow 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.OffOff
MouseOverToSeeDisplayNameNames only appear when you hover over someone. On by default — which is why names seem to be "missing" on a stock server.OnOn
HidePlayersBehindYouAutomatically hide players you couldn't actually see, the same way zombies are hidden. On by default. Turning it off effectively gives everyone wall-hacks.OnOn
SteamScoreboardShow 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
ShowCoordinates B42Shows 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.OffOff
BadWordPolicy B42What 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
BadWordReplacement B42The text that replaces a bad word.[HIDDEN][HIDDEN]
BadWordListFile B42Path 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)—
GoodWordListFile B42Path 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)—
ChatMessageCharacterLimit B42How long one chat message can be, 64 to 1024. Lower it if people paste walls of text.200200
ChatMessageSlowModeTime B42Minimum 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.33
DisableScoreboard B42Turns 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.OffOff
HideAdminsInPlayerList B42Keeps admin accounts out of the player list. Useful if you want to watch a server without everyone knowing staff are on.OffOff
DisableRadioStaffBlocks radio transmissions from accounts with the staff access level.OffOff
DisableRadioAdminBlocks radio transmissions from admin accounts. On by default — the game assumes you do not want staff chatter going out over the airwaves.OnOn
DisableRadioGMBlocks radio transmissions from gm accounts.OnOn
DisableRadioOverseerBlocks radio transmissions from overseer accounts.OffOff
DisableRadioModeratorBlocks radio transmissions from moderator accounts.OffOff
DisableRadioInvisibleBlocks 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.OnOn
BanKickGlobalSoundOn by default. Plays a sound to everyone when someone is banned or kicked. ⚠ Undocumented by the game.OnOn
UsernameDisguises B42⚠ 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.OffOff
HideDisguisedUserName B42⚠ Undocumented by the game. Reads as the companion to UsernameDisguises, hiding the real account name behind the disguise.OffOff
🌐

World Rules & Housekeeping

File: servertest.ini

Destruction, corpses, towing, saves — the settings that decide how much mess accumulates and how much of it players can cause.

SettingWhat it doesDefaultRecommended
NoFireDisables all fire except campfires. Off by default. A blunt instrument, but the fix when fire spread is wrecking the map or tanking performance.OffOff
AnnounceDeathGlobal chat message every time a player dies. Off by default. Fun on a small server, noise on a big one.OffOff
SaveWorldEveryMinutesReal-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.015–30
AllowDestructionBySledgehammerLet players destroy world objects with sledgehammers. On by default — which also means anyone can demolish anyone's build.OnOn
SledgehammerOnlyInSafehouseRestrict 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.OffOn (public)
ItemNumbersLimitPerContainerMax 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.00
BloodSplatLifespanDaysDays 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
RemovePlayerCorpsesOnCorpseRemovalWhen corpse removal fires, also clear player corpses. Off by default — so player bodies (and the loot on them) survive the sweep that clears zombies.OffOff
Seed B42The 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
DisableVehicleTowing B42Disables 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.OffOff
DisableTrailerTowing B42Disables trailer towing, separately from vehicles — so you can keep trailers and ban car-on-car.OffOff
DisableBurntTowing B42Disables 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.OffOff
AnnounceAnimalDeath B42Broadcasts a global message every time an animal dies. Leave it off on any server with livestock — it is a firehose.OffOff
TrashDeleteAllLets 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.OffOff
FastForwardMultiplierHow 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.040
SpeedLimitServer-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.070
CarEngineAttractionModifierMultiplies 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.50.5
SwitchZombiesOwnershipEachUpdate B42⚠ Undocumented by the game. Reads as a networking behaviour — which client is authoritative for a given zombie — rather than something you tune for gameplay.OffOff
UltraSpeedDoesnotAffectToAnimals B42⚠ Undocumented by the game, and the name is broken English in the file itself. Presumably exempts animals from ultra-speed time compression.OffOff
UsePhysicsHitReaction B42⚠ 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.OffOff
💾

Backups

File: servertest.ini

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.

SettingWhat it doesDefaultRecommended
BackupsCountHow many backups to keep before the oldest is rotated out. Default 5, max 300.55–10
BackupsOnStartTake a backup every time the server starts. On by default.OnOn
BackupsOnVersionChangeTake a backup when the game version changes. On by default — and the one that saves you when a patch breaks a save.OnOn
BackupsPeriodMinutes 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
Out of the box you get a backup on start and on version change, and nothing else. If your server runs for a week without restarting, that's a week with no new backup. Set BackupsPeriod, and keep a copy somewhere that isn't the same disk.

Project Zomboid Server Settings FAQ

Choosing a different build? Check the client and dedicated-server branch checklist before updating the world.

How do I change Project Zomboid server settings?
PZ reads two files for a world named 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.
What's the difference between Build 41 and Build 42?
Build 42 went stable on July 29, 2026 with build 42.20.0 — it is the default branch now, and the Unstable warning is gone from the main menu. Test builds no longer go to a branch called Unstable: since 42.22 (27 Oct 2026) a new build lands first on the opt-in Pre-Release branch for at least a week, then moves to the default Stable branch. Build 41 still runs, but it is an opt-in branch: right-click PZ in Steam → Properties → Game Version & Betas → 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.
How do I make zombies fewer or slower?
Fewer: set 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.
How do I tune loot and XP?
Loot rarity per category lives in 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.
What are sprinters vs shamblers?
That's the 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.
Why does my anti-cheat keep kicking legit players?
The answer depends on your build, and most guides answer for the wrong one.

Build 42: anti-cheat is ten named settings in 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.

⭐ Where that legend comes from, since the game never prints it: 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.

▶ So the fix is usually one setting, not a rewrite: drop the offending check to 3 (Log only), read the log, and you'll know whether it's a cheat or a bad connection before you ban anyone. ⚠ Ignore the "1 ban / 2 kick / 3 log / 4 mute" list repeated on forums — that one is a guess lifted off the BadWordPolicy setting a few lines above in the same file, and its fourth value is wrong.

Build 41: 24 booleans called 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.

For mod-mismatch kicks the separate lever is DoLuaChecksum, though turning it off weakens file-integrity checking.