You are viewing a potentially older version of this package. View all versions.
Azumatt-AzuClock-1.1.0 icon

AzuClock

Simple clock for in-game time. Weather and forecast. Easy configuration.

Date uploaded 2 days ago
Version 1.1.0
Download link Azumatt-AzuClock-1.1.0.zip
Downloads 9648
Dependency string Azumatt-AzuClock-1.1.0

README

Description

A mod, that adds a configurable clock to the game.

This mod uses a file watcher. If the configuration file is not changed with BepInEx Configuration manager, but changed in the file directly, upon file save, it will automatically apply the settings.


To change the mod's settings, edit the file BepInEx/config/Azumatt.AzuClock.cfg (created after running the game once with this mod) using a text editor.

You can adjust the config values in-game using the Configuration Manager.

Clock Format follows this syntax:

https://docs.microsoft.com/en-us/dotnet/standard/base-types/custom-date-and-time-format-strings

Clock String tokens

Clock String is whatever you want it to be. Rich text works (<b>, <size>, <color>), newlines work, and these tokens get replaced:

Token What you get
{gametime} In-game time of day, using Clock Format
{realtime} Your actual clock, using Clock Format
{realdate} Your actual date, using Clock Real Date Format
{day} Current in-game day number
{fuzzy} Word for the current slice of the day, from Clock Fuzzy Strings
{tod} Day or Night
{biome} Biome you're standing in
{weather} Current weather
{nextweather} Weather for the next period
{weatherin} Countdown until the weather changes
{forecast} The next few weather periods in a row
{wind} Wind arrow and strength
{winddir} Wind compass point (N, NE, ...)
{windint} Wind strength as a percent
{windforecast} A row of arrows for where the wind is heading
{sunrise} Countdown to sunrise
{sunset} Countdown to sunset
{nextlight} Countdown to whichever of the two comes first
{nextday} Countdown to the day counter ticking over
{sleepin} Countdown until you're allowed to sleep

The old positional placeholders still work: {0} game time, {1} fuzzy, {2} day, {3} real time. Write {{ if you want a literal brace.

The weather forecast is rolled the same way the game rolls it, off the same seed, so it's what you'll actually get rather than a guess. It's per-biome, so it changes when you walk into a new one.

Note that if you use a countdown token together with Show Clock On Change, the text changes every second and the clock will never fade out.

Installation Instructions

You must have BepInEx installed correctly! I can not stress this enough.

Manual Installation

Note: (Manual installation is likely how you have to do this on a server, make sure BepInEx is installed on the server correctly)

  1. Download the latest release of BepInEx.
  2. Extract the contents of the zip file to your game's root folder.
  3. Download the latest release of AzuClock from Thunderstore.io.
  4. Extract the contents of the zip file to the BepInEx/plugins folder.
  5. Launch the game.

Installation through r2modman or Thunderstore Mod Manager

  1. Install r2modman or Thunderstore Mod Manager.

    For r2modman, you can also install it through the Thunderstore site.

    For Thunderstore Mod Manager, you can also install it through the Overwolf app store

  2. Open the Mod Manager and search for "AzuClock" under the Online tab. Note: You can also search for "Azumatt" to find all my mods.

    The image below shows VikingShip as an example, but it was easier to reuse the image.

  3. Click the Download button to install the mod.

  4. Launch the game.



Feel free to reach out to me on discord if you need manual download assistance.

Author Information

Azumatt

DISCORD: Azumatt#2625

STEAM: https://steamcommunity.com/id/azumatt/

For Questions or Comments, find me in the Odin Plus Team Discord or in mine:

https://i.imgur.com/XXP6HCU.png

CHANGELOG

Version Update Notes
1.1.0 - Named tokens in the clock string ({gametime}, {weather}, {nextweather}, {weatherin}, {forecast}, {wind}, {windforecast}, {sunrise}, {sunset}, {nextday}, {sleepin}, {biome}, {tod}, {realdate} and friends). The old {0}-{3} still work.
- Weather forecast, predicted the same way the game rolls it, so it matches what you actually get.
- Countdowns are real seconds, not day fractions, so they line up with the clock.
- Clock text is rebuilt on a timer instead of on every OnGUI event.
- Config changes apply live, no world reload.
- Position is parsed and saved culture-invariant, keeps its percent units, follows resolution changes and can be clamped on screen.
- Optional 4-way outline, hide-with-map and hide-in-menus toggles.
1.0.5 - Update ServerSync
- [Recommended to delete the configuration file and let it regenerate on game boot!] Change some default configurations, remove realtime string config option as it's now allowed to use {3} in the string format to display that. Better example string given for the defualt value on Clock String.
1.0.4 - No change to code, bumping version to show I cared to look at the mod after Valheim's Bog Witch update
1.0.3 - No change to code, bumping version to show I cared to look at the mod after Valheim's latest update (0.217.46).
1.0.2 - No change to code, bumping version to show I cared to look at the mod after Valheim's latest update.
1.0.1 - Add an explicit configuration for displaying Realtime
1.0.0 - Initial Release