Activity Tracker Guide
0
User Guide
Prerequisites
- A Spigot-based Minecraft server on one of the versions listed under Supported Minecraft Versions
- The Java version that your Minecraft server version requires (the plugin itself needs Java 8 or higher)
First Steps
- Download the Activity Tracker JAR from SpigotMC or the releases page.
- Place the JAR into your server's
pluginsfolder. - Restart the server.
- Activity Tracker will begin tracking player sessions automatically.
Common Scenarios
Viewing Your Own Activity
Run /at info in-game to see your login count, total play time, ranking, online status (hours since login if online, or hours since last seen if offline), and first login date.
Viewing Another Player's Activity
Run /at info <playerName> to see the activity record for a specific player.
Checking the Leaderboard
Run /at top to see the top 10 most active players by total hours played, or /at top <number> to see a different number of players (up to 100).
Viewing Server-Wide Statistics
Run /at stats to see overall server statistics such as total unique players and total logins.
Checking Average Daily Activity
Run /at average to see your average daily play time over the last 7 days, /at average <playerName> for another player over the last 7 days, or /at average <playerName> <days> for a specific player and time range. To change the number of days for yourself, give your own name first, e.g. /at average Steve 30.
From the server console, /at info and /at average need a player name, because the console has no activity record of its own.
Managing Configuration
Operators can run /at config show to view current settings and /at config set <option> <value> to change them. See CONFIG.md for details on all configuration options.
Restoring Data After an Unreadable File
Activity data is stored in activityRecords.json and sessions.json in plugins/ActivityTracker/. If either file cannot be read when the plugin loads, the console prints [Activity Tracker] ERROR: Could not read <file>, the plugin starts without that file's contents, and both files are copied first to <file>.unreadable (or <file>.unreadable.1, and so on, if that name is taken).
To recover, stop the server, repair the damaged copy if you can, and rename the copies back to activityRecords.json and sessions.json. This replaces anything recorded since the error.
Permissions
| Permission | Default | Description |
|---|---|---|
at.default | true | View the plugin version and basic information with /at |
at.help | true | Access the help command |
at.info | true | View activity info for yourself or others |
at.top | true | View the top players leaderboard |
at.stats | true | View server-wide statistics |
at.average | true | View average daily activity |
at.config | op | View and modify plugin configuration |
at.list | op | View recent player sessions |
at.staff | op | Marks a player as staff for Discord webhook staff-only notifications |