question

Manos Stratikopoulos avatar image
Manos Stratikopoulos asked

Event when user makes it on top 10 of an all time High Score Leaderboard (Non ressetable)

Hello,

We have an all time HighScore Leaderboard that will never reset.

What we want is to be able to reward users that enter the top 10 of this leaderboard.

Thank you

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

·
Citrus Yan avatar image
Citrus Yan answered

Since you’re not going to use the resettable Leaderboard, ergo, using Prize Tables is off the table. Here is a workaround you can consider:

  1. Create a Schedule Task that runs a CloudScript function, you can either make it manual or recurring – you decide the interval.
  2. In that CloudScript Fucntion, call Server/GetLeaderboard to get the top 10 users and grants them rewards accordingly.
10 |1200

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

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.

Error rendering WebPanel (widgets/consolidation-widget.ftl): org.hibernate.hql.internal.ast.QuerySyntaxException: AvailableConsolidation is not mapped [from AvailableConsolidation up where up.node = :node]