DayZ | How To: Custom Day/Time Settings Print

  • DayZ How To Custom Day/Time Settings, Custom Day/Time Settings, DayZ Custom Day/Time Settings
  • 2

Use The Code Zombie To Grab A 10% Discount On All DayZ Standalone Servers Here

  1. Stop your server.

  2. Click "Configuration Files"

  3. Click "Configuration Editor" next to 'serverDZ.cfg'

  4. Find 'Time Acceleration' and modify according to the text in bold
    // Accelerated Time (value 0-24) // This is a time multiplier for in-game time. In this case time would move 24 times faster than normal, an entire day would pass in one hour.

  5. Find 'Server Night Time Acceleration' and modify according to the text in bold:
    // Accelerated Night Time - The numerical value being a multiplier (0.1-64) and also multiplied by Time Acceleration value. Thus, in case it is set to 4 and Time Acceleration is set to 2, nighttime would move 8 times faster than normal. An entire night would pass in 3 hours

  6. Save the file in the top left.


If you can't figure this out, submit a support ticket, and we will help you with this directly.


  1. Stop your server in your game panel
    2. Connect to your server via FTP (Guide here)
    3. Navigate to the following directory: /MPmissions/dayzOffline.chernarusplus
    4. Download a copy of Capps' Custom DayZ SA Time. You can get a copy of the "Scripts" folder Here
    5. Exact the "Scripts" folder into your MPMissions\dayzOffline.chernarusplus directory via FTP
    6. Open your Init.c file (MPMissions\dayzOffline.chernarusplus\init.c) by downloading it to your computer via ftp and opening it with notepad (preferably notepad ++)

    7. At the top of the Init.c file add the below text above void main()
   #include "$CurrentDir:\\mpmissions\\dayzOffline.chernarusplus\\Scripts\\cappsTimeLoop.c"  
   int setStartHour = 10;   
   int setStopHour = 16; 

8. To configure the script you will want to adjust the startHour and stopHour. To get an idea, 0 is 12:00am and 23 is 11:00pm
9. Next add the below text just underneath void main() but above { you will want to add


10. Next scoll down to find override void StartingEquipSetup(PlayerBase player, bool clothesChosen) which is below class CustomMission: MissionServer:
11. Add the following code:

 override void TickScheduler (float timeSplice)
		if( m_Players.Count() == 0 ) return;
		for(int i = 0; i < SCHEDULER_PLAYERS_PER_TICK; i++)
	     if(m_currentPlayer >= m_Players.Count() )
	        m_currentPlayer = 0;
	     PlayerBase currentPlayer = PlayerBase.Cast(m_Players.Get(m_currentPlayer));

		//Ignore above code that is required to keep food,drink and other survival elements working

		int currentTime = GetGame().GetTime() * 0.001;
		static int newTime = 0;
		int timeDelay = 180;
		if (currentTime >= newTime + timeDelay)
			//GetGame().ChatPlayer(1,"3 minute check on reset!");//for debug pruposes
			//GetGame().ChatPlayer(1,"Passed the time switch call");//for debug pruposes
			newTime = currentTime;

12. Save the edited init.c file to your pc then upload it to your server via ftp overwriting the one already there (again this goes into MPMissions\dayzOffline.chernarusplus)
13. Start your server in the game panel

Looking for a game server host known for brilliant 24/7 customer support and quality hardware?
Try a Pingperfect DayZ Standalone server today!

Was this answer helpful?

« Back