Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Playtime Timers (local mod)

A lightweight BepInEx plugin that adds in-game countdown timers you can start/pause anytime.

Features

  • Press F8 to 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.

Build

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.

Install

The build script copies PlaytimeTimers.dll to:

  • BuildDirectory\PlaytimeTimers.dll (from src/info), or
  • the project root if BuildDirectory is not set.

Then launch Valheim with your normal BepInEx profile.

Notes about map/world timestamp

This version stores world-clock anchored timer state when available. If world clock API is unavailable, timers fall back to local unscaled real-time.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages