ModsJava
StatsReset | Kill & Death Leaderboards
Kill, death, K/D, money and playtime leaderboards that rank offline players correctly.
⬇ Download on Spigot
StatsReset
Kill, death, K/D, money and playtime leaderboards that rank offline players correctly.
By zArrowTan, part of Arrow Plugins.
Kill, death, K/D, money and playtime leaderboards that rank offline players correctly.
By zArrowTan, part of Arrow Plugins.
Overview
Most leaderboard plugins only rank the players who happen to be online. StatsReset keeps every stat in its own database, so your top lists stay correct whether a player is online, offline, or hasn't logged in for a month. Kills, deaths and K/D are tracked automatically, with money and playtime boards alongside them.
Players open a clean chest menu to browse the boards, and you get full control over anyone's numbers from the console or in game, offline players included. SQLite works out of the box with no setup at all, and MySQL is one config change away.
Dependencies
No required dependencies. StatsReset runs on its own, drop it in and go. Two optional plugins each unlock more of what it can do:
- Vault (optional) plus an economy plugin enables the money leaderboard. Without it that board simply stays empty, nothing breaks. Get it here
- PlaceholderAPI (optional) exposes every stat and every top-player slot as a placeholder, ready for holograms, scoreboards, tab and chat. Get it here
Five Leaderboards
- Kills tracked automatically
- Deaths tracked automatically
- K/D ratio calculated from both
- Money via Vault, snapshotted while players are online so offline players keep their last known balance
- Playtime tracked per session and saved, so it survives logouts and restarts
Boards rebuild every 60 seconds by default, and offline players rank correctly because their values live in the database rather than a cache.
Playtime starts counting from the moment you install the plugin.
In-Game Menu
Players run /leaderboard to open a chest menu of every board, each rank shown with the player's own head. They can also jump straight to one board with /leaderboard kills, and the same for deaths, money and playtime. Both menu titles are configurable.
✏️ Edit Anyone's Stats
Set an exact value, add to it, subtract from it, or wipe a player back to zero. Every one of these works on offline players, so you never have to wait for someone to log in to correct their numbers.
Already running a server with history behind it? /stats import pulls existing kills and deaths out of your world's playerdata in one command, and an optional keep argument skips anyone already in the database.
⌨️ Commands
For everyone
- /leaderboard open the leaderboard menu (aliases: /lb, /top)
- /leaderboard <board> jump straight to one board (kills, deaths, money, playtime)
For staff
- /stats get <player> show kills, deaths and K/D
- /stats set <player> <kills|deaths> <value> set an exact value
- /stats add <player> <kills|deaths> <amount> add to a value (negative numbers subtract)
- /stats reset <player> wipe that player back to zero
- /stats import import stats from world playerdata (add "keep" to skip players already in the database)
- /stats reload reload the config
Aliases: /statsreset, /kd
Permissions
- statsreset.leaderboard open the leaderboard menu (default: everyone)
- statsreset.admin all /stats commands (default: op)
Placeholders
Requires PlaceholderAPI.
The player looking at it
Code (Text):
%statsreset_kills% %statsreset_deaths% %statsreset_kdr%
%statsreset_money% %statsreset_playtime%
%statsreset_money% %statsreset_playtime%
Code (Text):
%statsreset_<stat>_<rank>_alltime_name%
%statsreset_<stat>_<rank>_alltime_value%
%statsreset_<stat>_<rank>_alltime_value%
- <stat> kills, deaths, kdr, money, playtime
- <rank> 1, 2, 3 and up, to your leaderboard size (default 10)
The best killer on the server, for example:
Code (Text):
%statsreset_kills_1_alltime_name% %statsreset_kills_1_alltime_value%
Setup
- Drop the jar in plugins/ and restart
- That is it, SQLite is the default and needs zero configuration
- Already have stats in your world? Run /stats import once
Prefer MySQL? Switch it in config.yml:
Code (Text):
storage:
type: mysql
mysql:
host: localhost
port: 3306
database: minecraft
username: root
password: ""
type: mysql
mysql:
host: localhost
port: 3306
database: minecraft
username: root
password: ""
Fully Configurable
Code (Text):
leaderboard:
size: 10 # how many ranks to keep
refresh-seconds: 60 # how often the top lists rebuild
empty-name: "---"
empty-value: "0"
gui:
menu-title: "&8Leaderboards"
board-title: "&8Top &f{stat}"
settings:
sync-vanilla-statistic: true
size: 10 # how many ranks to keep
refresh-seconds: 60 # how often the top lists rebuild
empty-name: "---"
empty-value: "0"
gui:
menu-title: "&8Leaderboards"
board-title: "&8Top &f{stat}"
settings:
sync-vanilla-statistic: true
Requirements
- Minecraft: 1.18 and newer
- Server software: Spigot or Paper
- Java: 17 or higher
- Storage: SQLite out of the box, MySQL optional
- Dependencies: none required (see Dependencies above for the optional ones)
Metrics
This plugin sends anonymous usage stats to ArrowStats. You can opt out anytime in plugins/StatsReset/config.yml.
Support
Found a bug or want a feature? Bring it to the discussion tab or the Discord, reviews are for reviews.
StatsReset | Kill & Death Leaderboards is a free Minecraft Java mod. Compatible with Minecraft 1.18, 1.19, 1.20, 1.20.6 and newer. Downloaded 14 times (via Spigot). Download it and open it directly in the game.