Skip to main content
Dan's Plugins Community
All guidesActivity Tracker plugin page

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

  1. Download the Activity Tracker JAR from SpigotMC or the releases page.
  2. Place the JAR into your server's plugins folder.
  3. Restart the server.
  4. 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

PermissionDefaultDescription
at.defaulttrueView the plugin version and basic information with /at
at.helptrueAccess the help command
at.infotrueView activity info for yourself or others
at.toptrueView the top players leaderboard
at.statstrueView server-wide statistics
at.averagetrueView average daily activity
at.configopView and modify plugin configuration
at.listopView recent player sessions
at.staffopMarks a player as staff for Discord webhook staff-only notifications
Back to topActivity Tracker plugin pageView this guide on GitHub