-
Notifications
You must be signed in to change notification settings - Fork 1
Stats
Alexteens24 edited this page Dec 10, 2025
·
1 revision
DynamicKeepInv tracks death statistics for every player. View stats through a beautiful GUI or use PlaceholderAPI.
Stats are enabled by default. No additional plugins required.
stats:
enabled: true| Command | Description | Permission |
|---|---|---|
/dki stats |
View your own stats | dynamickeepinv.stats |
/dki stats <player> |
View another player's stats | dynamickeepinv.stats.others |
┌─────────────────────────────────────────┐
│ DynamicKeepInv Stats │
├─────────────────────────────────────────┤
│ │
│ [Player Head] PlayerName │
│ │
│ 💀 Total 💚 Saved ❌ Lost │
│ Deaths Deaths Deaths │
│ │
│ 📊 Save Rate [Progress Bar] │
│ │
│ 💰 Economy Stats ⏰ Last Death │
│ │
│ 📖 Death Breakdown │
│ │
│ ⭐ Server Stats [Close] │
│ │
└─────────────────────────────────────────┘
| Stat | Description |
|---|---|
| Total Deaths | All deaths tracked by plugin |
| Deaths Saved | Deaths where inventory was kept |
| Deaths Lost | Deaths where inventory was dropped |
| Save Rate | Percentage of deaths saved |
| Economy Paid | Total money spent keeping inventory |
| Payment Count | Number of economy transactions |
| Last Death Time | When player last died |
| Last Death Reason | Why inventory was kept/lost |
| Reason | Description |
|---|---|
| Day | Deaths during daytime |
| Night | Deaths during nighttime |
| PvP | Deaths from player kills |
| PvE | Deaths from mobs/environment |
| Bypass | Deaths with bypass permission |
| Lands | Deaths in Lands areas |
| GriefPrevention | Deaths in GP claims |
| Stat | Description |
|---|---|
| Global Saved | Total saved deaths server-wide |
| Global Lost | Total lost deaths server-wide |
| Global Rate | Server-wide save percentage |
Use these placeholders in scoreboards, holograms, and chat:
| Placeholder | Output |
|---|---|
%dynamickeepinv_stats_deaths_saved% |
15 |
%dynamickeepinv_stats_deaths_lost% |
3 |
%dynamickeepinv_stats_total_deaths% |
18 |
%dynamickeepinv_stats_save_rate% |
83.3% |
%dynamickeepinv_stats_economy_paid% |
1500.00 |
%dynamickeepinv_stats_global_saved% |
1234 |
%dynamickeepinv_stats_global_lost% |
567 |
%dynamickeepinv_stats_global_rate% |
68.5% |
See Placeholders for full list and examples.
Stats are stored in a SQLite database:
plugins/DynamicKeepInv/stats.db
player_stats table:
- UUID, player name
- Deaths saved/lost/total
- Last death info
- Economy totals
death_reasons table:
- Per-reason saved/lost counts
Simply copy stats.db to backup player statistics.
Currently no in-game command. To reset:
- Stop server
- Delete
stats.db(resets all) or edit with SQLite tool - Start server
If you don't want stats tracking:
stats:
enabled: falseThis will:
- Disable stats GUI (
/dki statswill show error) - Stop recording deaths
- Disable stats placeholders
-
Commands -
/dki statscommand - Permissions - Stats permissions
- Placeholders - Stats placeholders