Project Zomboid safehouses, factions and PvP rules

Updated · Nordyx

Set the rules for a shared Project Zomboid world: PvP and the safety toggle, safehouse claiming and protection, factions, sleeping and death announcements.

A shared Project Zomboid world needs house rules: can players fight each other, can they claim a base, and what happens to someone else's loot? These settings are all in the server's .ini file. Save the file and run /reloadoptions to apply them. This guide follows the current stable game, Build 42.

PvP on or off

PVP=true
SafetySystem=true
ShowSafety=true

PVP=false means players can't hurt each other at all, which suits co-op groups. With PVP=true, the safety system decides how it works:

  • SafetySystem=true (default): each player switches their own PvP mode on and off. One player can only hurt another when at least one of them has PvP on. ShowSafety shows a skull over players who have it on.
  • SafetySystem=false: anyone can hurt anyone at any time.

SafetyToggleTimer (2 seconds) is how long switching takes and SafetyCooldownTimer (3) how long before it can be switched again. Raise them so nobody can flip PvP off in the middle of a fight.

PvP damage and logs

  • PVPMeleeDamageModifier=30 and PVPFirearmDamageModifier=50 scale player-on-player damage. Lower them for fights that last longer, raise them for a harsher server.
  • PVPLogToolChat=true reports PvP in admin chat and PVPLogToolFile=true writes it to the server log, which helps when someone reports a kill.
  • AnnounceDeath=true posts a message in chat every time a player dies.

Safehouses

PlayerSafehouse=true
AdminSafehouse=false
SafehouseAllowTrepass=false
SafehouseAllowLoot=false
SafehouseAllowFire=false

A safehouse is a building a player claims, with members they invite. PlayerSafehouse=true lets players claim them; AdminSafehouse=true lets only admins hand them out. Then decide what the claim protects:

SettingDefaultWhen true
SafehouseAllowTrepasstrueNon-members may walk in without an invite.
SafehouseAllowLoottrueNon-members may take items.
SafehouseAllowFiretrueFire can damage the safehouse.
SafehouseAllowRespawnfalseMembers who die respawn at the safehouse.
DisableSafehouseWhenOwnerConnectedfalseThe house is only protected while its owners are offline.

The defaults leave a claimed house open. For a server where bases are safe, set trespass, loot and fire to false, as in the example above.

  • SafehouseDaySurvivedToClaim: in-game days a player must survive before claiming, to stop new accounts grabbing the best houses.
  • SafeHouseRemovalTime=144: real hours of not visiting before a player is removed from a safehouse, so abandoned bases free up.
  • SafehouseAllowNonResidential: allow claiming shops, warehouses and other non-houses.
  • SafehousePreventsLootRespawn=true: claimed houses don't refill with loot.

Factions

Faction=true lets players form factions, which get their own chat channel. FactionDaySurvivedToCreate sets the in-game days survived before someone can start one, and FactionPlayersRequiredForTag how many members a faction needs before it can show a tag.

Breaking things

AllowDestructionBySledgehammer=true lets players knock down walls and objects with a sledgehammer. On a PvP server this is how bases get raided; set SledgehammerOnlyInSafehouse=true to allow it only inside a player's own safehouse. NoFire=true turns off all fire except campfires, which stops arson.

Sleeping on a shared server

SleepAllowed=true lets tired characters sleep, and SleepNeeded=true makes them have to (only when sleep is allowed). Both are off by default, so characters never need to sleep on a server.

Two common setups

SettingCo-op groupRoleplay / PvP
PVPfalsetrue
SafetySystem(not used)true
PlayerSafehousetruetrue
SafehouseAllowTrepasstruefalse
SafehouseAllowLoottruefalse
SledgehammerOnlyInSafehousefalsetrue
AnnounceDeathfalsetrue

Write your rules down for players too, on Discord or in the ServerWelcomeMessage: settings stop most problems, but not all of them.

Source for the settings and commands: the official Project Zomboid wiki. Game updates can change them; tell us on Discord if something here is out of date.

Want a Project Zomboid server?

New Project Zomboid servers are paused for now. Tell us on Discord if you want one, so we know when to bring them back.

More Project Zomboid guides

Only the cookies we need

We use cookies to keep you signed in and to protect forms. No analytics, no ads and no tracking, so there's nothing to accept.

Cookies on Nordyx.net

Everything this site stores in your browser. It's all strictly necessary, so the law doesn't ask for your consent and there's nothing to switch on or off.

Strictly necessary

Always on

Signing in, checkout and forms don't work without these. You can block or delete them in your browser settings.

  • paymenter_sessionNordyx
    Keeps you signed in and remembers choices during your visit, such as the country prices are shown for.Every page · 2 hours after your last page view
  • XSRF-TOKENNordyx
    Protects forms from being sent by another website on your behalf.Every page · 2 hours after your last page view
  • remember_web_…Nordyx
    Keeps you signed in on this device.Only if you tick "Remember me" · 400 days, or until you sign out
  • nx-cookies-okNordyx (browser storage, not a cookie)
    Remembers that you closed the cookie notice.Every page · Until you clear your browser data
  • Cloudflare TurnstileCloudflare
    Checks that you are a person, not a bot, to stop spam sign-ups.Sign-in and sign-up · Set by Cloudflare
  • PayPalPayPal
    Lets you pay and helps PayPal prevent fraud.Paying an invoice · Set by PayPal, see its cookie statement

Analytics

Not used

No visitor statistics or measurement. If we ever add any, we'll ask you first, and you can change your answer here.

Advertising and social media

Not used

No ads, no tracking pixels, no "like" buttons. If we ever add any, we'll ask you first, and you can change your answer here.

Updated 4 December 2026 · Privacy Policy, section 11