You are viewing a potentially older version of this package. View all versions.
SoulEmper0r-PlayerHealthRegen-1.0.0 icon

PlayerHealthRegen

Gradually regenerates player health over time with configurable settings.

Date uploaded 3 weeks ago
Version 1.0.0
Download link SoulEmper0r-PlayerHealthRegen-1.0.0.zip
Downloads 1076
Dependency string SoulEmper0r-PlayerHealthRegen-1.0.0

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2305 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2305
nickklmao-REPOConfig-1.2.7 icon
nickklmao-REPOConfig

Edit mod configs in-game!

Preferred version: 1.2.7

README

Player Health Regen

A BepInEx plugin for REPO v0.5.0 that gradually regenerates player health during gameplay.

Settings (REPOConfig)

The plugin uses standard BepInEx ConfigEntry values, which REPOConfig exposes in its in-game configuration interface.

  • Enabled — turn regeneration on or off (default: true)
  • HealAmount — health restored per tick, 1–25 (default: 1)
  • IntervalSeconds — seconds between ticks, 0.5–120 (default: 5)
  • HostOnly — only the host runs the regeneration scan in multiplayer (default: true)

Multiplayer behavior

The plugin uses the game's own PlayerHealth.HealOther(int, bool) method rather than directly editing health. The game's method handles maximum-health clamping, player ownership, stats persistence and Photon RPC synchronization. The plugin runs the scan on the host by default in multiplayer.

Build

dotnet build .\src\PlayerHealthRegen.csproj -c Release -o .\build

Output: build\PlayerHealthRegen.dll.