DayTimeCountdown
Display day count and a how much of the current day or night is left (in minutes/seconds)
模組介紹 作者原文
Valheim UI Mod - Display Day & Time Countdown
Simple UI mod that near the minimap, displays both the day count and a how much of the current day or night is left (in minutes/seconds). This is a modified version of the mod Display Day and Time in HUD, which displays an in-game clock rather than a countdown in IRL.
Prerequisites
- Install a mod manager like R2Modman.
- Install BepInExPack Valheim with mod manager.
Install
Install DayTimeCountdown with mod manager.
Build from source
- Install.NET SDK (Core 3.1 or later) from Microsoft.
- Download source code from GitHub.
- Build release with.NET CLI command: dotnet build -c Release
- Import generated ValheimDayTimeCountdown.zip as local mod using mod manager.
Configuration
The configuration file for this mod is automatically generated the first time you run the game with the mod installed. You can find it in your local
BepInEx config directory (BepInEx\config\ValheimDayTimeCountdown.cfg).
You can customize the following settings in the configuration file:
- Display under minimap: Default is false. If set to false, the panel appears above the minimap; if set to true, it appears below.
- Display time: Default is true. Enables or disables the time countdown display.
- Display day: Default is true. Enables or disables the day count display.
- Display background: Default is true. Shows or hides the background panel behind the text.
- Font name: Default is AveriaSansLibre-Bold. If this font is not available in resources, it will fall back to the default.
- Font size: Default is 16. Sets the size of the displayed text.
- Font color: Default is RGBA(1, 1, 1, 0.791). Sets the color and transparency of the text.
- Background color: Default is RGBA(0, 0, 0, 0.3921569). Sets the color and transparency of the background panel.
- Text outline color: Default is black. Sets the color of the text outline.
- Text outline enabled: Default is true. Enables or disables the text outline.
- Margin between minimap and panel: Default is 0. Sets the space between the minimap and the panel.
- Padding (left and right): Default is 10. Sets the horizontal padding between the text and the panel border.
- Reverse text position: Default is false. If set to true, the time is displayed on the left and the day on the right.
- Panel width: Default is 200. Sets the width of the panel.
- Panel height: Default is 30. Sets the height of the panel.
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。 多人連線時,主機與所有用戶端需要安裝一致的模組。
下面這些內容需要先安裝,否則該模組不會生效: