Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
MuteAndHostMarker
【Client MOD】Marks players who muted their own mic, players you set to zero volume, and the current host.本人ミュート中、自分側音量0、現在ホストを名前表示でマーキングします。
By REPO_JP
| Last updated | 13 hours ago |
| Total downloads | 44 |
| Total rating | 1 |
| Categories | Mods Client-side AI Generated |
| Dependency string | REPO_JP-MuteAndHostMarker-4.0.0 |
| Dependants | 0 other packages depend on this package |
This mod requires the following mods to function
BepInEx-BepInExPack
BepInEx pack for Mono Unity games. Preconfigured and ready to use.
Preferred version: 5.4.2100README
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.dllinto theBepInEx/pluginsfolder. - 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.PlayerNameWorldSpaceUIPlayerName.UpdateMenuPageLobby.UpdateMenuPlayerListed.UpdateMenuPageEsc.PlayerGainSlidersUpdateMenuSliderPlayerMicGain.SliderNameSetMenuSliderPlayerMicGain.UpdatePlayerVoiceChat.ToggleMuteRPCGameManager.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 actor comparison for the host marker.
※Mod created by AI
COSMETICS UPDATE V0.4.0対応済み.
MuteAndHostMarker
REPOが好きな日本人のための日本人のみのREPOのDiscordサーバーあります! 参加は以下のリンクから! https://discord.gg/h5ATY4m5bZ
このMODは、クライアント専用の、プレイヤー名に音声状態とホスト状態を表示するMODです。
自分のクライアント上のUIテキストだけを変更します。 他プレイヤーには同期されず、ホストや他の参加者の導入も不要です。
機能
- 自分のマイクをミュートしているプレイヤー名の前に赤い
[M]を表示します。 - 自分側で受信音量を0にしているプレイヤー名に取り消し線を表示します。
- 参加者目線で現在ホストの名前前に黄色い
★を表示します。 - 頭上ネームプレート、ロビーメニューのプレイヤー一覧、ESCメニューのプレイヤー音量一覧に対応します。
- 他の名前装飾MODによる表示を可能な範囲で維持します。
- 差分更新により、不要なTMP_Text更新を抑制します。
表示例
| 状態 | 表示 |
|---|---|
| 通常プレイヤー | PlayerName |
| 相手本人がマイクミュート中 | [M] PlayerName |
| 自分側で相手の音量を0にしている | PlayerName に取り消し線 |
| 参加者目線の現在ホスト | ★ PlayerName |
| ホストかつ本人ミュート中 | ★ [M] PlayerName |
| ホスト、本人ミュート中、自分側音量0 | ★ [M] PlayerName のプレイヤー名部分に取り消し線 |
動作補足
[M] は、対象プレイヤー本人が自分のマイクをミュートしていることを意味します。
自分がそのプレイヤーをミュートしている意味ではありません。
取り消し線は、自分のクライアント上でそのプレイヤーの受信音量を0にしていることを意味します。 この状態は自分だけに適用されます。
ホストマークは、初期設定では参加者目線でのみ表示されます。 自分がホストの場合、自分自身にはホストマークを表示しません。
インストール
- R.E.P.O. 用の BepInEx 5 を導入します。
MuteAndHostMarker.dllをBepInEx/pluginsフォルダに配置します。- 一度ゲームを起動してConfigを生成します。
- 必要に応じてConfigを編集します。
設定項目
SelfMuteMarker
| 設定値名 | 設定内容説明 | 初期値 | 設定可能最小値 | 設定可能最大値 |
|---|---|---|---|---|
ShowSelfMuteMarker |
自分のマイクをミュートしているプレイヤーへの [M] 表示を有効化します。 |
true |
- | - |
SelfMuteMarkerText |
本人マイクミュート表示の文字列です。 | [M] |
- | - |
SelfMuteMarkerColor |
本人マイクミュート表示の色です。 | #FF0000 |
- | - |
LocalVolumeMuteMarker
| 設定値名 | 設定内容説明 | 初期値 | 設定可能最小値 | 設定可能最大値 |
|---|---|---|---|---|
ShowLocalVolumeMuteStrikethrough |
自分側で対象プレイヤーの音量が0の場合に取り消し線を表示します。 | true |
- | - |
LocalVolumeMuteThreshold |
自分側の音量0扱いにする閾値です。 | 0.001 |
0 |
1 |
HostMarker
| 設定値名 | 設定内容説明 | 初期値 | 設定可能最小値 | 設定可能最大値 |
|---|---|---|---|---|
ShowHostMarker |
参加者目線でホストマークを表示します。 | true |
- | - |
HostMarkerText |
ホスト表示の文字列です。 | ★ |
- | - |
HostMarkerColor |
ホスト表示の色です。 | #FFD700 |
- | - |
HostMarkerSizePercent |
ホスト表示のサイズ倍率です。 | 130 |
50 |
300 |
ShowHostMarkerWhenSelfHost |
自分がホストの場合もホストマークを表示します。 | false |
- | - |
General
| 設定値名 | 設定内容説明 | 初期値 | 設定可能最小値 | 設定可能最大値 |
|---|---|---|---|---|
ShowSelf |
対象UIが存在する場合に自分自身へも表示します。 | true |
- | - |
ShowWorldName |
頭上ネームプレートへ表示します。 | true |
- | - |
ShowLobbyList |
ロビーメニュー一覧へ表示します。 | true |
- | - |
ShowEscList |
ESCメニュー一覧へ表示します。 | true |
- | - |
開発者向け詳細
このMODは、起動直後にゲーム状態やPhoton状態を常時処理しません。 UI更新箇所へのPatchを起点にして表示だけを更新するため、リージョン選択タイミングへの干渉を避けます。
主な対象箇所は以下です。
WorldSpaceUIParent.PlayerNameWorldSpaceUIPlayerName.UpdateMenuPageLobby.UpdateMenuPlayerListed.UpdateMenuPageEsc.PlayerGainSlidersUpdateMenuSliderPlayerMicGain.SliderNameSetMenuSliderPlayerMicGain.UpdatePlayerVoiceChat.ToggleMuteRPCGameManager.PlayerMicrophoneSettingSet
[M] 表示には PlayerVoiceChat.toggleMute を使用します。
自分側音量0の取り消し線には GameManager.instance.PlayerMicrophoneSettingGet(steamID) を使用します。
ホスト表示には Photon の MasterClient ActorNumber 比較を使用します。
※AI生成MOD