MuteAndHostMarker
【Client MOD】Marks players who muted their own mic, players you set to zero volume, and the current host.本人ミュート中、自分側音量0、現在ホストを名前表示でマーキングします。
模組介紹 作者原文
COMPATIBLE WITH COSMETICS UPDATE V0.4.0.
MuteAndHostMarker
This mod is a client-only mod that marks voice and host status directly on player names.
It only changes local UI text on your own client.
It does not sync anything to other players and does not require the host or other participants to install it.
Features
- Shows a red [M] before players who muted their own microphone.
- Applies strikethrough to player names when your local voice volume for that player is zero.
- Shows a yellow ★ before the current host from participant view.
- Supports world nameplates, the lobby player list, and the ESC player voice list.
- Preserves existing name decorations from other mods where possible.
- Uses difference-based text updates to reduce unnecessary TMP_Text writes.
Display Examples
| Status | Display |
| --- | --- |
| Normal player | PlayerName |
| Player muted their own mic | [M] PlayerName |
| Your local volume for the player is zero | PlayerName with strikethrough |
| Current host from participant view | ★ PlayerName |
| Host and self-muted | ★ [M] PlayerName |
| Host, self-muted, and local volume zero | ★ [M] PlayerName with player name strikethrough |
Behavior Notes
[M] means the target player has muted their own microphone.
It does not mean you muted that player.
Strikethrough means your own client has that player's received voice volume set to zero.
This is local to you.
The host marker is shown only from participant view by default.
If you are the host, the mod does not mark yourself as host unless the config allows it.
Installation
- Install BepInEx 5 for R.E.P.O.
- Put MuteAndHostMarker.dll into the BepInEx/plugins folder.
- Start the game once to generate the config file.
- Edit the config if needed.
Configuration
SelfMuteMarker
| Setting | Description | Default | Min | Max |
| --- | --- | --- | --- | --- |
| ShowSelfMuteMarker | Enables [M] for players who muted their own microphone. | true | - | - |
| SelfMuteMarkerText | Text shown for self microphone mute. | [M] | - | - |
| SelfMuteMarkerColor | Color of the self microphone mute marker. | #FF0000 | - | - |
LocalVolumeMuteMarker
| Setting | Description | Default | Min | Max |
| --- | --- | --- | --- | --- |
| ShowLocalVolumeMuteStrikethrough | Applies strikethrough when your local volume for the target player is zero. | true | - | - |
| LocalVolumeMuteThreshold | Voice volume value treated as local zero-volume mute. | 0.001 | 0 | 1 |
HostMarker
| Setting | Description | Default | Min | Max |
| --- | --- | --- | --- | --- |
| ShowHostMarker | Shows the host marker from participant view. | true | - | - |
| HostMarkerText | Text shown before the current host. | ★ | - | - |
| HostMarkerColor | Color of the host marker. | #FFD700 | - | - |
| HostMarkerSizePercent | Host marker size percentage. | 130 | 50 | 300 |
| ShowHostMarkerWhenSelfHost | Shows the host marker even when you are the host. | false | - | - |
General
| Setting | Description | Default | Min | Max |
| --- | --- | --- | --- | --- |
| ShowSelf | Applies markers to yourself where the target UI exists. | true | - | - |
| ShowWorldName | Applies markers to world nameplates. | true | - | - |
| ShowLobbyList | Applies markers to the lobby player list. | true | - | - |
| ShowEscList | Applies markers to the ESC player list. | true | - | - |
For Developers
The mod patches UI update points instead of starting gameplay or Photon processing during early boot.
This avoids region selection timing issues.
Main target areas:
- WorldSpaceUIParent.PlayerName
- WorldSpaceUIPlayerName.Update
- MenuPageLobby.Update
- MenuPlayerListed.Update
- MenuPageEsc.PlayerGainSlidersUpdate
- MenuSliderPlayerMicGain.SliderNameSet
- MenuSliderPlayerMicGain.Update
- PlayerVoiceChat.ToggleMuteRPC
- GameManager.PlayerMicrophoneSettingSet
The mod uses PlayerVoiceChat.toggleMute for the [M] marker.
It uses GameManager.instance.PlayerMicrophoneSettingGet(steamID) for local zero-volume strikethrough.
It uses Photon MasterClient a
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。
下面這些內容需要先安裝,否則該模組不會生效: