

PlayerCountFixed is a lightweight BepInEx plugin for R.E.P.O. that adds a clean lobby player counter showing:
Players: current/max
It is designed for players who want a simple, reliable player-count display for normal or expanded lobbies.
PlayerCountFixed displays the number of players currently in the room and the room's maximum player count on the lobby screen using the current Photon room state.
Example:
Players: 3/17
The counter appears in the lobby page using a compact yellow TextMeshPro label.
Expanded-lobby mods are not required. PlayerCountFixed works with expanded-lobby mods that set the Photon room max player count correctly.
PlayerCountFixed follows a conservative runtime flow:
Players: PhotonNetwork.CurrentRoom.PlayerCount/PhotonNetwork.CurrentRoom.MaxPlayers.This means the plugin does not perform repeated global Resources.FindObjectsOfTypeAll scans and does not continuously rewrite UI text every frame.
PlayerCountFixed creates these BepInEx config entries:
UI / Position X (1080p) — default 240.UI / Position Y (1080p) — default 30.UI / Font Size — default 22.UI / Color Mode — default new; values new or old. new colors current/slash/max and turns current red when full; old uses plain all-yellow Players: current/max.Position values are direct RectTransform anchored-position UI units relative to the top-left anchor and are clamped to safe non-negative ranges. The game/Unity UI hierarchy handles final screen scaling. Font size is clamped to a safe positive range. Runtime config changes or explicit config reloads update while the lobby counter exists; plain external .cfg file edits require a config reload or game restart.
Install with Thunderstore Mod Manager / r2modman, or manually copy:
BepInEx/plugins/PlayerCountFixed.dll
into your game's BepInEx plugins folder.