Player Tracker for Minecraft is a server-side mod that logs playtime in a secure SQLite database. Install and monitor stats easily.
Player Tracker
Running a Minecraft server comes with a lot of behind-the-scenes work. You are constantly balancing player needs, managing resources, and trying to keep the community engaged. One of the most useful pieces of information you can have is simple: who is actually playing, and for how long? That is exactly where the
Player Tracker mod steps in. This server-side tool quietly does its job in the background, giving you a clear picture of your server's activity without adding any client-side lag or requiring your players to install anything.
Why You Need Playtime Data
Understanding playtime is more than just satisfying curiosity. It helps you identify your most loyal community members, spot inactive players who might be at risk of leaving, and even make informed decisions about server events or rewards. For example, if you are planning a monthly contest, knowing who has logged the most hours gives you a fair and transparent way to pick winners. Instead of guessing or relying on memory, you get hard data.
How Player Tracker Works
The beauty of this mod lies in its simplicity. It is a server-side mod, which means you only need to install it on your server files. Once it is running, it automatically creates a dedicated SQLite database file named "playertracker.db" in the root of your server directory. This database securely stores all the playtime information. You do not need to set up a complex external database like MySQL; everything is self-contained and portable.
Key Features of Player Tracker
The mod is packed with practical features designed to make administration easier. Here is what you can expect right out of the box:
- Comprehensive Statistics: View weekly, monthly, yearly, and all-time statistics for your entire player base.
- Command Autocompletion: The in-game commands support tab completion, making them fast and easy to type.
- Specific User Lookup: Drill down into a single player's data to see their exact playtime breakdown.
- Data Encryption: Your playtime data is encrypted, ensuring that the information is secure on your server.
- Configurable Options: A config file is available at config/playertracker-common.toml, allowing you to tweak settings like whether non-OP players can check their own stats.
Understanding the Commands
To interact with the data, the mod provides a set of commands. By default, you need to be an OP (operator) to use the administrative functions. The commands come with three aliases:
playertracker,
pt, and
track. For simplicity, most admins stick with
/pt.
Here is a breakdown of the main commands:
- /pt lookup <name> - This command gives you detailed statistics for a specific player by their username.
- /pt stats <weekly|monthly|yearly|all> [page] - Use this to view the server's stats for a specific time period. If you do not specify a page number, it defaults to page 1.
- /pt me - This allows a player to check their own data. This command can be enabled for all players if you toggle the setting in the config file.
Installation and Compatibility
Getting started is straightforward. You need to ensure you have the correct version of the mod for your server setup.
Player Tracker for Minecraft is compatible with several modern versions of the game, including 1.20.x and 1.21.x. It is built to work with the
Fabric loader, which is known for its lightweight and fast performance. Make sure you have the Fabric API installed on your server as well to ensure full functionality.
If you are looking for a hassle-free way to manage your mods, you might consider using the
foxygame.net launcher. It offers a one-click install feature that can help you get
Player Tracker set up without manually dragging and dropping files into your mods folder. The launcher also helps manage version compatibility, ensuring that your mods match your server's Minecraft version, which can save you a lot of time and frustration.
How to Install Player Tracker
For those who prefer the manual route, here is a quick step-by-step guide on
how to install the mod:
- Download the mod JAR file from a trusted source. Simply search for "download Player Tracker" and ensure you pick the version that matches your server's Minecraft version.
- Stop your Minecraft server.
- Place the downloaded JAR file into the mods folder in your server directory.
- Ensure the Fabric API is also present in the mods folder.
- Restart your server. The mod will automatically generate the database file and config on the first run.
Final Thoughts
The
Player Tracker mod is an essential utility for any server admin who wants to make data-driven decisions. It is lightweight, secure, and provides all the necessary tools to monitor player engagement effectively. Whether you are running a small private server for friends or a large public community, having this kind of insight is invaluable. It removes the guesswork from server management and lets you focus on creating the best possible experience for your players. So, if you have been looking for a reliable way to track playtime, this is the solution you have been waiting for.