COWMODSКаталог модов

advance-player-stats

AI-powered player stats tracking — kills, blocks, playtime, deaths, and more. Requires NSR-AI base

Автор: BlackForge8811обновлён 11 мая 2026 г.

Описание

⭐ Advanced Player Stats 3.0 ⭐

“The Intelligence Layer for Minecraft Player Data.”

✔ Standalone Plugin • ✔ Agentic Recursive AI • ✔ Standalone Fallback • ✔ Dual-Command Routing • ✔ Minimal TPS Impact • ✔ Privacy-First

MC Versions: 1.16 – 1.21.x • JAR Size: ~40 KB • Requires: NSR-AI (Optional, for AI features) • Highly Optimized


📊 What is Advanced Player Stats?

Advanced Player Stats (APS) 3.0 is a next-generation statistics and privacy ecosystem. Built natively as a Standalone Spigot/Paper Plugin (upgraded from the legacy v2 addon), APS bridges raw database logs and user interaction.

It functions in two distinct modes:

  1. Ecosystem Mode (With NSR-AI): Turns your server data into an interactive, agentic database where players can chat with "StatsMaster"—an AI persona that understands natural language, scans player inventories, handles complex comparisons, and automatically formats output with custom Minecraft colors.
  2. Standalone Mode (Without AI): Operates as a lightweight, super-fast stat-tracking plugin. Typos are resolved instantly using an integrated Levenshtein-based Fuzzy Matching Engine, falling back to optimized text commands if the AI backend is offline.

🧠 Dual-Operating Modes: With & Without AI

1. 🤖 AI-Hooked Mode (Agentic Recursive Reasoning)

When integrated with NSR-AI (via a dynamic Java Reflection hook), APS introduces Recursive Intelligence:

  • Dynamic Context Injection: When a player asks "How am I doing?", the plugin instantly injects their live vital stats (health, hunger, playtime, afk status) into the AI's short-term memory.
  • Recursive Tag Resolution: Instead of sending massive database dumps to the AI (which wastes token bandwidth), the AI uses an internal tagging system (e.g., [TYPE:PlayerName,kills,deaths]). The plugin intercepts these tags mid-generation, resolves the request against local player data, and feeds the specific answer back to the AI.
  • Inventory Grid Scanning: The AI can query live inventories using [TYPE:PlayerName,inventory]. The plugin formats a 9x4 grid of the player's main inventory, off-hand, and armor slots, allowing StatsMaster to answer questions like "Do I have enough gold to craft a golden apple?".
  • Comparison Engine: The AI can parse and query multiple players at once (e.g., [TYPE:Steve,stats][TYPE:Alex,stats]), dynamically retrieving and comparing data to crown the top sniper or mining champion.
  • Sovereign API Keys: Prioritizes the player's individual API key for AI generation, falling back to the server's global key or standard fuzzy commands if keys are missing.

2. ⚡ Standalone Mode (High-Performance Fallback)

If NSR-AI is missing or fails to load, APS automatically shifts to a robust local fallback:

  • Fuzzy Search Engine: Uses the Levenshtein Distance Algorithm to match user inputs. If a player types /aps stats saksk hlth, the engine matches saksk to Saksh and hlth to health, returning the correct result.
  • No API Keys Required: All commands run 100% locally with zero external network requests.
  • Direct Command Line: Fully functional /aps command routes statistics quickly to players through clean, responsive text formatting.

🛡️ Privacy Sovereignty & Technical Design

Granular Privacy Controls

APS was designed with Privacy-by-Design principles. Players retain absolute sovereignty over their metrics:

  • Using /aps privacy <feature> [on|off], players can toggle visibility on any stat category.
  • If a player sets a stat (like kills) to off, both command requests and AI queries will return [PRIVATE]. The StatsMaster AI is instructed to respect this tag and politely refuse to disclose that specific metric to other players.
  • Administrators (or players with the nsr-ai.admin.privacy.bypass permission) can bypass privacy filters for investigation.

Coordinate Protection

  • Safe Location Tracking: The location statistic tracks the active dimension/world name (e.g., world_nether, world_the_end) but never stores or reveals coordinates (X, Y, Z). This prevents coordinate exploitation and tracking.

Minimal TPS Impact Architecture

  • Asynchronous I/O: Stat increments are tracked on the main thread via Spigot listeners, but all database reads, writes, and AI requests run asynchronously on a background Bukkit runnable (1200L / 60-second intervals) to ensure minimal main-thread performance cost.
  • UUID-Indexed Storage: Player data is saved in structured, clean YAML files (plugins/Advanced-Player-Stats/playerdata/{UUID}.yml), preventing index corruption.

⚔️ Complete Analytics Portfolio (29 Stats)

APS 3.0 tracks a massive array of metrics, categorized below:

👤 General & Vitals

  • Playtime — Total active time spent playing on the server (updated asynchronously in background tasks).
  • Times Joined — Tracks the number of unique login sessions.
  • Health — Monitored current health status.
  • Hunger — Real-time tracking of food level status.
  • AFK Status — Detects if a player is currently away from keyboard.
  • AFK Time — Accumulates total time spent in AFK mode.
  • Location Context — Tracks the current dimension/world safely without leaking coordinates.

⚔️ Combat & Accuracy Profiling

  • Player Kills — Total other players defeated in PvP.
  • Total Deaths — Total times a player has died.
  • Kill/Death Ratio (K/D) — Computes the PvP efficiency of a player.
  • PVP Kill Streak — Tracks consecutive player kills without dying.
  • Bow Accuracy — Percentage of arrows hit vs. arrows shot.
  • Crossbow Accuracy — Percentage of crossbow bolts hit vs. crossbow bolts shot.
  • Total Damage Dealt — Cumulative final damage dealt to all entities.
  • Total Damage Taken — Cumulative final damage received.
  • Highest Single Hit — Records the maximum final damage dealt in a single blow.
  • Shield Blocks — Records the number of successful attacks deflected using a shield.

💀 Detailed Death Breakdown

  • Deaths by Player — Deaths caused in PvP combat by other players.
  • Deaths by Mob — Deaths caused by hostile mobs.
  • Deaths by Environment — Deaths caused by natural hazards (lava, fall damage, drowning, void, suffix damage).

🏃 Movement & Physical Activity

  • Distance Traveled — Total distance traveled in meters/blocks.
  • Jumps — Records the total count of jumps.
  • Sneak Time — Total active time spent sneaking.

⛏️ Mining, Progression & Social

  • Blocks Broken — Total blocks broken of any type.
  • Blocks Placed — Total blocks placed of any type.
  • Valuable Ore Tracking — Monitors any block ending in _ORE and Ancient Debris.
  • Items Crafted — Total items created through crafting menus.
  • Items Enchanted — Total items enchanted (via Enchantment Tables or anvils).
  • Mob Kills — Total passive and hostile mobs killed.
  • Total Chats — Total count of chat messages sent.
  • Average Chat length — Average number of characters per chat message.
  • Live Inventory Scan — Invisible, AI-readable scanning of a player's armor and inventory grid (armor, off-hand, and main 9x4 grid).

⚙️ Commands & Permissions

Commands Index

  • /aps stats <player> [stat] — View a player's full statistics or query a specific one (e.g. /aps stats Saksh bow_accuracy).
  • /aps privacy <feature|all> [on|off] — Manually manage visibility settings for your stats.
  • /aps help — Displays the plugin help menu.
  • /aps migrate — (Admin Only) Runs the self-healing migration tool to move configuration and player files from v2.x to v3.0.
  • /aps <natural language question> — (AI Only) Talk directly to the StatsMaster AI (e.g. /aps compared to Steve, how many diamonds have I mined?).

Permissions Index

  • nsr-ai.advancedplayerstats.view — Allows viewing stats (Default: OP).
  • nsr-ai.advancedplayerstats.view.inventory — Allows viewing player inventory stats (Default: OP).
  • nsr-ai.advancedplayerstats.admin — Access to administrator settings and the migration engine.
  • nsr-ai.admin.privacy.bypass — Bypasses privacy restrictions on players' profiles.

🔄 Self-Healing Upgrade & Migration

Upgrading from Advanced Player Stats 2.x is seamless.

  1. Place the new Advanced-Player-Stats-3.0.jar in your plugins/ directory.
  2. Start the server.
  3. Log in as an operator (OP) and run /aps migrate.
  4. The migration engine will find your old files under plugins/NSR-AI/addons/NSR-AI-Advanced-Player-Stats, automatically transfer all player statistics and configurations to plugins/Advanced-Player-Stats/, and log the results.

Modrinth   Support   Version   YouTube


Transforming raw data into intelligent, privacy-respecting gameplay insights.
Developed by BlackForge Studio

Последние версии

Все версии →
release

3.0

3.0
11 мая 2026 г.375Minecraft: 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11, 26.1, 26.1.1, 26.1.2bukkit, paper, spigot
Скачать
Что нового
# Advanced Player Stats v3.0 - Changelog & Description ## 🚀 Overview Version 3.0 is a complete ground-up refactor of **Advanced Player Stats (APS)**. This update transforms APS from a simple addon into a **Standalone Plugin Integration**, offering deep compatibility with the **NSR-AI API 3.0-pre** architecture while providing its own direct command system. --- ## 🆕 What's New in 3.0 ### 1. New Plugin Architecture APS is now a **standalone plugin**. It no longer relies on the legacy `addon.yml` system and can be installed directly into your server's main plugins folder. This ensures better stability, faster loading, and native support for all Bukkit/Spigot features. ### 2. Dual-Command System You now have two powerful ways to access statistics: * **Direct Access**: Use `/aps <player> [stat]` (or aliases like `/playerstats`) to view data instantly. * **AI Integration**: Use `/aia aps <player> [stat]` for native routing through the NSR-AI ecosystem. * Both methods feature a new **Fuzzy Matching Engine** that finds players even if you only type part of their name! ### 3. Smart AI Injection & Recursive Reasoning (Requires NSR-AI) The `/aps` command now supports natural language queries with a powerful new recursive querying system! > [!IMPORTANT] > **NSR-AI is strictly required for all AI-based tasks.** Natural language generation and automated context processing will not function without the core NSR-AI plugin and a valid API key. * **Recursive AI Reasoning**: The AI is equipped with a hidden `[TYPE:...]` tagging system. If it needs more context to answer your question, it will internally request specific stats (like `[TYPE:PlayerName,kills]`). The plugin intercepts this, fetches the live data, and feeds it back to the AI—all instantly and invisibly to the user! * **Multi-Player Comparisons**: Thanks to multi-tag support, the AI can effortlessly compare multiple players (5, 10, 20+) at once by requesting data for multiple targets simultaneously in a single thought process. * **Contextual Awareness**: When you ask a question like `/aps am I doing well?`, the plugin automatically injects your live stats and privacy settings into the AI's prompt. * **Intelligent Fallback**: It attempts to use your **Personal API Key** first, then falls back to the **Global Key**. If NSR-AI is not present or configured, the plugin will fallback to standard keyword matching. ### 4. Modern API 3.0-pre Integration * **Native Registration**: Automatically syncs with NSR-AI using the latest v3.0-pre programmatic standard. * **Smart Versioning**: Built-in safety guards that automatically detect and adapt to your server's NSR-AI version. * **Optimized Performance**: All data tracking and file operations now run in the background, ensuring zero impact on server TPS. ### 5. Enhanced Privacy & Features * **Complete Privacy Overhaul**: Players now have total control over their data visibility. Private stats are strictly hidden from `/aps` and `/aia` commands. * **New Stats Tracked**: Full support for real-time Health, Hunger, Playtime, AFK records, and PvP Kill Streaks. * **Smart Location**: Privacy-safe location tracking that intelligently shows world info without revealing exact coordinates. --- ## 📊 New Stats Added in v3.0! We've massively expanded our tracking capabilities. In addition to the classic stats (Health, Playtime, K/D, etc.), the AI can now track and analyze: ### ⚔️ Advanced Combat Analytics * 🏹 **Bow Accuracy** (Tracks Hits vs Shots to find the best sniper!) * 🎯 **Crossbow Accuracy** (Tracks Hits vs Shots specifically for crossbows) * 💥 **Total Damage Dealt** (Total amount of damage dealt to other entities) * 🤕 **Total Damage Taken** (Total amount of damage received) * 🔥 **Highest Single Hit** (The highest damage dealt in a single strike) * 🛡️ **Shield Blocks** (Total number of attacks successfully blocked with a shield) ### ⛏️ Expanded Progression * 💎 **Valuable Ores Mined** (Tracks any block ending in _ORE and Ancient Debris) * 🛠️ **Items Crafted** (Total number of items crafted in a crafting table) * ✨ **Items Enchanted** (Total number of items enchanted) ### ☠️ PvE & Movement * 🧟 **Mob Kills** (Kills specifically against monsters, separated from PvP) * ☠️ **Death By Player** (Times killed by another player) * ☠️ **Death By Mob** (Times killed by a monster) * ☠️ **Death By Environment** (Times killed by lava, fall damage, void, drowning, etc.) * 🦘 **Total Jumps** (Total times the player has jumped) * 🥷 **Sneak Time** (Total time spent sneaking/crouching) ### 💬 Social & AI * 💬 **Total Chat Messages** (Total number of messages sent in chat) * 📝 **Average Chat Characters** (Average length of their chat messages) * 🎒 **Live Inventory Viewing** (AI can invisibly scan all items in an online player's inventory) --- ## 📝 Installation & Upgrading Simply place the `NSR-AI-Advanced-Player-Stats-3.0.jar` in your server's **`plugins/`** folder. ### Upgrading from v1.x If you are upgrading from the old v1.x addon version, your old player data is stored in the NSR-AI folder. To transfer this data to the new standalone structure, you can either: 1. **Use the in-built system (Recommended):** Simply run the `/aps migrate` command in-game (requires OP or admin permission) to automatically transfer all data, privacy settings, and configs! 2. **Manually copy and paste:** Move the contents of `plugins/NSR-AI/addons/NSR-AI-Advanced-Player-Stats/` directly into the new `plugins/Advanced-Player-Stats/` folder. **Note:** For full AI functionality, ensure that the **NSR-AI Core Plugin** is also installed and properly configured with an API provider (Gemini, OpenAI, etc.). *Developed by BlackForgeStudio*
release

2.1

2.1
26 нояб. 2025 г.309Minecraft: 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10bukkit, paper, spigot
Скачать
Что нового
added the support of the nsr-ai 1.2 using new api system
release

1.0.2

1.0.2
14 сент. 2025 г.160Minecraft: 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8bukkit, paper, spigot
Скачать
Что нового
Added the support of NSR-AI 1.1 and added detaild AFK timer ,now it will also tell player is gone afk AFk when it will tells the timer in secs,minutes,hours and days.
release

1.0.1

1.0.1
13 сент. 2025 г.36Minecraft: 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8bukkit, paper, spigot
Скачать