

PlayerStats API is a lightweight and stable Paper plugin for Minecraft 1.21.x that exposes vanilla player statistics via a simple and efficient HTTP / REST API.
The plugin is designed for external integrations such as web dashboards, analytics services, monitoring tools, and custom frontends.
Features
- 📊 Reads vanilla player statistics from
world/stats/*.json - 🧍 Supports online and offline players
- 🔍 Fetch statistics by UUID or player name
- 📈 Provides aggregated summaries (playtime, deaths, kills, distance, etc.)
- 🌐 Built-in HTTP server with REST endpoints
- ⚡ Data caching for improved performance
- 🔒 Uses only public Bukkit / Paper API (no NMS, no CraftBukkit)
Compatibility
- Minecraft / Paper: 1.21.x (1.21, 1.21.1 … 1.21.11)
- Java: 21
- Server type: Paper
The plugin is built against the stable Paper API 1.21 branch and is not tied to patch-specific versions, ensuring compatibility across all 1.21.x releases.
Configuration
StatsPlugin uses a simple YAML configuration file to control:
- HTTP server port
- Enabling / disabling the web server
- World path for reading statistics
No rebuild is required after configuration changes.
API Endpoints
Base URL example:
http://localhost:8080
🔹 Get all players
GET /players
Returns a list of players with basic summary statistics.
Get player summary by name
GET /players/{playerName}
Example:
GET /players/Notch
Get player summary by UUID
GET /players/uuid/{uuid}
Example:
GET /players/uuid/069a79f4-44e9-4726-a5be-fca90e38aaf5
Get full raw statistics
GET /players/{playerName}/stats
Returns the full vanilla statistics parsed from the stats JSON file.
Endpoint paths may slightly vary depending on configuration and version. Always refer to the project README for the most up-to-date list.
Installation
- Download the plugin JAR file
- Place it into the
plugins/folder - Start the server
- Adjust
config.ymlif needed
Stability & Safety
- No usage of NMS or CraftBukkit
- Safe across all Paper 1.21.x updates
- Does not embed Paper API into the final JAR
- Proper resource cleanup on server shutdown
Use cases
PlayerStats API is suitable if you:
- Build a web-based player statistics dashboard
- Collect and visualize server analytics
- Need programmatic access to vanilla statistics
- Develop external services around your Minecraft server
Screenshots & Examples
TODO
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.21, 1.21.1, 1.21.2
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Modrinth — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
- Ships as PlayerStats-API-2.1.3.jar — drop this file into the mods folder
- Download size: 41 KB
- Download link checked 7 Sept 2026 — working
These come from our own check of the pack file, not from the source page.