Zstats: Advanced Player Statistics Plugin for Minecraft Servers

Unlocking Live Player Stats with the Zstats Plugin for Minecraft Servers Running a Minecraft server is about more than just placing blocks and fighting mobs. For server owners who love diving into data, tracking player activity, playtime, and in-game achievements can transform a simple SMP into a...

Download zstats for Minecraft 1.16, 1.9

Original name: zstats

Minecraft: 1.16, 1.9

FileVersionLoaderSize
zstats_v3.0.jar1.16—599 КБDownload
zstats_1.0.jar1.9—526 КБDownload
zstats_v2.0.jar1.9—528 КБDownload
zstats_v3.1.jar1.9—618 КБDownload

Unlocking Live Player Stats with the Zstats Plugin for Minecraft Servers

Running a Minecraft server is about more than just placing blocks and fighting mobs. For server owners who love diving into data, tracking player activity, playtime, and in-game achievements can transform a simple SMP into a dynamic community hub. The Zstats plugin for Spigot and PaperMC servers does exactly that — it quietly records every player statistic to a MySQL database, making it possible to display live stats on your website, leaderboard, or even a Discord bot. If you have ever wanted to showcase who mined the most diamonds or who spent the longest time AFK, Zstats is the tool you need.

What Exactly Does Zstats Do?

At its core, Zstats is a lightweight, asynchronous Spigot plugin that hooks into your server’s player data and pushes it to a MySQL or MariaDB database. Unlike many plugins that bog down server performance with constant database writes, Zstats uses HikariCP for connection pooling, ensuring lag-free operation even on a modest “potato PC” server. It records everything from basic join/leave timestamps to detailed stats like blocks broken, mobs killed, items crafted, and distance traveled. The data is stored live, so your website can pull fresh numbers anytime without putting extra load on the server itself.

Key Features That Make Zstats Stand Out

  • MySQL storage with HikariCP: Asynchronous, non-blocking database writes keep your server running smoothly.
  • AFK time tracking: Optional integration with EssentialsX lets you see exactly how long players have been idle.
  • Discord notifications: With DiscordSRV, you can push stat updates directly to a Discord channel whenever a player’s numbers change.
  • Auto-update on leave: When a player disconnects, their latest stats are automatically saved to the database — no manual commands needed.
  • Flexible configuration: Pick and choose which stats to record. You are never forced to log data you do not need.
  • Broad version support: Works from Minecraft 1.8 all the way up to 1.19, and even plays nicely with Geyser and Floodgate for Bedrock cross-play.

How Zstats Works Under the Hood

The plugin listens to player events and compiles statistics in memory, then periodically flushes them to your MySQL database. Because it uses HikariCP, the connection pool is managed efficiently, avoiding the dreaded “too many connections” errors that can plague smaller servers. The whole process is asynchronous, meaning your main server thread never waits for a database write to finish. This design makes Zstats a perfect fit for survival servers, minigame networks, or any setup where you want to keep tabs on player progress without sacrificing tick rate.

If you are the kind of server admin who enjoys tinkering with custom code, Zstats even provides a GitHub repository where you can clone the source, add your own custom stats, and recompile. The developer built it originally for a personal SMP server, so the plugin is lean and purpose-driven.

Commands and Permissions at a Glance

All Zstats commands require the Zstats.use permission. Here are the main commands you will use:

  • /zstats update — Pushes all online and offline player stats to the database. On versions before 1.15, only online players can be updated due to API limitations.
  • /zstats update — Updates a specific player’s stats immediately.
  • /zstats delete — Removes a player’s record from the database without wiping their actual in-game stats.

These commands are straightforward, but keep in mind that a full server-wide update can take a while if you have thousands of unique players. It is best to run it during low-traffic hours.

Installation and Setup Walkthrough

Getting Zstats up and running is a breeze if you are comfortable with MySQL. Start by downloading the appropriate JAR file — version 2.0 for Java 8 through 16 (Minecraft 1.8 to 1.16.5), or the latest build for Java 17 and above. Drop the JAR into your server’s plugins folder, start the server once to generate the config.yml, and then stop it. Open that config file, enter your database host, port, username, password, and table prefix, and you are almost done. After restarting, the plugin will automatically create the necessary tables and begin logging.

For those who prefer a more streamlined approach to managing plugins, the foxygame.net launcher provides a modern and flexible way to handle installations. Its built-in menu lets you browse and download plugins like Zstats directly, saving you the hassle of manual file transfers and version checks. Once installed, you can still tweak the config as usual, but the initial setup becomes a one-click affair.

Compatibility and Important Notes

Zstats is officially tested on Spigot and PaperMC from version 1.8 to 1.19. It also supports Geyser and Floodgate, meaning Bedrock players connecting through a proxy will have their stats recorded just like Java players. However, the developer has clearly stated that the plugin is no longer in active feature development — only bug fixes and version updates will be provided. If you need new features, you are encouraged to fork the GitHub repository and implement them yourself. Also, if you are not familiar with DBMS concepts, especially MySQL or MariaDB, this plugin might be overwhelming. It is not a plug-and-play solution for beginners; you need to understand how to connect a database and query it from your website.

Why Zstats Deserves a Spot on Your Server

In a world where community engagement can make or break a server, having live statistics on your website gives players a reason to keep coming back. They can compete for top miner, top builder, or longest playtime, and you can build custom leaderboards that update in real time. Zstats handles the heavy lifting of data collection without performance penalties, and its compatibility with tools like DiscordSRV lets you weave stats into your community’s daily chat. While the plugin does require some technical know-how to set up the MySQL side, the payoff is a seamless bridge between your Minecraft world and the web. Whether you run a small survival server or a large network, Zstats turns raw gameplay into shareable stories.