question

Cody Owens avatar image
Cody Owens asked

Can I globally update Player Data key permissions?

For the title my team is working on, we made use of various Player Data key/value pairs early on. Those defaulted to Private permissions. We've found that there are a few that we'd like to make Public now that the game is launched and we're adding new interactivity features. But, it seems like this is a per-player change. Is there a way to update the Permissions field in Player Data for all players for a specific key, or are we forced to write and run a batch script on our end to do it?

Player Data
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

·
Rick Chen avatar image
Rick Chen answered

There is no such single API to update the player data permissions in a group of players. You may write an Azure Function that updates a single player’s data permissions, then use the Scheduled tasks to run this function against all the 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.

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.