Skip to content

Add player counts and names to SMP archive - #28

Draft
dsnsgithub wants to merge 5 commits into
masterfrom
smp-player-counts
Draft

dsnsgithub wants to merge 5 commits into
masterfrom
smp-player-counts

Conversation

@dsnsgithub

Copy link
Copy Markdown
Owner

Labels every world on /smp-archive with the number of unique players that ever joined, counted from stats/advancements/playerdata UUIDs in the archive.org world downloads. Hovering a count shows the player names (resolved via server whitelists + Mojang API).

Counts: First SMP 2, Chromocraft S1 3, S3 58, Earth 7, S4 20, CitySMP 32, 1.17 19, 1.18-snapshot 9, mc.dsns.dev P1 19, P2 15, Delicious 4, A New Beginning 9, Max's SMP 24.

Label each world with the number of unique players that ever joined,
counted from stats/advancements/playerdata UUIDs in the world downloads.
Hovering a count shows the player names, resolved via server whitelists
and the Mojang API.
@vercel

vercel Bot commented Sep 14, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
dsns.dev Ready Ready Preview Nov 10, 2026 12:28am UTC

- Remove overflow-hidden from card so tooltip can escape the card bounds
- Widen tooltip to w-80 and anchor left to avoid viewport overflow on mobile
- Render player names as wrapped chips instead of a comma-separated blob
- Make tooltip scrollable (pointer-events auto) so long lists are reachable
- Drop the duplicate native title tooltip
- Add focus/touch support so the tooltip works on mobile and keyboard
- Player names now live in a native <details> section at the bottom of
  each card: tap the row to show all players as wrapped chips — no
  hover precision needed, works on touch and keyboard, and no name is
  ever clipped or hidden behind a viewport edge
- Count badge stays in the meta row for at-a-glance info
- Whole card still links to the archive; the players section sits
  outside the link so toggling never navigates

This branch was successfully deployed

1 active deployment
Preview — f29cbfb9 Deployed Nov 10, 2026 by vercel[bot]
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