Skip to content

Player Contacts

Friends are an essential part of all modern games. On our service, friends are implemented more flexible, as contacts.

Contacts config

To use contacts you need to add the description to contacts config, and deploy configs to services.

Contacts description format:

{
  "allowedGroups": ["Arkanoid"] // required
}

Required fields

  • allowedGroups (list of string) - contacts group allowed in the game.

All contacts in game can be splitted by groups. You can use only one group in your game, for example named as game:

{
  "allowedGroups": ["DungeonGame"]
}

Or different, for example to have different friends in different game modes:

{
  "allowedGroups": ["DungeonGame_solo", "DungeonGame_duo", "DungeonGame_squad"]
}

Read about contacts API to understand how to use groups in your game.