A lightweight BepInEx plugin that adds in-game countdown timers you can start/pause anytime.
- Press
F8to open/close the timer window. - Create multiple timers with custom name + duration.
- Start, pause, reset, extend (
+1m), delete. - Timers use server/world clock when available, so they advance even if others stay on the server.
- Sleeping or other time acceleration does not speed up these timers.
- Optional auto-start for a 4-hour Royal Jelly (Infested Mine) timer when you leave an Infested Mine.
- Timer state is saved in BepInEx config and restored on next launch.
From this folder:
.\build.ps1 -ValheimDir "C:\Program Files (x86)\Steam\steamapps\common\Valheim"If your game is installed elsewhere, pass that path to -ValheimDir.
You can also configure paths in src/info:
ValheimDir=D:\Program Files (x86)\Steam\steamapps\common\Valheim
WorkDirectory=C:\Users\Martijn\AppData\Roaming\r2modmanPlus-local\Valheim\profiles\Default\BepInEx\Unknown-PlaytimeTimers.dll
BuildDirectory=C:\Users\Martijn\AppData\Roaming\r2modmanPlus-local\Valheim\profiles\Default\BepInEx\plugins\Unknown-PlaytimeTimers.dll
build.ps1 reads BuildDirectory from src/info and copies PlaytimeTimers.dll there after a successful build.
The build script copies PlaytimeTimers.dll to:
BuildDirectory\PlaytimeTimers.dll(fromsrc/info), or- the project root if
BuildDirectoryis not set.
Then launch Valheim with your normal BepInEx profile.
This version stores world-clock anchored timer state when available. If world clock API is unavailable, timers fall back to local unscaled real-time.