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:
@@ -145,22 +145,22 @@ class LeaderboardMenu(
|
||||
mm.deserialize( "$label $color<bold>${stats.name}</bold><reset>" )
|
||||
.decoration( TextDecoration.ITALIC, false )
|
||||
)
|
||||
meta.lore(listOf(
|
||||
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()
|
||||
))
|
||||
) )
|
||||
}
|
||||
return item
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user