Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
InfiniteStamina
Infinite stamina for the local player: no stamina drain, actions never refused, bar stays full. Works with Steam or mod manager launch.
By VRNow
| Date uploaded | a week ago |
| Version | 1.0.0 |
| Download link | VRNow-InfiniteStamina-1.0.0.zip |
| Downloads | 176 |
| Dependency string | VRNow-InfiniteStamina-1.0.0 |
This mod requires the following mods to function
denikson-BepInExPack_Valheim
BepInEx pack for Valheim. Preconfigured with the correct entry point for mods and preferred defaults for the community.
Preferred version: 5.4.2360README
Infinite Stamina
Infinite stamina for the local player in Valheim. No stamina is ever consumed, actions never fail on low stamina, and the bar stays full.
What it does
- Blocks
Player.UseStaminawith a Harmony prefix, so nothing drains stamina: sprinting, jumping, attacking, blocking, dodging, swimming, bow drawing, repairing, sneaking. Player.HaveStaminaalways returnstrue, so attacks, blocks, dodges and jumps are never refused for low stamina.- A postfix on
Player.Updaterefillsm_staminatom_maxStaminaevery frame, so the stamina bar stays visually full. - Only affects
Player.m_localPlayer. Other players and creatures are untouched.
Installation
Requires BepInEx (BepInExPack for Valheim).
- Mod manager: install with the Thunderstore Mod Manager, done.
- Manual: copy
InfiniteStamina.dllto<Valheim>\BepInEx\plugins\.
Important: the plugin has to sit in the BepInEx that is actually loaded. If you start the game through the Thunderstore Mod Manager, the manager uses its own profile BepInEx and ignores the one in the game folder. The mod manager installation handles this for you.
Configuration
Config file: BepInEx\config\com.kevin.valheim.infiniteStamina.cfg
[General]
Enabled = true # infinite stamina on/off, applies instantly
KeepBarFull = true # refill the bar every frame
Notes
- Client-side mod. Stamina is client-authoritative in Valheim, so other players are not affected and no server mod is needed.
- No known incompatibilities. The plugin only touches three Player stamina members.
Changelog
See CHANGELOG.md.
Infinite Stamina (Deutsch)
Unendliche Ausdauer fuer den lokalen Spieler in Valheim. Es wird keine Ausdauer mehr verbraucht, Aktionen scheitern nie an zu wenig Ausdauer, und die Leiste bleibt voll.
Was es macht
- Blockiert
Player.UseStaminaper Harmony-Prefix: kein Verbrauch beim Sprinten, Springen, Angreifen, Blocken, Ausweichen, Schwimmen, Bogenspannen, Reparieren und Schleichen. Player.HaveStaminaliefert immertrue, Angriffe, Blocks, Ausweichen und Spruenge werden also nie wegen fehlender Ausdauer abgelehnt.- Ein Postfix auf
Player.Updatefuelltm_staminajede Frame aufm_maxStamina, die Leiste bleibt voll. - Gilt nur fuer
Player.m_localPlayer. Andere Spieler und Kreaturen bleiben unveraendert.
Installation
Benoetigt BepInEx (BepInExPack fuer Valheim).
- Mod Manager: ueber den Thunderstore Mod Manager installieren, fertig.
- Manuell:
InfiniteStamina.dllnach<Valheim>\BepInEx\plugins\kopieren.
Wichtig: Das Plugin muss in dem BepInEx liegen, das wirklich geladen wird. Startest du ueber den Thunderstore Mod Manager, nutzt der sein Profil-BepInEx und ignoriert das im Spielordner. Bei Installation ueber den Mod Manager passt das automatisch.
Konfiguration
Datei: BepInEx\config\com.kevin.valheim.infiniteStamina.cfg
[General]
Enabled = true # unendliche Ausdauer an/aus, wirkt sofort
KeepBarFull = true # Leiste jede Frame auffuellen
Hinweise
- Client-seitige Mod. Ausdauer ist in Valheim client-autoritativ, andere Spieler sind nicht betroffen, ein Server-Mod ist nicht noetig.
- Keine bekannten Inkompatibilitaeten. Das Plugin fasst nur drei Ausdauer-Member von Player an.
Changelog
Siehe CHANGELOG.md.
Source
Plugin.cs - Plugin-Klasse, Config, Patch-Registrierung
Patches.cs - Harmony-Patches auf Player.UseStamina/HaveStamina/Update
CHANGELOG
1.0.0
- Initial release: infinite stamina for the local player
- Blocks stamina drain, forces HaveStamina to true, keeps the bar full
- Config options: Enabled, KeepBarFull