Skip to content

Update Player Count plugin to v1.0.1#151

Open
BarterClub wants to merge 1 commit intoSteamClientHomebrew:mainfrom
BarterClub:main
Open

Update Player Count plugin to v1.0.1#151
BarterClub wants to merge 1 commit intoSteamClientHomebrew:mainfrom
BarterClub:main

Conversation

@BarterClub
Copy link
Copy Markdown

New Plugin: Player Count

Repository: https://github.com/BarterClub/playcount-steambrew
Backend: Lua
Version: 1.0.1

What it does

Player Count is a Millennium plugin that displays real-time player counts from the Steam API on game pages in your library. When you click on a game, a small badge appears on the header image showing how many players are currently online.

  • Live player count fetched from Steam's GetNumberOfCurrentPlayers API
  • Color-coded status dot — changes color based on player count (green, blue, silver, gold, red)
  • Click to open SteamCharts — clicking the badge opens the full SteamCharts page for that game
  • Auto-refresh — player count updates periodically while viewing a game page
  • Configurable — toggle visibility, alignment, and position offsets via the settings panel

Technical details

  • Frontend uses Millennium.AddWindowCreateHook + MutationObserver for game page detection
  • HTTP requests handled by Lua backend via callable()
  • Settings use Steam's native ToggleField and SliderField components
  • No raw HTML input elements — fully compliant with Millennium plugin guidelines

Credits

Ported from playcount-decky (Steam Deck / Decky Loader) by itsOwen.
Architecture based on hltb-millennium-plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant