question

Tanmay Kulkarni avatar image
Tanmay Kulkarni asked

Create Groups(Guilds/Clans) with tutorial

I want to create a group system in my game. I have read the documentations and quickstarts given by PlayFab but as I am a beginer, I want step by step setup to create such a group system.

Please anyone provide me step by step setup in creating groups.

IN UNITY

I would really thanks playfab for instant support

entities
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

·
JayZuo avatar image
JayZuo answered

We have a Group tutorial here: https://docs.microsoft.com/en-us/gaming/playfab/features/social/groups/quickstart and it contains Unity code for demonstration. Please refer to this tutorial first and if there is any question, please feel free to post your specific question here.

4 comments
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Tanmay Kulkarni avatar image Tanmay Kulkarni commented ·

Hey @Jay Zuo

I have a doubt about the ListGroups() function.

What does the ListGroups() function do?

And

How to get the list of all the groups created in the game?

0 Likes 0 ·
JayZuo avatar image JayZuo ♦ Tanmay Kulkarni commented ·

As you can see, in ListGroups function, it used ListMembership method, which lists the groups and roles that an entity is a part of. And currently, there is no built-in support for listing all the groups. And as a workaround, you can track group ids/names outside PlayFab if you wanted a queryable list. For more info, please see https://community.playfab.com/questions/21991/list-of-entity-groups.html.

0 Likes 0 ·
Tanmay Kulkarni avatar image Tanmay Kulkarni commented ·
@Jay Zuo

How can I list all the members of a specific group

0 Likes 0 ·
JayZuo avatar image JayZuo ♦ Tanmay Kulkarni commented ·

That will be ListGroupMembers and you can find all Groups Management APIs under: https://docs.microsoft.com/en-us/rest/api/playfab/groups/groups?view=playfab-rest.

0 Likes 0 ·

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.