R.E.P.O.
Install with App

Details

Latest version
1.0.1
Last Updated
First Uploaded
Downloads
3.7K
Likes
1
Size
151KB
Dependants

Player Health Regen

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

Settings (REPOConfig)

  • 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 performs the regeneration scan in multiplayer (default: true)

Multiplayer behavior

The host scans player health components and calls the game's PlayerHealth.HealOther(int, bool) method. The game's method applies healing on the owning player and synchronizes the result through the game's Photon RPC flow.

Version 1.0.1 fixes a null-reference error found in 1.0.0:

  • skips menu avatars, inactive or partially initialized avatars, and players without required runtime objects;
  • only runs during the active gameplay state and when StatsManager is available;
  • disables the optional camera/audio heal effect path, which can be unavailable in some runtime states;
  • throttles unexpected error logging to avoid flooding the game log.

The plugin does not directly write the health field; it continues to use the game's own healing and synchronization logic.

Build

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

Output: build\PlayerHealthRegen.dll.

Thunderstore development is made possible with ads. Please consider making an exception to your adblock.