Skip to content
/SLASHPLAY

How to make fewer locked doors in Project Zomboid

Set LockedHouses = 4, in Zomboid/Server/main_SandboxVars.lua on the Files tab and restart the server.

LockedHouses

How often doors of homes and buildings are locked, from 1 never to 6 very often. Default 6.

LockedHouses = <number>,

Examples

LockedHouses = 4,

Sometimes locked.

Values

ValueWhat it does
1 Never
2 Extremely Rare
3 Rare
4 Sometimes
5 Often
6Default Very Often

What it does

Fewer locked doors make looting easier.

Good to know

  • Set it in Zomboid/Server/main_SandboxVars.lua on the **Files** tab (under **Advanced**) and restart the server.

Run it on your server

Admin commands go in the Console tab of the server page without the slash (players), or in game chat with it (/players) from an admin account. Settings live in Zomboid/Server/main.ini and main_SandboxVars.lua on the Files tab and apply at the next start. New to this? Start a Project Zomboid server first.

Your own
Project Zomboid server.

From $0.03 an hour, only while it runs. New accounts get 6 free tokens.