R.E.P.O.
You are viewing a potentially older version of this package. View Latest Version
Install with App

Details

Date Uploaded
Downloads
4.5K
Size
148KB

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.

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