Skip to main content

Groups

Last updated on

Overview

AccelByte Cloud's Groups service allows players to gather to chat and play together. This service allows players to create, join, and invite other players to groups. Group admins can also manage join requests and add members to or remove members from their group. The Groups service can be integrated with other services such as Lobby, Statistics, and Leaderboards, to extend its functionality. For example, you can create groups for players that have achieved a specific level or rank in your game.

Group Types

There are three types of groups that can be created:

  • Open Groups are searchable and do not require any approval to join. A player can search for the group using the Group Name or Group Code, and then join the group without waiting for a group admin to approve their request.
  • Public Groups are searchable but require permission to join. When a player tries to join, they must first wait for a group admin to approve their request. These groups often have membership requirements, such as only allowing players with an MMR of more than 100 to join the group.
  • Private Groups can't be searched and require permission to join. Players can only join these groups if they've been invited by an admin.

Prerequisites

Make sure you've read about Roles Management to know the basics of creating a role.

Permissions

Permissions are used to grant access to specific resources within our services. Make sure your account has the following permissions before you attempt to manage groups in the Admin Portal. For a full list of permissions that impact groups management, see the Groups tab of the Permissions Reference.

UsageResourceAction
List Group ConfigurationADMIN:NAMESPACE:{namespace}:GROUP:CONFIGURATIONRead
Create New ConfigurationADMIN:NAMESPACE:{namespace}:GROUP:CONFIGURATIONCreate
Initiate ConfigurationADMIN:NAMESPACE:{namespace}:GROUP:CONFIGURATIONCreate
>Get Existing ConfigurationADMIN:NAMESPACE:{namespace}:GROUP:CONFIGURATIONRead
Delete Group ConfigurationADMIN:NAMESPACE:{namespace}:GROUP:CONFIGURATIONDelete
Update Existing ConfigurationADMIN:NAMESPACE:{namespace}:GROUP:CONFIGURATIONUpdate
Update Existing Configuration Global RuleADMIN:NAMESPACE:{namespace}:GROUP:CONFIGURATIONUpdate
Delete Existing Configuration Global Rule Based On Allowed ActionADMIN:NAMESPACE:{namespace}:GROUP:CONFIGURATIONUpdate
Get List Of GroupsADMIN:NAMESPACE:{namespace}:GROUPRead
Get Single GroupADMIN:NAMESPACE:{namespace}:GROUPRead
Delete Existing GroupADMIN:NAMESPACE:{namespace}:GROUP:{groupId}Delete
Get a List Of Group MembersADMIN:NAMESPACE:{namespace}:GROUP:MEMBERRead
Get All List Of Member RolesADMIN:NAMESPACE:{namespace}:GROUP:ROLERead
Create New Member RoleADMIN:NAMESPACE:{namespace}:GROUP:ROLECreate
Get the Member RoleADMIN:NAMESPACE:{namespace}:GROUP:ROLERead
Delete Member RoleADMIN:NAMESPACE:{namespace}:GROUP:ROLEDelete
Update Member RoleADMIN:NAMESPACE:{namespace}:GROUP:ROLEUpdate
Update Member Role PermissionADMIN:NAMESPACE:{namespace}:GROUP:ROLEUpdate

Permissions work slightly differently depending on whether they are assigned to IAM Clients or Roles assigned to users. For more information, read the Authentication and Authorization documentation.