question

krishole avatar image
krishole asked

How to delete a leaderboard?

Is there honestly no way to do this? I see posts as back as 2016 asking this all with the response of "it's coming soon" and the roadmap now says within the first half of next year?

Is the only way to remove leaderboards to just completely nuke an environment and create a fresh one? Because that is ridiculous if you make a spelling error on a stat.

Leaderboards and Statistics
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Sarah Zhang avatar image
Sarah Zhang answered

As you said, currently PlayFab hasn't supported deleted leaderboard yet. About the problem of spelling error on a statistic name. There is a possible workaround. As this answer said.

“It is already possible to clear a Leaderboard's data and even change how the data is recorded after a leaderboard has been created. So, instead of using a statistic's name in your game as the name of the statistic of a leaderboard in PlayFab, use some arbitrary system like sequentially increasing set of numbers for instance as the statistic name for a leaderboard in PlayFab. Then, in your game's code, match a statistic's name in PlayFab with the statistic's name in your game when user statistics get loaded. That way the leaderboard tables themselves can be cleared out and reused when you need to without the "name" of the leaderboard being an issue. This inability to change a leaderboard's name is a common problem across most backend game services so sticking to arbitrary leaderboard names is a good idea no matter what backend you end up using.”

You can do a mapping system to handle the leaderboards' names, for example, store the leaderboards name that you want to use in the game as a title data item's value whose key is the true leaderboards name that you write on the [Edit Leaderboarder].

Besides, you can continue taking an eye on our blog for the latest updates.

4 comments
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

gestion avatar image gestion commented ·

Hi there,

So we are stuck with "LeaderboardTest01" forever? That seems odd...

Also, to further delve into this leaderboard question, does the 25 statistic limit apply to leaderboards? I mean, can we have several different leaderboards based on the same stat, but different reset frequency and/or aggregation method? Can we have over 25 leaderboards?

Thanks.

0 Likes 0 ·
Denzie Gray avatar image Denzie Gray commented ·

@Sarah Zhang

Hello, Any word on Leaderboard deletion?

0 Likes 0 ·
Denzie Gray avatar image Denzie Gray commented ·

@Sarah Zhang

A common usage for Leaderboards is Tournaments. If we want user generated tournaments we will need to be able to delete leaderboards.
We could use an external service and store player tournament progress but it seems like an extra complication compared to being able to delete a statistic once the tournament is over.

0 Likes 0 ·
Dawid Fatyga avatar image Dawid Fatyga commented ·

It is 2021 already and there is no sign of removing leaderboards. Given there is a limit of Leaderboards one can create before having to convert to a paid plan, there might be an incentive (wrong in my opinion), not to add this feature.

If that is true, think it is not a good incentive, as it weakens the overall UX, and can discourage people from converting.

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.