Clock

版本 v1.7.0·更新於 2026-01-25

v1.7.0 by aedenthorn. Adds a simple configurable clock widget to the screen showing the in-game time of day or a fuzzy representation like Late Afternoon and optionally the current day.

模組介紹 作者原文

Introduction

My name is DrPine. I am uploading some mods that are only over so that everyone can use them Mod Manager with ease. Below is the description.

Developed by aedenthorn

Description

Adds a simple configurable clock widget to the screen showing the in-game time of day or a fuzzy representation like "Late Afternoon" and optionally the current day.

This mod adds a simple but highly configurable time and day display to the game.

Features

You can set:

  • the clock's position on the screen either in pixels or percent (it defaults to top-middle).
  • the font name to use (see below)
  • the font size of the clock text
  • the color and transparency of the clock text
  • a hotkey to toggle the clock display and an optional modifier key (e.g. "left shift")
  • the time format (either something like HH:mm:ss or set to fuzzy to use specified time strings)
  • the actual displayed string to surround the the time with (including simple html tags)

You can also now drag the clock around the screen with the cursor, yay!

You can also customize the fuzzy strings used to divide the day up into custom intervals by editing ClockFuzzyStrings in the config file.

Clock Format

Clock format follows this syntax:

Clock String

The clock supports rich text and uses string.Format() to display the clock string, which you can set in the config file.The string can include up to three variables:

{0} is replaced by the actual time string,

{1} is replaced by the fuzzy string

{2} is replaced by the current day

So, you could put something like:

{0} {1} {2}

to show all three.

Fonts

By default, the mod now uses the game's UI font, AveriaSerifLibre-Bold. If you want to use a different font, here's a list of fonts currently available in the game:

Arial

AveriaSerifLibre-Light

AveriaSerifLibre-Regular

AveriaSerifLibre-Bold

AveriaSerifLibre-Italic

AveriaSerifLibre-BoldItalic

AveriaSansLibre-Light

AveriaSansLibre-Regular

AveriaSansLibre-Bold

AveriaSansLibre-Italic

AveriaSansLibre-LightItalic

AveriaSansLibre-BoldItalic

OpenSans-Light

OpenSans-Regular

OpenSans-LightItalic

OpenSans-Italic

OpenSans-BoldItalic

OpenSans-SemiBold

OpenSans-Bold

OpenSans-ExtraBold

OpenSans-SemiBoldItalic

OpenSans-ExtraBoldItalic

Norse

Norsebold

prstart

prstartk

rune

Just change ClockFontName to one of these.

If you want to use a font installed on your OS (this is untested), set ClockUseOSFont to true and provide the name of your font file, e.g. Arial.ttf. Let me know if it doesn't work. To dump a list of OS fonts to the debug log, type clockmod osfonts into the console (F5).

Config

A config file BepInEx/config/aedenthorn.ClockMod.cfg is created after running the game once with this mod).

You can adjust the config values by editing this file using a text editor or in-game using the Config Manager.

To reload the config from the config file, type clockmod reset into the game's console (F5).

Installation

  • Automated
  • Suggested to use the R2ModMan Mod Manager
  • Manual
  • Copy the ClockMod.dll to your /Valheim/BepInEx/plugins directory

If you want to complain or ask for help or help me test my mods, you can visit my Discord server.

Click here for a list of all my mods for Valheim.

Source Code

Change Log

v1.3.0

  • fix for update

v1.2.0

  • Fix for 0.217.14

v1.1.0

  • Fix for new version

v1.0.0

  • Added keep teleportable items

v0.11.1

  • Fix for keeping hotkeybar items

v0.11.0

  • Bug Fixes

v0.10.0

  • Compatibility Fix

v0.9.1

  • Fix for skill exp loss

v0.9.0

  • Added named item lists

v0.8.1

  • Removed serversync

v0.8.0

  • Fix for new update

v0.7.0

  • Added variable skill reduction
  • Added custom spawn location

v0.6.2

  • Fixed exception

v0.6.1

  • Possible fix for duplicate items

v0.6.0

  • Added option to destroy all items on death

v0.5.2

  • Fix for collection changed

v0.5.1

  • Fi

安裝與使用 安裝:BepInEx 外掛

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

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

檔案與校驗

檔案名稱
Clock-1.7.0.zip
檔案大小
37.8 KiB