Activity Tracker is a Minecraft plugin that tracks the activity of players. It records login sessions and play time, provides leaderboards, detailed per-player statistics, optional Discord webhook notifications for player join and quit events, and an optional REST API for exposing activity data to external applications.
This plugin is supported on the Minecraft versions listed in minecraft-versions.json: currently 1.19.4, 1.21.11, 26.2 and 26.3 (Spigot and its forks). Every stable release is booted on a real server of each of these versions before it is published, and every build checks that the plugin only uses Bukkit API that exists on all of them. Other versions from 1.19.4 onwards are expected to work but are not tested. To support another version, add it to the file: both checks pick it up.
- Download the plugin from SpigotMC or the releases page.
- Place the JAR in the
pluginsfolder of your Spigot server. - Restart your server.
Activity Tracker includes an optional REST API for external dashboards and applications. See REST_API.md for setup and endpoint documentation.
- User Guide – Getting started and common scenarios
- Commands Reference – Complete list of all commands
- Configuration Guide – Detailed configuration options
You can find the support Discord server here.
Please fill out a bug report here.
Linux:
mvn clean test
Windows:
mvn clean test
If you see BUILD SUCCESS, the tests have passed.
This plugin is built with Maven and targets Java 8.
- Clone the repository:
git clone https://github.com/Dans-Plugins/Activity-Tracker.git - Build the plugin:
mvn clean package - The built JAR will be in the
target/directory.
- Build the plugin JAR with
mvn clean package. - Copy the JAR from
target/into a local Spigot server'spluginsfolder. - Start or restart the server.
| Name | Main Contributions |
|---|---|
| Daniel Stephenson | Creator |
This project is licensed under the GNU General Public License v3.0 (GPL-3.0).
You are free to use, modify, and distribute this software, provided that:
- Source code is made available under the same license when distributed.
- Changes are documented and attributed.
- No additional restrictions are applied.
See the LICENSE file for the full text of the GPL-3.0 license.
This project is in active development.
You can view the bStats page for this plugin here.
Usage reporting is on by default: when the plugin is enabled, and each time one of its commands is used, it sends its name, its version and the command's name to the author's trace server at https://trace.danielstephenson.dev, so it is known which plugins are actually in use. Nothing about players, worlds or IP addresses is sent, and nothing typed after a command. The plugin prints one line on every startup saying whether reporting is on and, if not, why.
Each event also carries a random server ID (the server-id line in plugins/trace/config.yml) so
servers can be counted rather than events. It identifies no person, account or IP address; delete
the line to get a new one.
To turn it off:
- for this plugin only:
usage-reporting.enabled: falseinplugins/ActivityTracker/config.yml - for every plugin on the server that reports to trace:
enabled: falseinplugins/trace/config.yml(created on first start; plugins never turn it back on) - for the whole server process: the environment variable
TRACE_USAGE_REPORTING=offorDO_NOT_TRACK=1
Details: https://danielstephenson.dev/usage-reporting
See CHANGELOG.md for a release-by-release summary of changes.