Guide

Raid Hours

Pick the days and times players can raid with code lock tools, C4 and the Hack Laptop.

Introduction

Raid hours decide when players can raid. The same raidHours setting is in 3 files, each with its own list, so you can give each one different hours:

FileWhat stops outside raid hours
Codelock\HM_Settings_Codelock.json (Code Lock)Breaking a code lock with a tool ("Destroy Codelock").
HM_C4\HM_Settings_C4.json (C4)Arming a C4. Trees can always be blown up.
HM_Laptop\HM_Settings_Laptop.json (Hack Laptop)Starting a hack (START on the laptop).

Restart the server after you change them.

The settings

raidHours is a list. Each line opens raiding for a while:

SettingWhat it does
WeekdayThe day it starts: Sunday, Monday, Tuesday, Wednesday, Thursday, Friday or Saturday.
StartHourThe hour it starts, 0 to 23 (24-hour clock: 18 is 6 PM).
StartMinuteThe minute it starts, 0 to 59.
DurationMinutesHow long raiding stays allowed, in minutes. 60 is an hour, 1440 a whole day. It can go past midnight into the next day.
  • The time is the server PC's clock, not the players' clocks.
  • Raiding is allowed when any line is open right now.
  • A line with a day name that doesn't exist, or a duration of 0, is skipped (the HM log says so).

What players see

Outside raid hours the action stops right away and the player sees "Raiding is not allowed right now." in their game language.

Something started in time is never cut off: a C4 armed in time still explodes and does its damage, and a hack that's running can still finish after the hours end.

The default

Every day from 0:00 for 1440 minutes, so raiding is always allowed. If raidHours is missing or empty, raiding is always allowed too.

raidHours9 lines
"raidHours": [
    { "Weekday": "Sunday", "StartHour": 0, "StartMinute": 0, "DurationMinutes": 1440 },
    { "Weekday": "Monday", "StartHour": 0, "StartMinute": 0, "DurationMinutes": 1440 },
    { "Weekday": "Tuesday", "StartHour": 0, "StartMinute": 0, "DurationMinutes": 1440 },
    { "Weekday": "Wednesday", "StartHour": 0, "StartMinute": 0, "DurationMinutes": 1440 },
    { "Weekday": "Thursday", "StartHour": 0, "StartMinute": 0, "DurationMinutes": 1440 },
    { "Weekday": "Friday", "StartHour": 0, "StartMinute": 0, "DurationMinutes": 1440 },
    { "Weekday": "Saturday", "StartHour": 0, "StartMinute": 0, "DurationMinutes": 1440 }
]

Examples

Friday and Saturday, from 18:00 to 02:00 the next morning:

raidHours4 lines
"raidHours": [
    { "Weekday": "Friday", "StartHour": 18, "StartMinute": 0, "DurationMinutes": 480 },
    { "Weekday": "Saturday", "StartHour": 18, "StartMinute": 0, "DurationMinutes": 480 }
]

The whole weekend (Saturday 0:00 to Sunday 23:59):

raidHours3 lines
"raidHours": [
    { "Weekday": "Saturday", "StartHour": 0, "StartMinute": 0, "DurationMinutes": 2880 }
]

Every evening from 20:00 to 23:00: one line per day, each with "StartHour": 20 and "DurationMinutes": 180.

Check it in the log

When the server starts, the HM log shows the server time and whether raiding is on, one line per file:

HM log3 lines
HM_RAID (Code Lock): Server time Monday 2026-11-23 08:21 (UTC+1). Raiding is always ON.
HM_RAID (C4): Server time Monday 2026-11-23 08:21 (UTC+1). Raiding is OFF now, next raid time Friday 18:00.
HM_RAID (Hacking Laptop): Server time Friday 2026-11-27 19:05 (UTC+1). Raiding is ON now, until Saturday 02:00.

If the time looks wrong, check the clock and time zone of the server PC.