Add bullet icons to leaderboard lore entries

Replace the previous plain gray label lines in the leaderboard item lore with a dark_gray '▪' bullet followed by a gray label and the value (applies to Rank, Score, Kills, K/D, Wins, and Win Rate). Also tidy minor spacing around the meta.lore call. Purely cosmetic formatting changes to improve readability of the leaderboard tooltips.
This commit is contained in:
TDSTOS
2026-04-11 23:47:29 +02:00
parent 4dd53b4c9b
commit 92260d90cb

View File

@@ -147,17 +147,17 @@ class LeaderboardMenu(
)
meta.lore( listOf(
Component.empty(),
mm.deserialize( "<gray>Rank: </gray>$rankTag" )
mm.deserialize( "<dark_gray>▪</dark_gray><gray>Rank:</gray> $rankTag" )
.decoration( TextDecoration.ITALIC, false ),
mm.deserialize( "<gray>Score: <white>${score} RR</white></gray>" )
mm.deserialize( "<dark_gray>▪</dark_gray><gray>Score:</gray> <white>${score} RR</white>" )
.decoration( TextDecoration.ITALIC, false ),
mm.deserialize( "<gray>Kills: <white>${stats.kills}</white></gray>" )
mm.deserialize( "<dark_gray>▪</dark_gray><gray>Kills:</gray> <white>${stats.kills}</white>" )
.decoration( TextDecoration.ITALIC, false ),
mm.deserialize( "<gray>K/D: <white>${stats.formattedKD}</white></gray>" )
mm.deserialize( "<dark_gray>▪</dark_gray><gray>K/D:</gray> <white>${stats.formattedKD}</white>" )
.decoration( TextDecoration.ITALIC, false ),
mm.deserialize( "<gray>Wins: <white>${stats.wins}</white></gray>" )
mm.deserialize( "<dark_gray>▪</dark_gray><gray>Wins:</gray> <white>${stats.wins}</white>" )
.decoration( TextDecoration.ITALIC, false ),
mm.deserialize( "<gray>Win Rate: <white>${stats.formattedWinRate}</white></gray>" )
mm.deserialize( "<dark_gray>▪</dark_gray><gray>Win Rate:</gray> <white>${stats.formattedWinRate}</white>" )
.decoration( TextDecoration.ITALIC, false ),
Component.empty()
) )