メインコンテンツまでスキップ

ネイティブセッション同期を設定する

Last updated on August 28, 2024

Overview

AccelByte Gaming Services (AGS) Session allows you to configure sessions to sync with first-party platforms such as Steam, Xbox, and PlayStation. This article covers how to do that.

Prerequisites

Configure session sync for Steam

  1. Log in to the AGS Admin portal and choose your game namespace.
  2. On the sidebar menu, go to Game Setup > 3rd Party Configuration > Auth & Account Linking.
  3. On the Login Methods page, click on the + Add New button. The Login Platform Configuration page appears.
  4. From the available login platforms, click on Steam Web. The Create Configuration form appears.
  5. Fill in the Steam Web API key.
  6. Fill in the Redirect URI.
  7. Click Create.

Configure session sync for Xbox

  1. Log in to the AGS Admin portal and choose your game namespace.
  2. On the sidebar menu, go to Game Setup > 3rd Party Configuration > Auth & Account Linking.
  3. On the Login Methods page, click on the + Add New button. The Login Platform Configuration page appears.
  4. From the available login platforms, click on XBox Web. The Create Configuration form appears.
  5. Fill in the Client ID and Client Secret (obtained from your app on your Xbox developer dashboard).
  6. Fill in the Redirect URI.
  7. Click Create.
  8. In the AGS Admin Portal, go to 3rd Party Store Integrations.
  9. Select the Xbox tab and click Add configuration.
  10. Upload the business partner certificate (BPC) and then click Create.
  11. Create a new Xbox session template via https://partner.microsoft.com/en-US/xboxconfig/sessiontemplates/index?.
  12. Create a new session template in the Admin Portal and enable session sync.
  13. Fill in the Xbox Template Name and Config ID at the end of the session template creation process.
注記

You can adjust readyRemovalTimeout (how long until "ready" members are reverted to inactive) and sessionEmptyTimeout (how long until a session is deleted after it becomes empty) as desired. See the Microsoft documentation for multiplayer sessions for more information.

Configure session sync for PlayStation

  1. Log in to the AGS Admin portal and choose your game namespace.
  2. On the sidebar menu, go to Game Setup > 3rd Party Configuration > Auth & Account Linking.
  3. On the Login Methods page, click on the + Add New button. The Login Platform Configuration page appears.
  4. From the available login platforms, click on PSN 5 SDK. The Create Configuration form appears.
  5. Fill the Client ID and Client Secret from the PSN product page, and select the environment that you want to use.
  6. Fill in the Redirect URI.
  7. Click Create.
  8. Go to the 3rd Party Store Integrations page. On the Admin Portal sidebar, go to Game Setup > 3rd Party Configuration > Multiplayer Session.
  9. On the Multiplayer Session page, click on the Create new button and fill in the Client ID, Client Secret, and Scope as follows:
    • ClientID: Auth Server (Client Credential) ClientID
    • Client Secret: Auth Server (Client Credential) Secret
    • Scope: psn:s2s.service (For syncing non-PSN members to PSN sessions)
  10. Create a new session template and enable session sync.
  11. Fill in the Session title, PSN Base URL, Supported Platform, and Service Label.
  12. Click Add.