I’m developing a game that players can create their own map but… Every created map needs an leaderboard in my case. So, I’m just looking for a service that allows creating leaderboards via code. Basically every time player clicks “Upload Button” this code will create an leaderboard with user-generated content’s ID (UUID). Is it possible via UCS - Leaderboards ? So let me know if you know about anything about this stuff ! Thanks.
Create Leaderboard is part of the Admin API. This means you can only create leaderboards with an authorized service account. You can send admin API requests via Cloud Code or from a Multiplay hosted server.
The third option is a no-no but for completeness sake: you can send web requests from the client app but you’d have to include your project key and secret to perform admin operations. By doing so, you’re providing privileged access to your project’s backend services to anyone.
2 Likes
I think sending requests via cloud code is the way, if I can manage to create a good pattern for the logic, I will post updates here.
Thanks.
1 Like