


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 use expanded-lobby mods and want a simple, reliable player-count display without stutter, repeated console errors, or expensive UI scanning.
PlayerCountFixed is not a patched, forked, or repackaged version of any existing player-count mod.
This is a completely new plugin built from scratch. It only uses the same general idea of displaying the lobby player count. The implementation avoids the known problems reported in similar mods, including per-frame text writes, repeated global UI scans, and noisy error logging.
PlayerCountFixed displays the number of players currently in the room and the room's maximum player count on the lobby screen.
Example:
Players: 3/17
The counter appears in the lobby page using a compact yellow TextMeshPro label.
PlayerCountFixed can read the host-side configured max player value from these commonly used expanded-lobby mods when you are hosting:
These mods are not required. If none of them are loaded, PlayerCountFixed falls back to the room max value reported by Photon.
PlayerCountFixed follows a conservative runtime flow:
This means the plugin does not perform repeated global Resources.FindObjectsOfTypeAll scans and does not continuously rewrite UI text every frame.
If you are the room host / Photon master client, PlayerCountFixed reads the configured maximum player count from the loaded expanded-lobby mod when possible:
General / MaxPlayers; 0 is treated as the default 6 players.General / Max Players.General / MaxPlayersPublic or General / MaxPlayersPrivate depending on whether the current room is public or private.If config reading fails for any reason, the display safely falls back to PhotonNetwork.CurrentRoom.MaxPlayers.
When you join another player's room, PlayerCountFixed does not use your local expanded-lobby config. Your local config may not match the host's settings.
Instead, joined-room clients display the actual max player value reported by Photon for that room.
This prevents wrong displays such as showing your local 20 player config when the host actually created a 10 player room.
Install with Thunderstore Mod Manager / r2modman, or manually copy:
BepInEx/plugins/PlayerCountFixed.dll
into your game's BepInEx plugins folder.
MorePlayersSimple > MorePlayers > RoboUnion.PlayerCountFixed was created to provide the same useful lobby information that players want, while avoiding the reliability and performance issues seen in similar player-count display mods.
It is intentionally small, focused, and defensive: