How to make nights shorter in Project Zomboid
Set NightLength = 4, in Zomboid/Server/main_SandboxVars.lua on the Files tab and restart the server.
NightLength
How long nights are, from 1 always night to 5 always day. Default 3, normal.
NightLength = <number>, Examples
NightLength = 4, Short nights.
Values
| Value | What it does |
|---|---|
| 1 | Always Night |
| 2 | Long |
| 3Default | Normal |
| 4 | Short |
| 5 | Always Day |
What it does
The time from dusk to dawn.
Good to know
- Set it in
Zomboid/Server/main_SandboxVars.luaon 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.