This is a lightweight server-side Minecraft mod. It disables the vanilla daylight cycle and manually controls world time, making the in-game day follow either the real server clock or your own custom timing rules.
RealtimeSync uses a multi-loader project layout. Do not use one jar for every loader. Download the correct file for your Minecraft version and mod loader.
| Loader | Required file | Notes |
|---|---|---|
| Fabric | realtime-sync-fabric-<mc-version>-<mod-version>.jar |
Requires Fabric API. |
| Quilt | realtime-sync-fabric-<mc-version>-<mod-version>.jar |
Uses the Fabric-compatible jar. |
| Forge | realtime-sync-forge-<mc-version>-<mod-version>.jar |
Native Forge build. |
| NeoForge | realtime-sync-neoforge-<mc-version>-<mod-version>.jar |
Native NeoForge build. |
Each uploaded file is built for a specific Minecraft version and loader. Always check the file name and the CurseForge file game version before downloading.
Important: do not mix files between loaders. A Fabric jar will not work on Forge or NeoForge, and a NeoForge jar will not work on Fabric.
mods folder.mods folder.mods folder.mods folder.RealtimeSync uses one shared config file for all loaders:
config/realtime.properties
Default config example:
enabled=true
forceDaylightCycleOff=true
syncAllWorlds=true
updateInterval=60
offsetHours=0
customDayLengthMinutes=0
debugLogging=false
enabledEnables or disables RealtimeSync without removing the mod.
forceDaylightCycleOffKeeps the vanilla doDaylightCycle gamerule disabled so Minecraft does not fight against the mod's manual time control.
syncAllWorldsSynchronizes time for all loaded worlds and dimensions. Set this to false if you only want to sync the Overworld.
updateIntervalControls how often the mod updates world time, in server ticks. 20 ticks = 1 second.
offsetHoursShifts real-time synchronization forward or backward by the given number of hours. Example: offsetHours=2 makes the in-game time 2 hours ahead of the server clock.
customDayLengthMinutesControls custom day duration. Use 0 to sync with the real server clock. Use a value greater than 0 to make a full Minecraft day last that many real-world minutes.
debugLoggingEnables detailed log messages for troubleshooting. Keep this disabled during normal gameplay.
Older versions used:
config/realtime.toml
Newer versions use:
config/realtime.properties
If realtime.properties does not exist yet, RealtimeSync will try to read the old realtime.toml file once and create the new config automatically.
This usually means the wrong jar was installed for the current loader, the wrong Minecraft version was used, or Fabric API is missing on Fabric/Quilt.
Make sure forceDaylightCycleOff=true is enabled. RealtimeSync controls time manually, so the vanilla daylight cycle should stay disabled.
The config is checked automatically every few seconds. If a value still does not apply, restart the server and check the log for invalid config values.
doDaylightCycle by default.customDayLengthMinutes=0 for real server clock synchronization.customDayLengthMinutes>0 for a custom Minecraft day length.RealtimeSync is licensed under CC0-1.0.