RealTimeSync

by deathharmony09
RealTimeSync

Summary

Syncs game time with real UTC every minute. Supports timezone offset, date, and location. Runs server-side only. Configuration via JSON file. Enables accurate 1:1 real-time progression.

Description

The RealTimeSync mod synchronizes the in-game time and optionally the date, latitude, and longitude with the real-world UTC time and system settings. This allows for a persistent, real-time environment on your server.

Features:
  - Synchronizes in-game time with real UTC time
  - Supports optional timezone offset (e.g., UTC+2)
  - Optionally synchronizes the current date
  - Optionally sets latitude and longitude based on config values

Forces 24-hour day duration for 1:1 real-time progression
Drift tolerance logic to avoid unnecessary time corrections

Upon first launch, the following config file will be created in your profile folder:

DEH_RealTimeSyncConfig.json
Example content:

{
  "timezoneOffset": 2,
  "syncDate": true,
  "latitude": 51.2562,
  "longitude": 7.1508,
  "useLongLat": true
}

timezoneOffset: applies an offset to UTC (e.g., 2 = UTC+2)
syncDate: whether to sync the real-world date (true/false)
latitude / longitude: used if useLongLat is set to true
useLongLat: enables or disables manual location sync

Technical Details
Sync interval: every 60 seconds
Time corrections only apply if drift exceeds 10 seconds
The mod runs server-side only and does not affect clients directly

License

Arma Public License (APL)

Rating
100%
Version
1.0.2
Game Version
1.3.0.170
Version size
111.54 KB
Downloads
687
Created
02.05.2025
Last Modified
11.05.2025
ID
654424D13ECFE3C0