Source-checkedQuality of life & UI

MrDayNight

by GenesisProject · for Valheim

MrDayNight is a simple yet powerful mod that lets you control the duration of day and night in Valheim.

2.9KDownloads
13 mo agoLast updated
BepInExLoaders
ThunderstoreSource

About MrDayNight

From Thunderstore

MrDayNight is a simple yet powerful mod that lets you control the duration of day and night in Valheim.

🕰️ MrDayNight

by Genesis Project

> Take control of Valheim’s time itself — extend the light, embrace the dark.


📜 Overview

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.


⚙️ Features

  • ✅ Customize day length and night length individually (in seconds).
  • ✅ Fully synchronized across clients when used on a server with Jötunn.
  • ✅ Automatically enforces server settings — players cannot override them.
  • ✅ Works in single player (local settings) and multiplayer (server-synced).
  • ✅ Clean logs and 100% compatible with all environment mods.

🔧 Configuration

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

🧩 Dependencies

| Mod | Required | Purpose | |------|-----------|----------| | BepInExPack Valheim | ✅ | Core mod loader | | Jötunn | ✅ | Syncs configurations between server and clients |


🧠 How It Works

  • When a world starts, MrDayNight hooks into the EnvMan initialization.
  • The mod sets EnvMan.m_dayLengthSec based on your chosen values.
  • On servers, these values are propagated to all connected players automatically.
  • In single player, your local config values are used.

🏰 Server Behavior

| 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. |


🧑‍💻 Technical

  • Built using BepInEx 5.4+, HarmonyX, and Jötunn 2.26.1.
  • Written in C# targeting .NET Framework 4.8.
  • Thread-safe, no reflection abuse, and uses clean Harmony patches.

📦 Installation

  1. Install BepInExPack for Valheim.
  2. Install Jötunn.
  3. Extract the contents of this mod to:
   Valheim/BepInEx/plugins/
  1. Launch the game.
  2. Configure and enjoy your custom day/night balance.

🧙‍♂️ Credits

  • Developed by BRKiHeL / Genesis Project
  • Built with Jötunn Modding Framework
  • Inspired by Valheim’s mystical world and community creativity

🐉 License

This project is open source under the MIT License. Feel free to modify or redistribute, crediting Genesis Project.

Highlights

From source data

Loaders

Runs on BepInEx.

Footprint

Rated a light load on a server.

Dependencies

Needs 1 other project installed alongside it.

MrDayNight on Nxeon

From our catalogue
One-click install
Supported on Nxeon Valheim servers, for BepInEx servers. We download it from Thunderstore, place it, and restart the server.
Server side
Optional on the server
Server type needed
BepInEx
Server load
light
Smallest plan we suggest
Valheim — 4 GB (4 GB RAM). This follows our own load rating above, not a benchmark.
Latest build
1.0.0, released 2025-10-21

Game versions by loader

LoaderGame versionsNewest
BepInEx

From 1 recorded build of MrDayNight.

Dependencies

Declared by the newest build that lists any. Required ones are installed with it on one-click installs.

Run MrDayNight on a Valheim server

Pick a server or deploy a new one above; it is installed in one click.

What kind of mod it is

From the catalog
Listed on Thunderstore as “Tweaks”

Quality of life & UI

Small conveniences, tweaks and interface improvements players notice straight away.

Works on a server

From source side support

Thunderstore lists server-side support for MrDayNight as optional: it can run on a server, but isn’t required there.

Compatibility

Game
Valheim
Loaders
BepInEx
Runs on
Serveroptional on the server
Requires
One-click install needs a BepInEx server. 1 other project installed alongside it.

Verified at the source

  • ✓ThunderstoreOfficial listing, checked 2026-10-02Open ↗
  • ✓AuthorGenesisProject, as published on Thunderstore
  • ✓LicenseNot published by the sourceFree

MrDayNight, answered

Generated from the mod’s own source data.

Do my players need to install MrDayNight?

Thunderstore lists server-side support for MrDayNight as optional: it can run on a server, but isn’t required there.

Which loaders does it support?

BepInEx.

Is it free?

Yes. MrDayNight is free to download from Thunderstore.

How do I add it to my Nxeon server?

Use “Add to a server” on this page, or open NxLabs from your dashboard. We install it, restart your server and switch it on.

NxLabs

Run MrDayNight on a Valheim server.

Deploy in about a minute from $9.99 a month, then add MrDayNight in one click.