ForcedFriendship
Take damage over time when you're not within a configurable distance of another player; the farther away you are, the faster the damage ticks.
About this mod Author’s original text
ForcedFriendship
A R.E.P.O. mod that punishes wandering off alone. If you aren't within a configurable distance of another player, you start taking damage over time — and the farther away you are, the faster the damage ticks. Stick together. Choose whether your lifeline is the nearest player or the nearest cart, and a colored tether beam shows you how safe you are at a glance.
Configuration
Config file: BepInEx/config/darkharasho.ForcedFriendship.cfg. All numeric settings are whole numbers.
| Key | Section | Default | Meaning |
|-----|---------|---------|---------|
| Enabled | General | true | Master on/off switch |
| AnchorMode | General | Buddy | Buddy = stay near the nearest living player; Cart = stay near the nearest hauling cart |
| SafeDistance | General | 20 | Units within which your anchor keeps you safe (1–100) |
| BandWidth | General | 8 | Units per additional damage band beyond the safe radius (1–100) |
| DamagePerBand | General | 5 | HP per tick, multiplied by the band number (1–100) |
| TickInterval | General | 2 | Seconds between damage evaluations (1–30) |
| IncludeHeight | General | false | If true, vertical distance counts; default false so different floors of one tall room stay safe |
| GracePeriod | General | 30 | Seconds of safety after leaving the truck before damage can start (0–60; 0 disables) |
| Enabled | Beams | true | Draw a tether beam from each player to their anchor |
| ShowAllPlayers | Beams | true | Show every player's beam; if false, only your own |
| AlwaysShow | Beams | true | Always draw the tether; if false, the beam hides while safe and only appears in the warn/danger zone |
| WarnPercent | Beams | 25 | Outer % of SafeDistance where the beam turns yellow before red (0–100; 0 disables yellow) |
| Width | Beams | 2 | Tether thickness (1–20; 1 = thinnest, approximates the grab beam) |
| Opacity | Beams | 40 | Beam opacity % (1–100; lower is more translucent) |
| Colorblind | Beams | false | Colorblind-friendly palette (blue/yellow/red) instead of green/yellow/red — local to you |
| StatusIndicator | Beams | false | Subtle screen-edge border tinted by your current safety color — local to you |
The gameplay rule (Enabled, AnchorMode, SafeDistance, BandWidth, DamagePerBand,
TickInterval) is taken from the host and synced to everyone, so each client's beams match
the host-authoritative damage. Beam display prefs (Beams/*) are local to each client.
A tether is always drawn to your anchor — your nearest buddy in Buddy mode, your nearest cart
in Cart mode — and its color tells you how safe you are (green safe, yellow approaching the
edge, red taking damage). Standing in the extraction truck is a safe zone: no damage, and
the beam stays green. The mod is active during level gameplay only (not the shop or lobby), and
dead players are never damaged.
Dependencies
- BepInExPack
Installation
Install Mod Manager / r2modman, or manually place ForcedFriendship.dll in BepInEx/plugins/ForcedFriendship.
Building
GAME_DIR="/path/to/REPO"./package.sh
Builds the DLL and produces a -ready zip. Install the zip via r2modman.
Install & use Install: BepInEx plugin
- The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
- Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
- Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
- Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.
Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file.
Install these first, or the mod will not work: