SMPStats
适用于 Paper 1.21.10 的综合玩家统计与分析插件
此插件的功能
SMPStats 是一款功能强大且轻量级的统计追踪插件,专为运行 Minecraft 1.21.10+ 的 Paper 服务器设计。它会自动监控并记录玩家在 SMP 服务器中的详细活动,提供关于玩家行为、成就和服务器动态的深入洞察。
核心追踪功能:
- 玩家活动:在线时长(会话、暂停)、加入/离开时间戳、首次和最后上线日期
- 战斗统计:玩家击杀数、生物击杀数、造成伤害、受到伤害、死亡次数及详细的死亡原因
- 建造与采矿:放置和破坏的方块数量(按类型追踪),支持热力图生成
- 移动与探索:行走距离(按维度区分:主世界、下界、末地)、访问过的生物群系
- 合成与消耗:合成的物品和消耗的物品
- 技能档案:根据可配置的权重自动计算玩家在各类别(采矿、战斗、探索、建筑、农业)中的技能等级
- 时刻系统:通过可自定义的事件定义系统捕捉游戏中令人难忘的瞬间,如“第一次死亡”、“钻石挖掘连击”、“极限操作”、“TNT 失误”等
- 热力图:可视化活动地图,显示玩家死亡位置、采矿热点及其他活动模式
- 死亡回放:包含位置、原因、生命值、附近实体和库存状态的死亡事件详细快照
- 社交统计:追踪玩家间的近距离相处时间和合作击杀(计划中功能)
为何下载此插件
对于服务器管理员:
- 无需配置即可使用:使用 SQLite 数据库——无需设置外部数据库
- 性能优化:轻量级设计,采用异步操作和可配置的自动保存间隔
- 内置 HTTP API:提供带身份验证的可选 REST API,用于将统计数据集成到网站、Discord 机器人或其他工具中
- 高度可定制:配置要追踪的统计数据、技能权重、时刻定义等
- 丰富的数据导出:支持所有统计数据的 JSON 导出
对于玩家:
- 详细的个人统计:通过游戏内命令查看综合统计数据
- 技能进阶:查看您的技能档案,了解您的玩法风格优势
- 难忘时刻:自动追踪重要成就和事件
- 排行榜就绪:在多个指标上与其他玩家进行比较
对于社区:
- 参与度洞察:了解哪些玩家最活跃以及他们在哪些区域活动
- 事件追踪:非常适合记录 SMP 里程碑、首次成就和服务器历史
- 集成就绪:API 支持创建统计网站、Discord 集成和社区工具
下载前的关键信息
要求:
- 服务器类型:Paper 1.21.10+
- Java 版本:Java 21 或更高版本
命令:
/sstats - 查看您自己的统计数据
/sstats user <player> - 查看其他玩家的统计数据
/sstats reload - 重新加载插件和 API
/sstats user <player> <reset|set> [value] - 重置或设置某玩家的统计数据。
可选 HTTP API:
该插件可以暴露一个用于外部集成的 REST API。在 config.yml 中配置:
- 启用/禁用 API
- 设置自定义端口(默认:8765)
- 配置用于身份验证的 API 密钥
端点:
GET /stats/<uuid> - 检索单个玩家的统计数据
GET /stats/all - 列出所有被追踪的玩家
GET /online - 列出当前在线的玩家
数据存储:
- 所有数据本地存储在
plugins/SMPStats/stats.db (SQLite)
- 可配置的自动保存间隔
- 无需外部数据库
自定义:
config.yml 文件允许您:
- 启用/禁用特定的追踪模块(移动、方块、击杀、生物群系)
- 配置技能档案权重以匹配服务器的重点
- 定义自定义“时刻”以捕捉特定事件(例如,“30 秒内找到钻石”)
- 设置热力图参数和热点区域
- 配置自动保存间隔和 API 设置
性能说明:
- 异步数据库操作可防止服务器卡顿
- 可配置的追踪粒度以平衡细节与性能
- 在可配置的间隔自动刷新数据
此插件非常适合希望获得详细分析、玩家参与度追踪,并能够在游戏内和通过外部平台展示玩家成就和统计数据的 SMP 服务器。
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 statistics
GET /stats/all - List all tracked players
GET /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
登录后参与评分
还没有评论,来抢沙发吧