-
Notifications
You must be signed in to change notification settings - Fork 1
Leaderboards
Cyrusbye720 edited this page Jun 6, 2026
·
3 revisions
ZDiscord tracks kills, deaths, and playtime (seconds) per player and exposes them via /leaderboard <stat> in Discord.
leaderboard:
enabled: true
tracked-stats:
- KILLS
- DEATHS
- PLAYTIME
top-count: 10The list of stats in tracked-stats is informational; the actual stats tracked are controlled by the listeners:
-
killsanddeathsare incremented fromPlayerDeathEvent. -
playtimeis accumulated from the time betweenPlayerJoinEventandPlayerQuitEvent, and is stored in seconds.
/leaderboard <stat> accepts kills, deaths, or playtime (case-insensitive). The embed lists the top N players with a numeric value (or Xh Ym for playtime).
Stats are persisted via the configured storage backend. See Storage backends for details.