Sign In Register

How can we help you today?

Start a new topic

Reset Leaderboard Values to specific number


I currently have Leaderboards that reset every month. I achieve this by this possibility:

Unfortunately I couldn't find a way to reset the values in the leaderboard to a certain value. For example, I would reset players with a score higher than 5000 back to 3000. Players with 4000 points to 2500 etc. 

Is there a way to achieve this?

In addition, can request data sent by an event from a client be overwritten in cloud code? For example, if I take the event for the Leaderboards, Country and Score are handed over. Now I want to edit the country attribute. 

I've already tried this option.

var data = Spark.getData();

data.Country = "testCountry";

Unfortunately, the overwritten one is not taken.

Best regards

Login to post a comment