Skip to main content

Statistics

The statistics module by Yarsa Play allows you to create custom statistics for tasks. This data is crucial for determining a player’s position on the leaderboard, tracking their achievements, and rewarding their efforts. The Leaderboard and Task module rely on information acquired from the Stats module to operate effectively. As players interact with your game, the system automatically considers all relevant factors that impact leaderboard rankings and reward criteria defined by your team. For example, if you integrate the K/D ratio into the Stats module of your FPS game, you can set conditions such as earning 5 kills without any deaths to reward the player with 500 coins. Once this objective is met, the player receives the coins immediately.

Depending on your game requirements, you can completely create and customize statistics with Yarsa Play. Player K/D ratio, XP, scores, and time efficiency are some examples of statistics that can be used to determine a player’s performance.

Create Player Statistics with Yarsa Play

To create your custom player statistics for your app, ensure you have:

  • Created an organization and an app on Yarsa Play

To create your custom app stat, click on the Create Stat button, and add the details of the stat. Create Stat

Once the statistics are added in the main dashboard, you can utilize the Statistics API endpoints to access stats configured for certain application, create or update gamer statistics, and get logged in gamer statistics.