ChilliConnect Leaderboards allow you to rank your players in real time and compare scores globally or with the players Facebook friends. Leaderboards are added through the Leaderboards page within the ChilliConnect dashboard.
For each Leaderboard, the following properties can be specified:
|Name||Descriptive name for the Leaderboard|
|Key||The Key used to identify the Leaderboard in API calls from your game|
|Description||Optional detailed description for the Leaderboard|
|Ranking Type||The order in which scores will be ranked, either from Highest to Lowest or from Lowest to Highest|
|Update Type||How updates to the score will be treated. Highest Score will update the score if there is a new score submitted with a greater (or lesser depending on the Ranking Type) score. Latest Score will update scores based on timestamp. Any new score that is submitted is applied. Cumulative is a way to additively track scores. The new score is added to the old score in every update operation on this type.|
Scores can be added to a leaderboard using the AddScore method. You can then retrieve a players score with GetPlayerScore, scores around the player with GetScoresAroundPlayer and scores for the players Facebook friends with GetScoresForFacebookFriends. For a complete list of Leaderboard functions available, see the Leaderboards module of the API.
To delete a score for the Leaderboard, click on the delete icon at the end of the row. Removing a score will reorder the Leaderboard table.