darkharasho-ForcedFriendship icon

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.

Last updated 12 hours ago
Total downloads 44
Total rating 0 
Categories Client-side Server-side AI Generated
Dependency string darkharasho-ForcedFriendship-0.3.1
Dependants 0 other packages depend on this package

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2100 icon
BepInEx-BepInExPack

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

Preferred version: 5.4.2100

README

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

Installation

Install via Thunderstore 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 Thunderstore-ready zip. Install the zip via r2modman.