question

sudhakerraon avatar image
sudhakerraon asked

Sharedd group Data.

Hi,

I am currently working on multiplayer game.if player1 and player2 creates separate SharedgropData with their Playfab Id's.

1) can player1 updateSharedGroupData of player2, even though player2 is not member of player1 SharedGroupData and wise versa.

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

·
brendan avatar image
brendan answered

Shared Group Data (https://api.playfab.com/docs/tutorials/landing-players/shared-groups) has no associated users by default. Any PlayFab IDs added to them (via AddSharedGroupMembers) will have full read/write authority over the data in them, so we tend to recommend not doing that (to prevent cheating). Instead, we recommend writing to it via Cloud Script, and using a well-defined schema for the Shared Group IDs, so that they can easily be looked up, or tracking those IDs in 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.

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.