Player Purchases
The MCMetrics plugin is not inherently tied to any storefront. It is designed in a way where you can agnostically track purchases from players from any storefront.
All you need is for the storefront's plugin / platform to emit the console command /playertracker purchase.
/playertracker purchase <player_uuid> <purchase_value> <currency> <product_name>| Variable | Description | Example |
|---|---|---|
player_uuid | The UUID of the player that made the purchase. | 0355d54e-cd8d-4db9-90af-789dda8f4ca6 |
purchase_value | A decimal value representing the value / price point that the player spent on the product. | 2.50 |
currency | Currency code following ISO 4217. | USD |
product_name | The name of the product the player purchased. | "Supporter Tier" |
