import { type PlayerRank } from "https://deno.land/x/hypixel@v3.1.1/helpers/PlayerRank.ts";
Describes the results from the getPlayerRank helper.
Properties
colorCode: MinecraftFormatting
The Minecraft formatting color code of this rank.
colorHex: MinecraftColorAsHex
The hex value of the color code.
optional
customRankColor: MinecraftFormattingIf they have a custom color for their rank. Note: this can be set when the player isn't MVP++. If you want to use this value, be sure to check if the rank is SUPERSTAR (MVP++).
optional
customRankColorHex: MinecraftColorAsHexSame as customRankColor, but the hex version of the color.
optional
customPlusColor: MinecraftFormattingIf they have a custom color for the pluses in their rank (++). Note: this can be set when the player isn't MVP++. If you want to use this value, be sure to check if the rank is SUPERSTAR (MVP++).
optional
customPlusColorHex: MinecraftColorAsHexSame as customPlusColor, but the hex version of the color.