SMPStats
SMPStats is a lightweight Paper 1.21.x plugin that tracks player stats in SQLite and provides in-game commands plus an optional authenticated JSON API.
- Загрузки
- 106
- Подписчики
- 0
- Обновлён
- 28 ноября 2025 г.
- Лицензия
- GPL-3.0-only
Опубликован 25 ноября 2025 г.
SMPStats
Comprehensive Player Statistics & Analytics for Paper 1.21.10
What This Plugin Does
SMPStats is a powerful yet lightweight statistics tracking plugin designed specifically for Paper servers running Minecraft 1.21.10+. It automatically monitors and records detailed player activity across your SMP server, providing deep insights into player behavior, achievements, and server dynamics.
Core Tracking Features:
- Player Activity: Playtime (sessions, pauses), join/leave timestamps, first and last seen dates
- Combat Statistics: Player kills, mob kills, damage dealt, damage taken, deaths with detailed death causes
- Building & Mining: Blocks placed and broken (tracked by type), with support for heatmap generation
- Movement & Exploration: Distance traveled (separated by dimension: Overworld, Nether, End), biomes visited
- Crafting & Consumption: Items crafted and consumed
- Skill Profiles: Automatic calculation of player skill levels across categories (Mining, Combat, Exploration, Builder, Farmer) based on configurable weights
- Moments System: Captures memorable in-game events like "first death," "diamond mining runs," "clutch plays," "TNT fails," and more through a customizable event definition system
- Heatmaps: Visual activity maps showing player deaths, mining hotspots, and other activity patterns
- Death Replay: Detailed snapshots of death events including location, cause, health, nearby entities, and inventory state
- Social Statistics: Tracks proximity time between players and cooperative kills (planned feature)
Why Download This Plugin
For Server Owners:
- Zero Configuration Required: Uses SQLite database—no external database setup needed
- Performance Optimized: Lightweight design with async operations and configurable autosave intervals
- HTTP API Included: Optional REST API with authentication for integrating stats into websites, Discord bots, or other tools
- Highly Customizable: Configure which stats to track, skill weights, moment definitions, and more
- Rich Data Export: JSON export capabilities for all statistics
For Players:
- Detailed Personal Stats: View comprehensive statistics through in-game commands
- Skill Progression: See your skill profiles and understand your playstyle strengths
- Memorable Moments: Automatic tracking of significant achievements and events
- Leaderboard Ready: Compare yourself with other players across multiple metrics
For Communities:
- Engagement Insights: Understand which players are most active and in what areas
- Event Tracking: Perfect for recording SMP milestones, first achievements, and server history
- Integration Ready: API enables creation of stat websites, Discord integrations, and community tools
Critical Information Before Downloading
Requirements:
- Server Type: Paper 1.21.10+
- Java Version: Java 21 or higher
Commands:
/sstats- View your own statistics/sstats user <player>- View another player's statistics/sstats reload- Reload the Plugin & the API/sstats user <player> <reset|set> [value]- Reset or set stats of a player.
Optional HTTP API:
The plugin can expose a REST API for external integrations. Configure in config.yml:
- Enable/disable the API
- Set custom port (default: 8765)
- Configure API key for authentication
Endpoints:
GET /stats/<uuid>- Retrieve individual player statisticsGET /stats/all- List all tracked playersGET /online- List currently online players
Data Storage:
- All data stored locally in
plugins/SMPStats/stats.db(SQLite) - Configurable autosave intervals
- No external database required
Customization:
The config.yml file allows you to:
- Enable/disable specific tracking modules (movement, blocks, kills, biomes)
- Configure skill profile weights to match your server's focus
- Define custom "moments" to capture specific events (e.g., "Diamond finds within 30 seconds")
- Set up heatmap parameters and hotspot regions
- Configure autosave intervals and API settings
Performance Notes:
- Async database operations prevent server lag
- Configurable tracking granularity to balance detail vs. performance
- Automatic data flushing at configurable intervals
This plugin is ideal for SMP servers that want detailed analytics, player engagement tracking, and the ability to showcase player achievements and statistics both in-game and through external platforms.
Ченджлог
0.14.0Релиз1.21.8, 1.21.9, 1.21.10 · 28 ноября 2025 г.
SMPStats v0.14.0 - Enhanced Player Experience & GUI Overhaul
🎮 Major Features
Interactive GUI System
- Enhanced Player GUI with session statistics and comparison features
- Leaderboards GUI with improved layout and functionality
- Social Partners GUI for managing player relationships
- Friends List with enhanced UX improvements
- Timeline Delta GUI for tracking progression over time
- Death Replay GUI for reviewing player deaths
- Moments History GUI for memorable gameplay events
- Achievement Badges GUI for displaying player accomplishments
- Admin Player Lookup GUI for server management
- Personal Heatmap Preview with animated borders
- Improved information hierarchy across all GUI elements
API Enhancements
- OpenAPI 3.1 Support with machine-readable documentation
- Time-Range Filters for more flexible data queries
- Updated API endpoint count in documentation
Infrastructure & Testing
- Docker-based CI/CD deployment workflows
- Comprehensive E2E test suite with runtime tests
- Codecov integration for test coverage tracking
- Enhanced test reliability with improved timeout settings
- Detailed logging and result parsing in E2E workflows
- PR comment automation for test results
- Early skip detection for workflows
- Improved container cleanup and port allocation
🛠️ Technical Improvements
- Added Checkstyle and SpotBugs for code quality
- Explicit permissions blocks in workflows for enhanced security
- Improved connection info parsing
- Command timeout handling for SSH actions
- Better error handling in E2E tests
- Updated default Minecraft version to 1.21.10
🐛 Bug Fixes
- Fixed paths filter parameter typo
- Improved workflow skip detection and reporting
- Enhanced RCON and API test timeout settings
- Optimized concurrency settings in E2E runtime tests
- Cleaned up unused imports
📚 Documentation
- Realigned README and Roadmap with project vision
- Updated API endpoint documentation
- Added comprehensive OpenAPI documentation
0.10.0Релиз1.21.8, 1.21.9, 1.21.10 · 27 ноября 2025 г.
This update brings a huge set of improvements to both in-game analytics and the admin experience.
🎨 New GUIs
- Main Menu
- Player Stats
- Server Health
- Leaderboards
- Entity Details
- Improved navigation & layout
- New health visualizations and thresholds
🔥 Heatmap Upgrades
- Improved aggregation
- New event types
- Better ore tracking
- Grid-size improvements
- More accurate analytics
🌐 Web Dashboard (Early Access)
- Admin login with rate limiting
- Entity management
- Biomes list with toggles
- Better performance & safer authentication
0.5.1Релиз1.21.10 · 25 ноября 2025 г.
- Core stats tracking (playtime, deaths/causes, kills, blocks, distance per dimension, biomes, damage, crafting/consumption, first/last join) with SQLite storage and schema migrations.
- Commands:
/stats(player stats, JSON, dump),/sstats/smpstatsalias for info/reload; admin set/reset per player with tab-complete. - Skill profiles (mining/combat/exploration/builder/farmer) with configurable weights and display in
/stats. - Moments engine with configurable triggers (block_break/death/death_fall/first_death/damage_low_hp/death_explosion/item_gain/boss_kill), merge windows, REST query, and SSE feed.
- Heatmaps (mining/death) + hotspot counters via API.
- Social stats: nearby time counters + API
/social/top. - Timeline: daily snapshots per player + API
/timeline/<uuid>. - Death Replay Lite: death snapshots (cause, position, health, fall, nearby players/mobs, inventory items) + API
/death/replay. - HTTP API with API-Key: stats endpoints, moments, heatmap, timeline, social top, death replays.
- Autosave and reload config/API; DB downgrades blocked with admin warning.
Комментарии
Загружаем…