question

haoshi avatar image
haoshi asked

How to change specific user data from server for all players

So I'm using user data to store some unlock information, and now I changed an unlock ID in the game, how do I update it for all existing players?

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

A straightforward way to do that would be creating a Scheduled Task that triggers a Cloud Script function on each player in the “All Players” segment, the function is responsible for updating the unlock id. Here is a sample setup(you need to specify the arguments passed to the CloudScript function):


setup.jpg (33.5 KiB)
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.