Skip to content

Astroworld-MC/AstroPlayerStats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AstroPlayerStats

Lightweight player statistics tracker for Paper/Spigot 1.20+. Tracks playtime, blocks broken, blocks placed, mob kills, and deaths with SQLite storage. Optional PlaceholderAPI support.

Features

  • Track playtime, blocks broken/placed, mob kills, deaths
  • SQLite storage (no external database needed)
  • /stats command for self and others
  • Offline player lookup
  • PlaceholderAPI expansion (optional)
  • Configurable stat tracking toggles
  • Auto-save with configurable interval

Installation

  1. Download AstroPlayerStats-1.0.0.jar
  2. Drop it in your server's plugins/ folder
  3. Restart the server
  4. Edit plugins/AstroPlayerStats/config.yml if needed

Commands

Command Description Permission
/stats View your own stats astrostats.command
/stats <player> View another player's stats astrostats.others
/stats reload Reload config astrostats.reload

Permissions

Permission Description Default
astrostats.command View own stats true
astrostats.others View other players' stats true
astrostats.reload Reload config op

PlaceholderAPI Placeholders

Placeholder Description
%astrostats_playtime% Formatted playtime (e.g. "12h 30m")
%astrostats_playtime_hours% Playtime in hours
%astrostats_playtime_raw% Playtime in seconds
%astrostats_blocks_broken% Total blocks broken
%astrostats_blocks_placed% Total blocks placed
%astrostats_mob_kills% Total mob kills
%astrostats_deaths% Total deaths

Config

auto-save-interval: 6000  # ticks (5 min)
track:
  blocks-broken: true
  blocks-placed: true
  mob-kills: true
  deaths: true
messages:
  prefix: "§6§lStats §8|"

License

MIT License


Built by Astroworld - Minecraft Economy Survival Server

Need hosting? Try Astroworld Hosting