How to Change the Day/Night Cycle on Your 7 Days to Die Server

Adjust day length and daylight hours on your 7 Days to Die server using DayNightLength and DayLightLength.

Change the Day/Night Cycle

Stop the server

In the XGamingServer Panel, go to Console and stop the server.

Edit serverconfig.xml

Click Files in the sidebar and open serverconfig.xml. Set:

<property name="DayNightLength" value="60" />
<property name="DayLightLength" value="18" />

Save and start

Click Save Content and start from Console.

Settings

SettingDefaultDescription
DayNightLength60Real-time minutes per full in-game 24-hour day
DayLightLength18In-game hours of daylight (out of 24). Default 18 = 18h day, 6h night

Examples

DayNightLengthDayLightLengthEffect
6018Default — 1 real hour per game day, 6h night
12018Double length days — 2 real hours per game day
6022Short nights — only 2 in-game hours of darkness
3018Fast days — 30 real minutes per game day

Changing DayNightLength from the default (60) flags the server as "Modded" in the server browser.

How is this guide?

40% Off — Limited TimeGet your 7 Days to Die server todayInstant setup, DDoS protection, and 24/7 support included.
Get a Server

On this page