Skip to content

feat: implement miscellaneous stat suggestions#836

Draft
ugcodrr wants to merge 2 commits intomainfrom
feat-misc
Draft

feat: implement miscellaneous stat suggestions#836
ugcodrr wants to merge 2 commits intomainfrom
feat-misc

Conversation

@ugcodrr
Copy link
Copy Markdown
Member

@ugcodrr ugcodrr commented May 5, 2026

Summary

This draft PR collects the miscellaneous Discord #suggestions work that is not part of the raw Hypixel API response PR and is based on main after #835 was merged.

Implemented in this branch:

  • Adds leaderboard jump/search by value for player and guild leaderboards.
    • Supports numeric value modal input from Discord leaderboards.
    • Supports suffixes like k, m, b, and t.
    • Selects the closest score at or below the requested value and pages around it.
  • Adds Quakecraft Blocks Travelled and Shots Fired coverage.
    • Blocks Travelled is added to the schema and profile display.
    • Shots Fired is enabled as a leaderboard stat.
  • Adds Zombies overall kills leaderboard support.
    • Alien Arcadium fastest-win seconds were already covered by the existing time formatter.
  • Adds Farm Hunt kills-per-win stats for animal and hunter sections.
  • Adds Pit prestige gold requirement/progression for Add gold requirement progression  #394 / the duplicate Discord suggestion.
    • Reads cash_during_prestige_<prestige> from the Pit profile.
    • Adds prestige gold, gold requirement, and gold progression to /pit.
    • Also surfaces total Pit EXP on the live /pit profile.
  • Adds Duels matches played to /duels.
  • Adds Galaxy Wars shots fired to the Arcade Galaxy Wars profile.
  • Adds /badge set support for Discord emoji input.
    • Keeps existing file upload support.
    • Supports Unicode emoji and Discord custom emoji strings.
  • Adds page index information to /rankings.
  • Adds selected Warlords class level to overall/game-mode pages.
  • Adds TNT Games playtime from achievements.tntgames_tnt_triathlon and formats minutes as time.
  • Adds individual BedWars dream mode split stats for doubles/fours variants.
    • Armed, Lucky, Rush, Swap, Ultimate, Underworld, and Voidless now have selectable split modes.
  • Adds active quest progress display when Hypixel exposes active.objectives.
    • Turbo Kart Racers known objective targets are wired for bling_bling and maps.
  • Adds aggregated total wins and total kills to /general.

Already Covered / No Code Needed

  • TNT Wizards class kills/deaths/assists/KD, plus overall assists/points, already existed.
  • Party Games Jigsaw Rush round wins already existed.
  • BedWars 4v4 already existed.
  • Mega Walls already sorted like BlitzSG: overall first, then kits sorted by player points.
  • Overall Wool Games wins already existed.

Intentionally Not Included

  • Raw/unmodified Hypixel API response parameter: this exists in another PR and is intentionally excluded here.
  • Players per prestige / level graph (#3): intentionally held for a later pass.
  • Warlords equipped weapon / weapon score: not implemented because the typical player response keys available locally do not expose stable Warlords weapon data.
  • Farm Hunt games played: not implemented because no reliable Farm Hunt games-played API key was found in the local sample response.

Left Before Merge

  • Manually test the changed Discord profiles/interactions against the live bot/API on macOS.
  • Confirm the leaderboard value-jump behavior against real Redis leaderboard data.
  • Confirm emoji badge rendering for both Unicode emoji and custom Discord emoji.
  • Decide whether additional quest objective target maps should be added beyond the TKR targets wired here.
  • Decide whether Warlords weapon info should stay out of scope unless a reliable API source is found.
  • Keep #3, the players per prestige / level graph, for a separate PR.

Validation

  • pnpm --filter api test:types
  • pnpm --filter api lint
  • pnpm --filter @statsify/schemas test:types
  • pnpm --filter @statsify/schemas lint
  • pnpm --filter discord-bot test:types
  • pnpm --filter discord-bot lint
  • git diff --check

@vercel
Copy link
Copy Markdown

vercel Bot commented May 5, 2026

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

Project Deployment Actions Updated (UTC)
statsify Ready Ready Preview, Comment May 5, 2026 6:33pm

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant