Project Zomboid lets a server owner change how fights work: whether one swing can hit several zombies, how guns decide a hit, and how hard players hurt each other. Some of these are one tick in the panel and some are one line in the sandbox file. Checked against Build 42.21, October 2026.
Where each rule lives
| What you want | Where | Setting |
|---|---|---|
| A swing can hit more than one zombie | Server Settings, Combat card | Multi-hit |
| Zombies behind you are less dangerous | Server Settings, Combat card | Rear vulnerability |
| Gun hits use damage chance or hit chance | <world>_SandboxVars.lua in the File Manager | FirearmUseDamageChance |
| How much players hurt each other | Server Settings, PvP & safety card | Melee damage to players (%) and Firearm damage to players (%) |
Sandbox rules need a restart. The panel flags only the starting month, starting time and the water and power shut-off as rules that do nothing on an existing world, and none of the rules below is one of them.
Let weapons hit several zombies
Multi-hit lets certain melee weapons strike more than one zombie in a swing. It is off in the game's own default and in the Apocalypse and Extinction recipes. The Outbreak and Rising recipes turn it on.
- Open Server Settings and find the Combat card.
- Switch on Multi-hit. The same card has Rear vulnerability (Low, Medium or High), the chance of being bitten when a zombie attacks from behind, and Attacks block movement, which slows a player while they swing.
- Press Save changes on that card and restart the server from the Console tab.
Choose how guns hit
Build 42 has a sandbox rule called FirearmUseDamageChance. The game's own comment says it replaces chance-to-hit with chance-to-damage and prioritizes player aiming. Its values are 1 for disabled, 2 for zombies only (the default) and 3 for all types of target. Set it to 1 to go back to chance-to-hit.
The Server Settings tab doesn't list it, so you edit the file:
- Press Stop on the Console tab. Take a backup first: How to create and restore backups.
- Open the File Manager, go to
.cache/Serverand open<world>_SandboxVars.lua. The Server Options > Startup Parameters page shows the World / Save Name in the file name. - Find the line
FirearmUseDamageChance = 2,and change the number. - Save the file and start the server.
The same file has more gun rules, each with its range in the comment above it: FirearmNoiseMultiplier (the distance at which zombies hear gunshots, 0.20 to 2.00), FirearmJamMultiplier (0 turns jamming off) and FirearmWeatherMultiplier (0 turns the weather's effect on hit chance off). Their default is 1.0.
The panel keeps lines it doesn't list when it saves the sandbox rules, so your edit survives later changes in the tab. A change to FirearmUseDamageChance takes effect on a world that already has players.
Change player-versus-player damage
These two settings only matter when PvP is on.
- Open Server Settings and the PvP & safety card.
- Set Melee damage to players (%) and Firearm damage to players (%). The values are percentages of normal, from
0to500. The game's defaults are30and50. - Press Save changes and restart.
Change how tough the zombies are
On the Zombie lore card, Strength sets the damage zombies inflict per attack, and Toughness sets the difficulty of killing a zombie. Project Zomboid server and sandbox settings covers the recipes and the other sandbox cards.
Common problems
- The line isn't in the file. The game writes
<world>_SandboxVars.luaon its first boot. Start the server once, then edit it. - The change didn't apply. Save the file, then start the server again.
- A recipe reset your changes. Pressing a recipe in Recipes sets the rules it lists, including Multi-hit. Set your own values after you apply it.
Related guides
Project ZomboidProject Zomboid anti-cheat settings
Set each of the ten anti-cheat checks to ban, kick, log or disabled, and check Steam VAC and the file checksum on your server.
Updated 21 Nov 20263 min read
Project ZomboidPvP, war and safezones on Project Zomboid
How PvP, the safety toggle, war settings and non-PvP zones work on a Project Zomboid server, and which Server Settings switches control them.
Updated 21 Nov 20265 min read
Project ZomboidProject Zomboid server and sandbox settings
Change your Project Zomboid server's rules and sandbox settings from the panel: presets, zombie speed and count, loot, day length and the whitelist.
Updated 8 Nov 20265 min read