Skip to content

feat(stats): add miscellaneous stats#893

Open
ugcodrr wants to merge 4 commits into
mainfrom
feat/misc-stats
Open

feat(stats): add miscellaneous stats#893
ugcodrr wants to merge 4 commits into
mainfrom
feat/misc-stats

Conversation

@ugcodrr

@ugcodrr ugcodrr commented Jun 11, 2026

Copy link
Copy Markdown
Member

The stat additions from PR #836.

image image image (probably should only display 2 time units for this one) image image (probably should only display 2 time units for this one) image image image image image image image

@vercel

vercel Bot commented Jun 11, 2026

Copy link
Copy Markdown

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

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
statsify Skipped Skipped Jun 16, 2026 9:29am

@ugcodrr ugcodrr requested a review from jacobk999 June 11, 2026 05:46
@ugcodrr ugcodrr marked this pull request as ready for review June 11, 2026 05:46

@jacobk999 jacobk999 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since there are a lot of profile changes. Add how the profiles look with the new stats to the PR description.

import type { BaseProfileProps, ProfileTime } from "#commands/base.hypixel-command";
import type { DuelsModeIcons } from "./duels.command.js";

const formatTimeWithSeconds = (time: number) => formatTime(time, { entries: 3 });

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't recreate this function in every file. Declare it once.

public oneBlock: BedWarsMode;

@Field()
public armedDoubles: BedWarsMode;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is bad structure. You can use the dreams bedwars mode class maybe since I think it already has to do the sum. Just make it have overall, doubles and fours properties.

this.warlords = new Warlords(stats.Battleground ?? {});
this.woolgames = new WoolGames(stats.WoolGames ?? {}, achievements);

this.general.totalWins = add(

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm honestly not a fan of these stats since they will never really be accurate. I would avoid adding them.

* Updated various game mode profiles to use formatTimeWithSeconds for consistency
* Removed redundant formatTimeWithSeconds function definitions
* Enhanced time formatting across multiple components
ugcodrr added 2 commits June 16, 2026 03:09
* Update localization strings for consistency
* Remove historical tracking for prestigeGold and goldRequirement fields
* Clean up formatting in leaderboard field definitions
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.

2 participants