Skip to content

feat(stats): add miscellaneous stats#893

Open
ugcodrr wants to merge 1 commit into
mainfrom
feat/misc-stats
Open

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

Conversation

@ugcodrr

@ugcodrr ugcodrr commented Jun 11, 2026

Copy link
Copy Markdown
Member

The stat additions from PR #836

@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 Ignored Ignored Jun 11, 2026 5:41am

@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.

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