So I'm in the process of writing a reasonably complicated clan based system using cloud script, with features like ranks and permissions.
I'm basing it on SharedGroups however no members of the clan will actually be part of the group, this is because currently any member of the group can remove any other member of the group and that is a big nono. I need rank based permissions.
Instead I was considering storing members in a single SharedGroupData field, so that they'd be stored like (I'm using typescript):
var members: string[] = ["characterId1", "characterId2"];
server.UpdateSharedGroupData({
SharedGroupId: clanNameId,
Data: {
"Members": JSON.stringify(members),
"TotalMembers": 1,
"Type": ClanType.Open
},
Permission: "Public"
});
Now I've got it all working, however I'm worried I'll run into issues of size limitations when the clan gets larger. I was aiming for clans of 50 members. Could I get word on the limits per key? I can't see what I'm looking for on https://playfab.com/limits/ - unless the title/data keys are the same as the sharedgroup keys in which case 10KB would likely be fine. (I believe 1KB would be too small).
Ideally I'd love playfab to add a API feature that simply disables the client side shared group API, then I could utilize it to it's full extend within cloud scripts. I need to launch in 2-3months so I can't really wait around for features