# Griefing in Project Zomboid: stop players burning or wrecking bases on your server

> How to stop griefing on a Project Zomboid server (Build 42): who can join, the sledgehammer, fire, safehouses, finding out who did it and rolling back.

Original page: https://napnodes.com/en/guides/project-zomboid-server-griefing · Updated: 2026-11-15

You get back to base and it's burnt, walls knocked down with a sledgehammer and the crates empty. In Project Zomboid that isn't a bug: by default anyone who joins can smash walls with a sledgehammer, start fires that spread and take whatever's there, even if the house is a safehouse. A handful of server settings fix it. Here they are, in the order they matter most.

## First: who can get in

Most of the damage is done by someone from outside the group. With “Anyone can create an account when joining” (Open) set to true, the default, anyone with the address gets in and makes an account. For a group of friends, the most effective fix is a “Password to join” or closing the server with Open set to false: then only people an admin creates an account for can join ([how the whitelist works](https://napnodes.com/en/guides/project-zomboid-private-server-whitelist)).

If you want it in the in-game list with new people joining, first check [what to prepare on a public server](https://napnodes.com/en/guides/project-zomboid-public-server-list). And if someone who shouldn't be there already has an account, kick them out: [banning and unbanning](https://napnodes.com/en/guides/project-zomboid-ban-unban-player).

## The sledgehammer: who can knock down walls

A sledgehammer knocks down walls, doors, fences and almost any world object. Two settings decide it: AllowDestructionBySledgehammer, which lets players destroy world objects with sledgehammers (true by default), and SledgehammerOnlyInSafehouse, which limits that to their own safehouse (false by default; it only applies if the first one is true).

For an open server, the most balanced option is to leave the first one on true and set SledgehammerOnlyInSafehouse to true: everyone can rebuild their own house, but not tear down the neighbour's. So nobody knocks anything down, AllowDestructionBySledgehammer to false.

## Fire

NoFire disables all forms of fire except campfires; by default it's false. It's the harshest measure, but the only one that stops base burning for good: on a public server with trouble, it's the first thing to switch on.

If you don't want to remove fire completely, “Fire Spread” (FireSpread, in the world settings) set to false stops a fire from spreading, so one blaze doesn't take half the street. And for safehouses in particular, SafehouseAllowFire decides whether fire damages them: true by default. Set it to false so a safehouse doesn't burn.

## Safehouses that actually protect

A safehouse only protects if the server lets people claim them and what's inside is closed to outsiders. “Players can claim safehouses” (PlayerSafehouse) ships as false: that way only admins hand them out. So everyone can claim their own house, set it to true ([how to claim one and invite people](https://napnodes.com/en/guides/project-zomboid-safehouses-factions)).

Then, what outsiders are allowed to do. SafehouseAllowTrepass (entering without an invite) and SafehouseAllowLoot (taking things) both ship as true: a default safehouse stops neither entering nor looting. Set them to false. And check DisableSafehouseWhenOwnerConnected (false by default): with true, the safehouse is a normal house while its owner is online and is only protected while they're away.

Two more so it isn't abused: SafehouseDaySurvivedToClaim, the days you have to survive before you can claim one (0 by default; with 3, someone who joins to cause trouble can't grab the best house on day one), and SafeHouseRemovalTime, the real-time hours without visiting a safehouse after which a player is removed from it (144 by default, 6 days).

## If there's PvP

PVP (true by default) decides whether players can hurt each other. With SafetySystem (true by default), each player switches PvP mode on and off with the skull on the left of the screen; with SafetySystem set to false, anyone can hurt anyone at any time, and on an open server that's asking for trouble. If nobody on your server wants fights, PVP to false and that's that.

Everything about PvP (non-PvP zones, damage per weapon, factions) is in [the PvP guide](https://napnodes.com/en/guides/project-zomboid-pvp-server-settings).

## Finding out who did it

The server logs tell you quite a lot. The file ending in _user.txt records, with the time, who joins and who leaves; with PVPLogToolFile on true (the default), fights between players go in their own file; and ClientActionLogs ships with `ISEnterVehicle;ISExitVehicle;ISTakeEngineParts`, so you also see who got into your car or took parts out of its engine.

What no option records is who takes what from a crate or who breaks a wall. You cross-check: who was online between the last time you saw the base intact and now. Where each file is and how to read them: [the server logs](https://napnodes.com/en/guides/project-zomboid-server-logs).

## Kicking them out and rolling back

First, make sure they don't come back: `/banuser "name"` from the console or an admin's chat ([the admin commands](https://napnodes.com/en/guides/project-zomboid-admin-commands)). Then the base: what was destroyed doesn't come back by itself, so what recovers it is a backup from before it happened, with the server stopped ([restoring a backup](https://napnodes.com/en/guides/project-zomboid-server-backups)).

Careful: when you go back to a backup, the whole world goes back to that date, including what everyone else built since. Tell the group first.

## Three ways to set it up

1. **Trusted friends only**: A password (or Open set to false) and everything else as it ships. If no outsider gets in, there's no need to remove the sledgehammer or fire.
2. **Friends and the odd acquaintance**: A password, PlayerSafehouse on true, SafehouseAllowTrepass, SafehouseAllowLoot and SafehouseAllowFire on false and SledgehammerOnlyInSafehouse on true. Everyone is safe in their own safehouse.
3. **Public server**: All of the above, plus NoFire on true, SafehouseDaySurvivedToClaim at 3 and an admin online often. If there's PvP, keep SafetySystem on true.

## With NapNodes

All these settings are in “Settings”, with their explanation and a search box: Open, the password and PlayerSafehouse in “The essentials”; the sledgehammer and safehouses in “Safehouses and factions”; NoFire in “Game and world”; fire spread in “World: houses and events”; PvP in “PvP and fighting”, and the logs in “Anti-cheat and logs”. Each setting saves itself and applies when you “Restart”. You read the logs in “Files”, in the .cache/Logs folder.

On paid plans, “Advanced settings” → “Backups” keeps an automatic daily backup and up to 2 of your own, and “Restore” puts the server back as it was: that's what saves a wrecked base. To try the settings with your group before paying anything, the [free Project Zomboid server](https://napnodes.com/en/free/project-zomboid) has Build 42, 6 GB and needs no card. It shuts down when nobody's on; for a long game, the 7-day pass keeps it running.

## Questions

### How do I stop people wrecking my base in Project Zomboid?

Claim it as a safehouse and ask the admin for SafehouseAllowTrepass, SafehouseAllowLoot and SafehouseAllowFire on false and SledgehammerOnlyInSafehouse on true. Then outsiders can't get in, can't take anything, fire doesn't damage it and nobody knocks it down with a sledgehammer.

### How do I disable the sledgehammer on a Project Zomboid server?

With AllowDestructionBySledgehammer on false nobody destroys anything with it. If you'd rather everyone can use it only in their own safehouse, leave it on true and set SledgehammerOnlyInSafehouse to true.

### How do I turn off fire on my Project Zomboid server?

With NoFire on true all forms of fire are removed except campfires. If you only want it not to spread, FireSpread on false.

### Can I find out who stole from my base?

Not directly: no option records who takes what from a container. The _user.txt log file says who was online and when, and you cross-check with that.

### Can a destroyed base be recovered?

Only by going back to an earlier backup, with the server stopped. The whole world goes back to that date, including what everyone else did.

---

NapNodes gives you a free Project Zomboid server, no card and no end date: it isn't always on (it switches itself off after an hour with nobody on, and you start it again with one click). How it works: https://napnodes.com/en/free. Paid plans, always on and with no commitment: https://napnodes.com/en/pricing.
