Skip to content

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:


todo.



Recorded when a player joins the server.

ParameterTypeDescription
playerUUIDUUIDThe UUID of the player who joined
hostnameStringThe hostname used by the player to connect to the server, eg “play.example.com”
ipStringThe IP address of the player
clientPlatformStringThe platform the player is using, eg “JAVA” or “BEDROCK”
clientVersionStringThe client version used by the player, eg “1.21.1”
clientBrandStringThe client brand used by the player, eg “Vanilla” or “Fabric”

Recorded when a player leaves the server.

ParameterTypeDescription
playerUUIDUUIDThe UUID of the player who left

Recorded when the player count changes (join, leave), tracks new player count.

ParameterTypeDescription
playerCountIntThe new player count on the server

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

ParameterTypeDescription
playerUUIDUUIDThe UUID of the player who made the purchase
productNameStringThe name of the product purchased
purchaseValueFloatThe value of the purchase, in the server’s currency

Recorded when a player’s afk status changes through Essentials.

ParameterTypeDescription
playerUUIDUUIDThe UUID of the player who changed afk status
causeStringThe cause for the afk status changing, eg: “COMMAND”, “MOVE”