Skip to content
/SLASHPLAY

How to find more generators in Project Zomboid

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

GeneratorSpawning

The chance of generators spawning on the map, from 1 none to 7 abundant. Default 4, rare.

GeneratorSpawning = <number>,

Examples

GeneratorSpawning = 5,

Normal.

Values

ValueWhat it does
1 None (not recommended)
2 Insanely Rare
3 Extremely Rare
4Default Rare
5 Normal
6 Common
7 Abundant

What it does

Generators keep the lights on after the power goes.

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.