You are viewing a potentially older version of this package. View all versions.
ValFox-RecentXpBars-0.13.2 icon

RecentXpBars

Shows the four most recently active skills as XP bars at the bottom of the screen. Bars turn red when you're missing the Rested buff.

By ValFox
Date uploaded 2 weeks ago
Version 0.13.2
Download link ValFox-RecentXpBars-0.13.2.zip
Downloads 105
Dependency string ValFox-RecentXpBars-0.13.2

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2202 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured and includes unstripped Unity DLLs.

Preferred version: 5.4.2202

README

Recent XP Bars

Adds four small XP bars to the bottom of the screen showing your most recently active skills. As soon as you gain XP in a skill, a bar appears for it; the four most recent stay on screen.

preview

Features

  • Four bars tiled across the bottom edge of the screen — one quarter of the window width each
  • Newest skill on the left, oldest on the right (LRU eviction when a fifth skill gains XP)
  • Skill name + current level rendered with a black outline so it's legible against any background
  • Bar fill = progress to next level (resets to ~0 after a level-up)
  • Tick marks split each bar into ten equal segments for quick at-a-glance reading
  • Cylindrical gradient look — bars appear rounded rather than flat rectangles
  • Color flips to red when you don't have the Rested status effect — a quick visual reminder that you're missing the XP gain bonus
  • Auto-scales to any window resolution (windowed and fullscreen both look right)
  • Tracks gains on every skill tick — chopping a tree, blocking a hit, sprinting, crafting all update bars instantly

Configuration

A config file is generated at BepInEx/config/com.foxego.valheim.recentxpbars.cfg after the first launch:

Key Default Description
Enabled true Master toggle.
VerticalOffsetPx 0 Pixels above the bottom edge (1080p-reference units).
BarWidthFraction 0.25 Each bar's width as a fraction of window width. 0.25 = 1/4.
UiScale 1.0 Extra multiplier on top of resolution-based auto-scaling.

Installation

Via Mod Manager (recommended)

Install with r2modman or Thunderstore Mod Manager. Subscribe to the BepInExPack Valheim dependency and this mod; the manager handles the rest.

Manual

  1. Install BepInEx for Valheim.
  2. Drop ValheimRecentXpBars.dll into <Valheim install>/BepInEx/plugins/.
  3. Launch the game.

Notes

  • The "Rested" status-effect lookup uses the same stable-hash key Valheim itself uses, so the red/gold color toggle matches the game's own rested-state check.
  • No assets shipped — all visuals are generated procedurally with IMGUI, so the plugin DLL is under 15 KB.
  • No hard dependency on other mods; only BepInEx is required.

Contact

Bug reports, feature requests, and feedback welcome on Discord: discord.gg/5JY7RHfHjF

CHANGELOG

Changelog

All notable changes to this mod are documented here. Format loosely follows Keep a Changelog. Versions follow SemVer.

[0.13.2] - 2026-06-04

Added

  • Contact section in the README with a Discord invite for bug reports, feature requests, and feedback.

[0.13.1] - 2026-06-04

Changed

  • Preview screenshot in the README now references an externally hosted image URL instead of an embedded base64 data URL (Thunderstore's markdown renderer strips data: URLs).

[0.13.0] - 2026-05-28 — Initial Thunderstore release

Added

  • Four XP bars tiled across the bottom of the screen showing the most recently active skills (LRU eviction once a fifth distinct skill gains XP).
  • Newest skill on the left, oldest on the right.
  • Bar fill represents progress to the next level; updates on every XP tick (not just level-ups).
  • Tick marks dividing each bar into ten equal segments for at-a-glance reading.
  • Cylindrical vertical gradient on bar fills and backgrounds — bars appear rounded rather than flat.
  • Black 1-pixel text outline so skill name + level stays legible against any background.
  • Bars turn red when the player does not have the Rested status effect — a visual warning that the XP-gain bonus is missing.
  • Auto-scales to any window resolution via a 1080p reference matrix; works correctly in windowed and fullscreen modes.
  • Config file with toggles for enabled state, vertical offset, bar-width fraction, and an extra UI scale multiplier.
  • No hard dependency on any other mod beyond BepInEx.

Technical notes

  • Harmony patch on Skills.RaiseSkill with a Prefix/Postfix pair that snapshots (level, GetLevelPercentage) via Traverse into the private Skills.GetSkill, since the public GetSkillFactor returns level/100 rather than progress within the current level.
  • Rested-buff detection uses the same GetStableHashCode key the game itself uses, so the red/gold toggle stays in sync with Valheim's own rested check.
  • All visuals are procedurally generated IMGUI textures — no asset bundles, no shipped images. Plugin DLL is ~13 KB.