Sundial
Longer days and shorter nights inside Valheim's own day/night cycle. Pick the daylight share (vanilla 70%, default 80%); sleep, spawns and the day counter stay consistent. Server-synced and version-locked.Changelog
1.0.0 — 2026-09-22
First release, built against Valheim l-1.0.15 (network version 40), BepInEx 5.4.23.5, HarmonyX 2.9.
DaylightPercent(10 to 95, default 80; vanilla 70) sets the share of each cycle that is daylight. On the game's 30-minute cycle, 80 gives 24 minutes of day and 6 of night. The cycle length and the day counter are unchanged, and sleeping wakes you at the new dawn.- Three patches, installed all or nothing:
EnvMan.RescaleDayFraction(prefix),EnvMan.GetMorningStartSecandEnvMan.SkipToMorning(the dawn constant only). - Fails safe: exact-signature binding, a check of the game's code, a refusal list of other day/night mods (matched ignoring case and separators), and a check for other patches on the same methods. Any failure logs one error and leaves vanilla day/night running.
- Settings synced from the server with a forced lock and an exact version match (ServerSync, compiled in from source).
[warp]log line with the day and night minutes, and[cycle]with the real cycle length, once a world is loaded.


