Dayz | Changing Night Time Speeds for dayz
To change the night time speeds in your DayZ server, you'll need to modify certain values in the serverDZ.cfg
file. Here's a step-by-step guide on how to do it:
- Locate the
serverDZ.cfg
file in your DayZ server's directory. This file contains various configurations for your server, including time settings.
-
The serverTime value determines the initial in-game time of your server. You have two options for this setting:
- Set the serverTime to
SystemTime
to use the local time of your machine. - Alternatively, you can set a specific time in the
YYYY/MM/DD/HH/MM
format. For example,2015/4/8/17/23
represents the date and time ofApril 8, 2015, at 5:23 PM.
- Set the serverTime to
-
The serverTimeAcceleration setting controls the time multiplier for in-game time. The value can range from
0
to24
, where:0
means time is frozen, and the game will stay at the same time forever.1
means time moves at the same speed as normal real-time.- Values above 1 will accelerate in-game time. For instance, setting it to 2 means a day will pass in one hour.
-
The serverNightTimeAcceleration setting is a multiplier for night time specifically. Its value can range from 0.1 to 64. This setting is also influenced by the serverTimeAcceleration value. For example:
- If serverNightTimeAcceleration is set to
4 and serverTimeAcceleration is
2, night time will move 8 times faster than normal, and a full night will pass in
3` hours. - To have a night that lasts
22.5
minutes in the game, set serverNightTimeAcceleration to64
. But remember, this will only work if serverTimeAcceleration is set to1
.
- If serverNightTimeAcceleration is set to
-
Enable Persistent Time
(optional):
If you want the server time to be saved and used when the server restarts, setserverTimePersistent
to1
. This will allow the server to use the saved time value upon restart. -
Save the Changes: After adjusting the values as per your preferences, save the
serverDZ.cfg
file. -
Restart the Server: To apply the changes, restart your DayZ server. The new time settings should take effect after the restart.