Skip to content
/SLASHPLAY

How to make generators use less fuel in Project Zomboid

Set GeneratorFuelConsumption = 0.05, in Zomboid/Server/main_SandboxVars.lua and restart the server.

GeneratorFuelConsumption

How much fuel a generator uses per in-game hour. Default 0.1.

GeneratorFuelConsumption = <number>,

Examples

GeneratorFuelConsumption = 0.05,

Half the fuel.

What it does

Lower it to make fuel last longer.

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.