{"id":21429010,"url":"https://github.com/samethope/rapid-lootlocker-leaderboard","last_synced_at":"2026-07-02T10:31:58.620Z","repository":{"id":182398165,"uuid":"668428022","full_name":"SametHope/Rapid-LootLocker-Leaderboard","owner":"SametHope","description":"Easily add leaderboards to your Unity applications, utilizing lootlocker.","archived":false,"fork":false,"pushed_at":"2023-07-19T20:25:02.000Z","size":10,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-18T14:14:29.061Z","etag":null,"topics":["csharp","leaderboard","leaderboard-api","lootlocker","plugin","unity"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SametHope.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-07-19T19:31:09.000Z","updated_at":"2024-11-30T04:16:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"c0614e6a-aa27-4562-b03f-4695c9b6761b","html_url":"https://github.com/SametHope/Rapid-LootLocker-Leaderboard","commit_stats":null,"previous_names":["samethope/rapid-lootlocker-leaderboard"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SametHope/Rapid-LootLocker-Leaderboard","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SametHope%2FRapid-LootLocker-Leaderboard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SametHope%2FRapid-LootLocker-Leaderboard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SametHope%2FRapid-LootLocker-Leaderboard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SametHope%2FRapid-LootLocker-Leaderboard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SametHope","download_url":"https://codeload.github.com/SametHope/Rapid-LootLocker-Leaderboard/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SametHope%2FRapid-LootLocker-Leaderboard/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35043933,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-02T02:00:06.368Z","response_time":173,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["csharp","leaderboard","leaderboard-api","lootlocker","plugin","unity"],"created_at":"2024-11-22T22:15:31.141Z","updated_at":"2026-07-02T10:31:58.596Z","avatar_url":"https://github.com/SametHope.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rapid LootLocker Leaderboard\n\n**Rapid LootLocker Leaderboard** is a Unity plugin that allows you to quickly and rather effortlessly integrate LootLockers guest leaderboards into your applications. It is basically a wrapper for LootLocker that is tailored to make implementing guest leaderboards as fast and easy as possible.\n\n## How to Use\n\nForenote: It is not shown below but every API call below also offers optional callbacks for both successful and failed operations. **You are expected to use success callbacks to implement your custom behaviours** just like you would using the normal LootLockers API. Only difference is Rapid LootLocker Leaderboard provides a callback for failed operations too and both callbacks are optional.\n\n### LeaderboardManager\n\nThe `LeaderboardManager` class provides a static interface to manage leaderboards for players. It handles player sessions, score submissions, and retrieval of player rankings.\n\n```csharp\n// Set the player name for the current session.\nLeaderboardManager.SetName(\"PlayerName\");\n\n// Submit the player's score to a specific leaderboard.\nLeaderboardManager.SubmitScore(memberId, score, leaderboardKey);\n\n// Retrieve a list of scores from the specified leaderboard asynchronously.\nLeaderboardManager.GetScoreList(leaderboardKey, count);\n\n// Retrieve the rank of the player from the specified leaderboard asynchronously.\nLeaderboardManager.GetMemberRank(leaderboardKey);\n```\n\n### GuestLeaderboard\n\nThe `GuestLeaderboard` class is a ScriptableObject representing a guest leaderboard. It allows you to submit scores, get a list of scores, and retrieve the player's rank for this specific leaderboard.\n\n```csharp\n// Create a new GuestLeaderboard asset and assign the unique leaderboard key.\n// This asset will be used to interact with the leaderboard.\nGuestLeaderboard leaderboard = CreateInstance\u003cGuestLeaderboard\u003e();\nleaderboard.LeaderboardKey = \"your_leaderboard_key\";\n\n// Submit the player's score to this guest leaderboard asynchronously.\nleaderboard.SubmitScore(score);\n\n// Retrieve a list of scores from this guest leaderboard asynchronously.\nleaderboard.GetScoreList(count);\n\n// Retrieve the rank of the player from this guest leaderboard asynchronously.\nleaderboard.GetMemberRank();\n```\n\n### ExampleLeaderboardHandler\n\nThe `ExampleLeaderboardHandler` class demonstrates how to handle the UI and interaction for displaying and updating a guest leaderboard in your game.\n\n```csharp\n// Set the parameters in the Inspector for the ExampleLeaderboardHandler script to work with your UI.\n\n// Submit the player's score and refresh the leaderboard UI.\nExampleLeaderboardHandler.SubmitAndRefresh();\n\n// Refresh all entries in the leaderboard UI in order.\nExampleLeaderboardHandler.RefreshAllEntriesInOrder();\n```\n\n## License\n\nThis project is licensed under the [MIT License](LICENSE).\n\n## Acknowledgments\n\nSpecial thanks to the LootLocker team for providing the backend service and making this leaderboard integration possible.\n\n---\n\n**Note**: Please ensure you have the required dependencies and configurations for the project to work correctly. Refer to the [LootLocker documentation](https://docs.lootlocker.com) for more information on integrating their service with your game.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamethope%2Frapid-lootlocker-leaderboard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamethope%2Frapid-lootlocker-leaderboard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamethope%2Frapid-lootlocker-leaderboard/lists"}