Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/VasquezRivero92/HabboCafe/llms.txt

Use this file to discover all available pages before exploring further.

The HADOS leaderboard is the central screen you see after logging in. It displays every player registered in the currently active Dado, ranked from highest to lowest points. All data is kept in sync via Firestore real-time listeners, so the ranking you see always reflects the latest scores — there is no need to refresh the page.
Leaderboard data is streamed live via Firestore onSnapshot listeners. Any point change made by an Intermediario or Admin is reflected on every connected browser within seconds.

Switching Between Dados

If your account is registered in more than one Dado (or you are a Global Administrator), a “Ver Dado” dropdown appears in the top navigation bar alongside the currently active Dado badge. Select any Dado from the dropdown to switch contexts — the leaderboard, info panel, and all admin tools immediately update to reflect that Dado’s data.

Info Tabs

Above the player list there is an information panel with three sub-tabs that display details about the active Dado’s tournament.
TabContent
InformaciónDuration dates, number of qualifying players, total prize, and last-updated timestamp
ReglasTournament rules configured by the Dado Admin (one rule per line)
Fecha y horariosMatch schedule and important dates (one entry per line)
The “Última Actualización” value shown in the Información tab updates to “hace unos instantes” every time a point change is saved, giving players instant confirmation that scores are current. The horizontal tab bar beneath the navbar gives access to four sections:
TabVisible toPurpose
Torneo activoEveryoneThe main leaderboard view
IntermediariosEveryoneShows the Dado Admin and all Intermediarios for the active Dado
Panel Globalglobal_admin onlyCreate Dados and assign Dado Admins
Panel Dadodado_admin and global_adminManage members, rules, and tournament dates

View Modes

The leaderboard supports three display modes, selectable from the “Vista” dropdown in the filter bar.
The default view. The top three players are displayed as a podium:
  • Rank 1 — centre, tallest pedestal, gold trophy icon and gold text
  • Rank 2 — left, silver trophy
  • Rank 3 — right, bronze trophy
Players ranked 4–12 appear below the podium as avatar cards with their rank number and points. Players ranked 13 and beyond are shown in a compact two-column grid with a small avatar, username, and points.This view is designed for broadcasting tournament standings on a shared screen.

Rank Delta Indicators

Every player row and card includes a small badge showing how their rank has changed since the last score update. HADOS compares the stored previousRank with the current currentRank and displays one of three states:
BadgeMeaning
Green chevron-up + numberPlayer moved up that many positions
Red chevron-down + numberPlayer dropped that many positions
Grey minusRank is unchanged
The delta value is calculated as previousRank − currentRank. A positive result means the player climbed the table.

Searching and Filtering

A “Buscar usuario…” search box at the top of the leaderboard filters the player list in real time as you type. The filter is case-insensitive and matches any part of the username. Only players whose username contains the search string are shown; pagination is recalculated automatically against the filtered set.

Pagination

Use the “Cantidad” selector (options: 10, 20, 50) to control how many players are shown per page. The default is 20. Navigation arrows and numbered page buttons appear below the list whenever there are more players than the current page size.
Set Cantidad to 50 and use the Top view for a full-screen tournament broadcast. Set it to 10 and use the List view for quick score loading during a live session.

Habbo Avatars

Every player avatar is loaded client-side from the habbo.es imaging API. The avatarUrl stored in Firestore at registration uses the full-body format:
https://www.habbo.es/habbo-imaging/avatarimage?user=<encodeURIComponent(username)>&direction=3&head_direction=3&gesture=std&size=m
In the List and Top views, thumbnail slots render the head-only variant by appending &headonly=1 dynamically at render time — this is not stored in the avatarUrl field. If the habbo.es endpoint returns an error (for example, if the username does not match a real Habbo account), the image falls back to a generated placeholder from DiceBear so that the layout is never broken.

Build docs developers (and LLMs) love