DayNightRobust

版本 v2.0.2·更新於 2026-09-18

Ezvay's DayNight (true configurable day/night length, 40/10 default, synced minimap countdown) but it doesn't break on every point release of Valheim. Required on server and all clients.

模組介紹 作者原文

DayNightRobust

This is Ezvay's DayNight, but it doesn't break on every point release of Valheim.

The original mod checks that the game is exactly version 1.0.12 and switches itself off on anything else, so every Valheim patch leaves you with vanilla 30-minute days until a new build appears. This fork replaces that check with a log warning. Everything else is Ezvay's work, unchanged. All credit for the mod itself goes to them.

What the mod does

  • Real, configurable day and night lengths. Default is 40 real minutes of day and 10 of night. It uses the game's actual calendar and day/night logic, so it is not just a lighting change.
  • Production runs at normal speed. World seconds are not slowed down. Plants, fermenters, cooking and anything else based on timestamps tick along as in vanilla.
  • Synced countdown under the minimap showing time left in the current phase.
  • Sleeping still skips to the next morning.
  • No Jötunn dependency.

Install

Required on the server AND every client. A client without a matching install is disconnected after about 30 seconds.

Install with a mod manager, or drop plugins/DayNight4010.dll into BepInEx/plugins.

Switching from Ezvay's original

The DLL has the same name as the original on purpose. On a manual install, just copy it over the old DayNight4010.dll. In a mod manager, disable or uninstall the original, because both mods use the same plugin ID and only one may be present. Your existing config and calendar files are picked up as-is, and the network protocol is the same as upstream 2.0.x.

Config

BepInEx/config/local.daynight4010.cfg

[General]

Enabled = true

[Cycle]

DayMinutes = 40

NightMinutes = 10

[HUD]

ShowCountdown = true

Language = pl

FontSize = 20

OffsetY = 8

  • Cycle and Enabled are read from the server. Restart the server after changing them. Each phase can be 1 to 1440 minutes.
  • HUD settings are per client. Set Language = en for English countdown text (the upstream default is Polish).
  • Hiding the countdown does not disable synchronisation.

World calendar file

On first run with a player connected, the mod writes BepInEx/config/DayNight4010/world-.calendar. It preserves your current day number and position in the cycle.

Back this folder up with your world and move it with the world if you migrate servers. If you restore an older world backup, restore the matching calendar file too.

Compatibility

  • Do not combine with other mods that control the clock or calendar. The mod detects several of them and disables itself rather than fight.
  • On a game version it has not been checked against, the mod logs a warning and continues. If a future Valheim update actually renames one of the methods it patches, it logs an error naming the method and falls back to vanilla time. Nothing is corrupted.

Checked against Valheim 1.0.14.

安裝與使用 安裝:BepInEx 外掛

  1. 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
  2. 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
  3. 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
  4. 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。

帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。 多人連線時,主機與所有用戶端需要安裝一致的模組。

前置依賴

下面這些內容需要先安裝,否則該模組不會生效:

denikson-BepInExPack_Valheim

檔案與校驗

檔案名稱
DayNightRobust-2.0.2.zip
檔案大小
42.6 KiB