Skip to main content

Overview

Player Management service Contains player authentication, player profile & data, player presence, player ban.

1. Player Authentication

1.1 What is Player Authentication

Player Authentication is the process of verifying whether a player has permission to access PGOS services. PGOS does not provide an account service system, but instead helps games to integrate with other account service systems (such as Tencent INTL SDK) by verifying the account token on the backend. After authenticating, the game can access the PGOS services with the SDK.

PGOS can be integrated with Tencent INTL SDK and other account service systems which support most third-party platforms such as Steam, Facebook, and Google.

1.2 Player Authentication Process

  • Firstly, the game logs in to the account service system (such as Tencent INTL SDK) , and receives an account token if successful.
  • Secondly, the game authenticates the player on PGOS with the account token, and receives a player ticket if successful.
  • Finally, the game has access to PGOS services (such as Matchmaking, Battle Session, Party, Friends and Chat) using the player ticket after player authentication.

image-20201113165245318

1.3 Documentation

For more details, please refer to the Player Authentication.

2. Player Data

2.1 What is Player Data

Player data is a set of data associated with a player and consists of three parts: player info, player key-value data and player blob data.

On the portal, developers can define templates for player info, custom player kv data and blob data, and then access them in the game.

2.2 Documentation

For more details, please refer to the Player Info Document, Player KV Data Document, Player Blob Data Document.

3. Player Presence

3.1 What is Player Presence

Player presence represents the player's current status information (such as in party , in lobby, in battle) which is set by game. Player presence can be seen by his friends and other players.

3.2 Documentation

For more details, please refer to the Player Presence Document.

4. Player Ban

4.1 What is Player Ban

Players who have been reported for bad behavior (such as cheating in the game, abusing others, etc.) can be banned by the game operators. During the banning period, the player will not be allowed to enter the game. Players can be banned for a period of time or permanently. When the ban expires, the player will be automatically unbanned. The operator can also manually unban the player during the ban period.

When the game client receives a notification that a player has been banned, the game can immediately kick the player offline or wait for the battle to end.

4.2 Documentation

For more details, please refer to the Player Ban Document.