It's a common issue every server is having right now.
This fix is supposed to skip skip night, so when it's 8PM the server will set ti's time to 7AM:
1. Open Mpmissions - dayzOffline.chernarusplus - init.c
2. At the top add:
#include "$CurrentDir:\\mpmissions\\dayzOffline.chernarusplus\\Correct_InGame_time.c"
3. under the line: weather.SetWindFunctionParams
add: GetGame().GetCallQueue(CALL_CATEGORY_GAMEPLAY).CallLater(Correct_InGame_time, 1000, true);
4. Create a file manually with the name "Correct_InGame_time.c" and fill it with the following text:
static void Correct_InGame_time()
{
private int year, month, day, hour, minute;
GetGame().GetWorld().GetDate( year, month, day, hour, minute );
if ((hour < 7) || (hour >= 20))
{
if (hour < 7)
{
GetGame().GetWorld().SetDate(year, month, day, 7, 3);
}
if (hour >= 20)
{
GetGame().GetWorld().SetDate(year, month, (day + 1), 7, 3);
}
}
}