Compatibility
Minecraft: Java Edition
26.3
26.2
26.1.x
1.21.x
Platforms
Links
Tags
Creators
Details
Licensed MIT
Published 3 hours ago
Updated 3 weeks ago
DefaultStats
A lightweight plugin that automatically writes each player's vanilla Minecraft statistics into a database - SQLite or MySQL, your choice.
Features
- Collects every untyped vanilla statistic automatically: deaths, player kills, mob kills, distances (walking, sprinting, swimming, elytra, boat, horse, minecart), playtime, jumps, fishing, villager trades, chests opened, damage dealt/taken, and more - no setup needed.
- Tracks block mining and mob kills per type (diamond ore, iron ore,
zombies, skeletons, etc.) - fully configurable list in
config.yml. - Writes one row per player, one column per statistic - a clean, ready-to-query table. No key-value mess, no extra SQL needed.
- Configurable sync interval, plus save-on-quit.
- Database writes run asynchronously - no main-thread lag, even on busy servers.
- Folia-compatible.
Example table
| uuid | player_name | deaths | player_kill | mine_block_diamond_ore | kill_entity_zombie | ... |
|---|---|---|---|---|---|---|
| ... | Steve | 12 | 3 | 47 | 210 | ... |
Configuration
database:
type: MYSQL # or SQLITE
mysql:
host: localhost
port: 3306
database: minecraft
username: root
password: ""
sync:
interval-seconds: 300
save-on-quit: true
track-materials:
- DIAMOND_ORE
- IRON_ORE
track-entities:
- ZOMBIE
- SKELETON
Commands
/defaultstats sync- force-save all online players right now/defaultstats reload- reload config.yml without a restart
Permission: defaultstats.admin (default: op)
Why use this?
Perfect if you want to build your own leaderboard website, Discord bot integration, or just query raw player stats directly with SQL - without digging through Plan's internal generic tables or writing your own Statistic API code from scratch.


