


by Genesis Project
Take control of Valheim’s time itself — extend the light, embrace the dark.
MrDayNight is a simple yet powerful mod that lets you control the duration of day and night in Valheim.
Customize how long the sun shines or how long the shadows last — whether you want endless daylight or a world trapped in eternal night.
Perfect for both server administrators and solo adventurers, it provides fine-grained control over the day/night cycle while staying fully synced across multiplayer worlds.
After launching the game once, the config file will be created at:
BepInEx/config/genesisproj.mrdaynight.cfg
Example:
[Tempo]
## Duração do dia em segundos (default = 1200)
# Setting type: Single
# Default value: 1200
DayLength = 1200
## Duração da noite em segundos (default = 600)
# Setting type: Single
# Default value: 600
NightLength = 600
| Mod | Required | Purpose |
|---|---|---|
| BepInExPack Valheim | ✅ | Core mod loader |
| Jötunn | ✅ | Syncs configurations between server and clients |
EnvMan.m_dayLengthSec based on your chosen values.| Environment | Behavior |
|---|---|
| Dedicated server with Jötunn | Server config is enforced on all clients. |
| Single player | Local configuration applies. |
| Vanilla server (without Jötunn) | Each client uses local config independently. |
Valheim/BepInEx/plugins/
This project is open source under the MIT License.
Feel free to modify or redistribute, crediting Genesis Project.