What is PlayerTracker?
PlayerTracker is a plugin for Paper 1.21.x+ servers that serves as an introduction to Hoglin. It collects various common player metrics and hooks into several plugins when possible to provide extra data. It is designed to be easy to install and use, with minimal configuration required to get started. It’s also open-sourced, providing examples of how to use the Hoglin SDK as a developer.
To get started with PlayerTracker, visit the installation guide. For a detailed rundown of features, see below:
Default Visualizations
Section titled “Default Visualizations”todo.
All tracked events
Section titled “All tracked events”player_join
Section titled “player_join”Recorded when a player joins the server.
| Parameter | Type | Description |
|---|---|---|
playerUUID | UUID | The UUID of the player who joined |
hostname | String | The hostname used by the player to connect to the server, eg “play.example.com” |
ip | String | The IP address of the player |
clientPlatform | String | The platform the player is using, eg “JAVA” or “BEDROCK” |
clientVersion | String | The client version used by the player, eg “1.21.1” |
clientBrand | String | The client brand used by the player, eg “Vanilla” or “Fabric” |
player_leave
Section titled “player_leave”Recorded when a player leaves the server.
| Parameter | Type | Description |
|---|---|---|
playerUUID | UUID | The UUID of the player who left |
player_count
Section titled “player_count”Recorded when the player count changes (join, leave), tracks new player count.
| Parameter | Type | Description |
|---|---|---|
playerCount | Int | The new player count on the server |
player_purchase
Section titled “player_purchase”Recorded via /playertracker purchase ... console command. This can be set up to be executed by a webstore
platform when a player makes a purchase, learn more in the configuration guide
| Parameter | Type | Description |
|---|---|---|
playerUUID | UUID | The UUID of the player who made the purchase |
productName | String | The name of the product purchased |
purchaseValue | Float | The value of the purchase, in the server’s currency |
afk_start and afk_stop
Section titled “afk_start and afk_stop”Recorded when a player’s afk status changes through Essentials.
| Parameter | Type | Description |
|---|---|---|
playerUUID | UUID | The UUID of the player who changed afk status |
cause | String | The cause for the afk status changing, eg: “COMMAND”, “MOVE” |