You are viewing a potentially older version of this package. View all versions.
WUYACHIYU-PlayersInfo-0.2.3 icon

PlayersInfo

Show nearby teammates' stamina, status, inventory, item durability, backpack capacity, and optional jetpack fuel in a compact HUD.

Date uploaded 2 months ago
Version 0.2.3
Download link WUYACHIYU-PlayersInfo-0.2.3.zip
Downloads 1785
Dependency string WUYACHIYU-PlayersInfo-0.2.3

This mod requires the following mods to function

BepInEx-BepInExPack_PEAK-5.4.2403 icon
BepInEx-BepInExPack_PEAK

BepInEx pack for PEAK. Preconfigured and ready to use.

Preferred version: 5.4.2403

README

PlayersInfo 0.2.3

PlayersInfo adds a compact, read-only teammate HUD to PEAK. It shows nearby players' stamina, status, distance, and inventory without changing gameplay or sending gameplay RPCs.

What's new in 0.2.3

Status icons

  • Added AfflictionIconDisplayMode with three choices: show all icons, hide teammate icons, or hide all icons.
  • Icon visibility changes apply at runtime while preserving status bars, colors, widths, and numbers.

Fixes

  • Fixed dead and downed teammates remaining visible after moving out of range.
  • Dead teammates use their last living position for distance checks; normal and downed teammates use their current body position.
  • Fixed hunger countdown placement when stamina reaches zero. The countdown is centered in the available stamina area after status bars are excluded, instead of moving to a separate fixed position.
  • Unified low-frequency HUD data refreshes to reduce unnecessary updates.
  • Normal diagnostic output now follows DebugLogging; it is quiet by default.

Installation

  1. Install BepInEx for PEAK.
  2. Put PlayersInfo.dll into BepInEx/plugins.
  3. Start the game once to generate the configuration file.

Configuration

The configuration file is generated at:

BepInEx/config/com.players.info.cfg

Section Key Default Description
Display Enabled true Enable or disable all PlayersInfo features.
Display EnableStaminaBar true Show teammate stamina and status rows.
Display ShowStaminaValue true Show numeric stamina, status, and countdown values.
Display ShowExtraStaminaCap true Show teammate extra stamina as XX/XX; off shows XX only.
Display AfflictionIconDisplayMode ShowAll ShowAll, HideTeammates, or HideAll.
Display EnableInventoryRow ContentsOnly Disabled, ContentsOnly, or ContentsAndJetpackFuel.
Display Anchor BottomLeft HUD corner.
Display OffsetX 0 Horizontal offset in pixels.
Display OffsetY 0 Vertical offset in pixels.
Display NearbyRange 30 Maximum teammate distance in metres. 0 means unlimited.
Display MaxNearbyCount 3 Maximum number of nearby teammates shown.
Display TeammateSortMode Stable Keep rows stable or order them by distance.
Display SpectatorNearbyCenter ObservedCharacter Use the local or observed character as the spectator distance center.
Display RoundStaminaValue true Show whole numbers instead of one decimal place.
Advanced DebugLogging false Enable verbose troubleshooting logs.

AfflictionIconDisplayMode values are localized by PEAKLib.ModConfig when available. In Chinese they are shown as 不隐藏图标, 隐藏队友图标, and 隐藏全部图标.

Old boolean EnableInventoryRow values migrate automatically: true becomes ContentsOnly, and false becomes Disabled.

Notes

  • PlayersInfo is built for PEAK 2.4.b.
  • PEAKLib.ModConfig is optional. When installed, PlayersInfo provides English and Chinese configuration labels.
  • PlayersInfo remains display-only and does not modify character state or send gameplay RPCs.
  • For large lobbies, reduce MaxNearbyCount or NearbyRange to keep the HUD compact.

CHANGELOG

Changelog

[0.2.5] - 2026-09-21

Fixes

  • Updated ModConfig support for the current settings menu and dropdowns.
  • Fixed language detection when the game uses Traditional Chinese; both Chinese language variants now use the existing Chinese labels.
  • Fixed settings labels and descriptions not refreshing correctly after a game language change.
  • Removed global settings re-registration so PlayersInfo only refreshes its own settings without interfering with other mods.
  • Preserved saved settings and enum values, and improved refresh cleanup when closing or reopening the menu.

[0.2.4] - 2026-09-07

Fixed

  • Dead teammates are no longer shown by the teammate stamina bar display. (maybe?)

[0.2.3] - 2026-09-06

Added

  • Added AfflictionIconDisplayMode with ShowAll, HideTeammates, and HideAll options.
  • Added English and Chinese ModConfig labels, descriptions, and enum value names for status icon display.
  • Added zero-stamina hunger countdown placement in the available stamina area.

Fixed

  • Fixed dead and downed teammates ignoring distance filtering after death or incapacitation.
  • Dead teammates now use their last living position for distance checks instead of the death-space body position.
  • Hunger countdown no longer jumps to a fixed position when the green stamina bar becomes too small or reaches zero.
  • Unified low-frequency teammate and local HUD data refresh timing.
  • Diagnostic snapshots and binding details now respect Advanced.DebugLogging; the default configuration no longer emits them.

Compatibility

  • Updated compatibility target to PEAK 2.4.b.
  • PlayersInfo remains display-only and does not modify gameplay state or send gameplay RPCs.

[0.2.2] - 2026-08-18

Added

  • Added ShowExtraStaminaCap, a teammate extra-stamina display option. On shows XX/XX; off shows XX only, hiding the extra-stamina cap.
  • Added English and Chinese ModConfig labels/descriptions for the new option.

Fixed

  • Fixed teammate stamina numbers moving to the middle of the full stamina bar instead of staying with the green fill.
  • Fixed teammate stamina bars overflowing while Infinite Stamina is active by freezing the displayed stamina until the synced Infinite Stamina affliction ends.

Compatibility

  • PlayersInfo remains display-only and does not modify gameplay state.

[0.2.1] - 2026-08-17

Added

  • Added a configurable spectator nearby center: local character or observed character.
  • Added a local hunger countdown with automatic text placement.
  • Added teammate item durability bars and cooked-food color feedback.
  • Added backpack-aware contents: no inner slots, two-slot fanny packs, and four-slot normal backpacks.
  • Added an optional teammate jetpack fuel bar.

Changed

  • Teammate rows are now permanently bound to stable player IDs, preventing bars from swapping or jumping.
  • Spectator stamina, extra stamina, status, and nearby-player data now use one consistent observed-player target.
  • EnableInventoryRow is now a three-mode setting: Disabled, ContentsOnly, or ContentsAndJetpackFuel. Old boolean values migrate automatically.
  • Teammate extra stamina now uses right-side current/cap text without +. The graphical extra bar and petrify cap segment are no longer cloned.
  • The local extra-stamina bar uses PEAK's native layout, animation, outline, icon, and petrify presentation.
  • UI text uses its measured width to reduce overlap, and unchanged UI values are updated less often.

Fixed

  • Fixed teammate bars showing another player's graphical state while keeping the correct numeric value.
  • Fixed local values appearing while spectating another player and fixed nearby-player selection using the local corpse position.
  • Fixed teammate extra-stamina and petrify visuals overlapping the local stamina HUD.
  • Fixed status clones referencing and destroying local PEAK HUD components. This could stop extra-stamina consumables from applying their effect or being consumed.
  • Fixed stale or overlapping values during death, revive, reconnect, and spectator transitions.
  • Fixed small, unreadable durability percentages by replacing them with progress bars.

Compatibility

  • Updated for PEAK 2.1.a inventory, backpack, stamina, petrify, and spectator behavior.
  • PlayersInfo remains display-only and does not modify gameplay state.

[0.2.0] - 2026-08-14

Changed

  • Changed the default teammate HUD anchor from the top-left corner to the bottom-left corner.
  • Existing 0.1.1 and earlier configurations that still use the old TopLeft value are migrated to BottomLeft on startup. The other anchor values are preserved.
  • Extra stamina now shows the current value and the petrify-aware cap, such as +45/70.
  • Added stable teammate bar ordering. Distance-based ordering remains available through configuration.

Bugfixes

  • Fixed the local extra-stamina bar being treated as a separate item by the teammate vertical layout. It now stays attached to the local stamina bar on the HUD-safe side instead of jumping to the bottom of the panel.
  • Fixed teammate and local numeric stamina/status text remaining visible or overlapping during the death transition. Numeric overlays are now cleared while a character is dead.

Compatibility

  • Updated compatibility for PEAK 2.1.a, including petrify display and the newer backpack slot API.

Notes

  • PlayersInfo remains display-only and does not change gameplay or networking state.

[0.1.1] - 2026-05-29

Bugfixes

  • Fixed teammate temporary stamina values being clipped when the teammate HUD was anchored near the left edge of the screen. The extra-stamina number now picks the safe side of the bar from the configured HUD anchor, and the text rect is wider to avoid hiding the + or higher digits.
  • Fixed inactive configuration options. EnableStaminaBar now hides teammate bars, and Anchor / OffsetX / OffsetY now reposition the HUD. Config values from the old General / Features / Layout / Nearby / Diagnostics sections are migrated into the merged Display / Advanced layout.
  • Added optional Chinese ModConfig localization for PlayersInfo section names, option names, enum values, and descriptions when PEAKLib.ModConfig is installed. The plugin remains fully usable without ModConfig.
  • Hardened the teammate HUD against transient network jitter. The plugin now keeps a viewID → actorNumber cache so the same player keeps a stable identity even when Photon briefly reports Owner == null, and individual bars are retained for up to 1.5 s when a teammate momentarily disappears from the team list (Photon reconnect, teleport, scene transition). This prevents bars from blanking out and visibly "jumping" for one or two frames during network hiccups.
  • Fixed teammate stamina bars all flickering / fully rebuilding whenever any config entry changed (e.g. dragging the OffsetX slider in BepInEx ConfigurationManager). The plugin now only rebuilds the HUD when truly structural toggles change (Enabled, ShowStaminaValue, EnableInventoryRow); runtime numeric values are read live each frame.
  • Fixed individual teammate bars flickering when a teammate's distance hovered around the NearbyRange boundary. Already-shown teammates now use a 5 m hysteresis margin (range + 5), so small distance jitter at the edge no longer kicks bars in and out of the visible set.

Performance

  • Cached numeric stamina text values per teammate so the HUD only updates the TextMeshPro string when the displayed integer actually changes. Reduces per-frame string allocations and TMP mesh rebuilds.
  • Throttled the reflective CharacterData.isInvincible lookup used to drive the shield icon to once per 0.25 seconds instead of every frame, eliminating the per-frame boxing allocation.
  • IconSpriteCache.Clear now destroys cached Sprite instances before clearing the dictionary, and newly created sprites are flagged with HideFlags.DontSave. Prevents leftover sprite assets from accumulating across scene loads.

Compatibility

  • Built against PEAK 1.62.a. No gameplay or networking behavior changed; PlayersInfo remains display-only.

[0.1.0] - 2026-05-10

Initial release

  • Added a teammate HUD that shows nearby players in a compact list.
  • Added teammate stamina bars, including temporary extra stamina.
  • Added teammate inventory rows for the main slots, temp slot, backpack slot, and backpack contents.
  • Added local stamina value overlay.
  • Added distance-based filtering and maximum teammate count options.
  • Added a debug logging switch so normal gameplay logs stay quiet.

Compatibility notes

  • PlayersInfo is display-only. It does not send gameplay RPCs or change teammate state.