matsu-RepoDeathCounter icon

RepoDeathCounter

Per-save truck death counter: every current player starts at 0, F8 toggles a translucent UI, and MVP scores appear only with RepoLevelMVP. Shop deaths do not count.

By matsu
Last updated a week ago
Total downloads 10424
Total rating 2 
Categories Mods Misc Client-side Server-side AI Generated Quality Of Life
Dependency string matsu-RepoDeathCounter-1.4.6
Dependants 0 other packages depend on this package

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

README

REPO Death Counter

A simple per-player death counter for R.E.P.O., shown in the truck between levels.

Features

  • Shows how many times each player has died, listed in the top-right of the truck lobby.
  • Current players appear with 0 before their first death; saved deaths remain visible after a player leaves.
  • Host-authoritative & synced: the host counts every death and broadcasts the tally to all clients, so everyone sees the same numbers in real time.
  • Late-join friendly: players who join mid-run (e.g. via LateJoinNow) receive the current tally automatically.
  • Large-lobby ready: there is no six-player cap in counting or synchronization. The redesigned scoreboard automatically uses multiple columns and cycles pages only when the full lobby cannot fit.
  • Lightweight truck UI: a compact retained scoreboard uses shared text columns and refreshes only when the tally, awards, or visible page change, leaving the cash and health HUD unobstructed.
  • The panel is moderately translucent. Press F8 to show/hide it for this session; the key and opacity are configurable.
  • Optional MVP integration: RepoLevelMVP awards appear in the same panel only when that mod is installed. DeathCounter alone does not create MVP UI. RepoLevelMVP is not required for death counting.
  • Per-save tally: each save slot has its own count. Loading that save restores its count; a newly created save starts at zero, and GAME OVER clears only the active save's tally.
  • Keyed by Steam ID, so counts stay attached to the right player even after name changes or rejoining.
  • Shop deaths never count. This is enforced by the mod, not a toggle.

Notes

  • BepInEx is the only dependency. There is no REPOLib or other required framework.
  • The lobby host must install the mod for a shared tally. Everyone who wants to see the overlay should install it too; clients running 1.4.6 also send a direct, owner-verified death report to the host.
  • Version 1.4.6 checks the truck panel twice per second, refreshes the current-player roster once per second, and rebuilds text only when data or the visible page changes.
  • The overlay only appears in the truck lobby. Use F8 or the Display / ShowOverlay config option.
  • Death data is stored separately from the game's own save files (under the game's persistentDataPath), so it never touches vanilla save integrity.

Troubleshooting

  • If the header never appears or everyone stays at 0 after a death, confirm that the host has Matsu.RepoDeathCounter.dll as an actual .dll under BepInEx/plugins. Files renamed to .dll.DISABLED or .dll.OFF are intentionally ignored by BepInEx.
  • After launching, BepInEx/LogOutput.log should contain REPO Death Counter 1.4.6 loaded, two Patched PlayerAvatar... lines, and one Patched RunManager.ResetProgress... line. No extra dependency is required.

Config

BepInEx/config/matsu.repo.deathcounter.cfg → [Display]

  • ShowOverlay (default true)
  • Corner — TopRight (default) / TopLeft / BottomRight / BottomLeft
  • FontSize, TitleFontSize — text sizes
  • TextColorHex, TitleColorHex — hex RGB colors (e.g. FFFFFF)
  • SortMode — DeathsAscending (fewest on top, default) / DeathsDescending / NameAscending / NameDescending
  • ShowTotal (default true) — shows a total-deaths badge in the scoreboard header
  • HighlightSelf (default true) — draws your own row in a different color
  • SelfColorHex (default FFD700, gold) — your row's color when HighlightSelf is on
  • BackgroundOpacity (default 0.82, clamped to 0.55–0.95)
  • ToggleKey (default F8) — show/hide the overlay for the current session

Bug reports & requests

Found a bug or have a feature request? Please use this form: https://docs.google.com/forms/d/e/1FAIpQLSfl7f-oNiwjXjd7mUkfQoqBIhbJhQhhfV-ZmovjJVQ9orwuYQ/viewform


REPO Death Counter(日本語)

R.E.P.O. 用の、プレイヤーごとの「死亡回数カウンター」。レベル間のトラック内に表示されます。

特徴

  • 各プレイヤーの死亡回数を、トラック・ロビーの右上に一覧表示します。
  • 現在参加中のプレイヤーは、まだ死んでいなくても 0 と表示します。退出者のセーブ済み死亡数は残ります。
  • ホスト権威&同期: ホストが全員の死亡を集計し、全クライアントへ配信。全員がリアルタイムで同じ数字を見られます。
  • 途中参加対応: ラン途中で参加した人(LateJoinNow など)にも、現在の集計が自動で同期されます。
  • 大人数ロビー対応: 集計・同期に6人の上限はありません。新しいスコアボードは人数に応じて複数列になり、全員が画面に収まらない場合だけ自動でページを切り替えます。
  • トラック内で軽量なUI: 複数人の名前・死亡数を少数の共通テキストで描画し、死亡数・表彰・表示ページが変わったときだけ更新します。既定の右上表示ではゲームの所持金・体力表示を避けます。
  • 背景はやや半透明です。F8 キーでセッション中の表示を切り替えられ、キーと不透明度は設定できます。
  • MVPとの任意連携: RepoLevelMVPを導入している場合だけ、その結果を同じパネルに表示します。DeathCounter単体ではMVP用UIを作りません。死亡数の集計にMVP MODは必要ありません。
  • セーブデータごとに集計: セーブスロットごとに別の死亡数を保持します。該当セーブをロードすると復元され、新規作成したセーブは0から開始、GAME OVERではそのセーブだけをリセットします。
  • キーは Steam ID。改名や再参加をしても、正しいプレイヤーにカウントが紐づきます。
  • ショップでの死亡は常に除外: 設定ではなくMOD側で必ず除外します。

注意

  • 必要な依存MODは BepInEx のみです。REPOLibなどは不要です。
  • 共有カウントにはロビーのホストがMODを導入してください。表示する各クライアントも導入を推奨します。1.4.6のクライアントは、自分の死亡を所有者検証付きでホストへ直接通知します。
  • 1.4.6ではトラックの表示確認を毎秒2回、参加者一覧の更新を毎秒1回とし、データや表示ページに変化があるときだけ文字を描き直します。
  • オーバーレイはトラック・ロビーでのみ表示。F8またはDisplay / ShowOverlay設定でオン/オフできます。
  • 死亡データはゲーム本体のセーブとは別ファイル(persistentDataPath 配下)に保存され、バニラのセーブ整合性には一切触れません。

動かない場合

  • 見出しが出ない、または死亡後も全員が 0 のままの場合は、ホストの BepInEx/plugins 配下に Matsu.RepoDeathCounter.dll が実際の .dll として置かれているか確認してください。 .dll.DISABLED や .dll.OFF にリネームされたファイルは BepInEx が意図的に読み込みません。
  • 起動後の BepInEx/LogOutput.log に REPO Death Counter 1.4.6 loaded、 Patched PlayerAvatar... の2行、Patched RunManager.ResetProgress... の1行が出れば読み込み成功です。追加の依存MODは不要です。

設定

BepInEx/config/matsu.repo.deathcounter.cfg → [Display]

  • ShowOverlay(既定 true)
  • Corner — TopRight(既定)/ TopLeft / BottomRight / BottomLeft(表示コーナー)
  • FontSize, TitleFontSize — 文字サイズ
  • TextColorHex, TitleColorHex — 文字色(16進RGB, 例 FFFFFF)
  • SortMode — DeathsAscending(デス少ない順で上・既定)/ DeathsDescending / NameAscending / NameDescending
  • ShowTotal(既定 true)— 全員の死亡数合計をスコアボード上部のバッジに表示
  • HighlightSelf(既定 true)— 自分の行だけ色を変えて分かりやすく表示
  • SelfColorHex(既定 FFD700, ゴールド)— HighlightSelf 有効時の自分の行の色
  • BackgroundOpacity(既定 0.82、範囲 0.55~0.95)— 背景の不透明度
  • ToggleKey(既定 F8)— セッション中の表示オン/オフ

バグ報告・要望

不具合報告や機能要望はこちらのフォームからお願いします: https://docs.google.com/forms/d/e/1FAIpQLSfl7f-oNiwjXjd7mUkfQoqBIhbJhQhhfV-ZmovjJVQ9orwuYQ/viewform