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

DLC を設定および販売する

Last updated on July 10, 2024

Overview

In-app Purchase integration enables you to sync player purchases from third-party platforms such as PlayStation or Xbox to AccelByte Gaming Services (AGS). In order to achieve this, items sold on a third-party platform need to be correctly mapped to items created in AGS. This guide focuses on how to map durable items in AGS to items defined on third-party platforms.

This article walks you through how to:

  • Configure DLCs in AGS manually or using JSON file
  • Add DLC mappings for third-party platforms manually or using JSON file

Prerequisites

  • Items are properly configured on a third-party platform
  • Corresponding items are created in the AGS Store

Add DLCs

This section covers how to add DLCs in two ways: manually or by using a JSON file.

Manually add a DLC

To sell DLCs on a third-party platform (e.g., Epic, Steam, Xbox, PlayStation, etc.) after creating the DLCs on a third-party platform, you must add DLCs on the Admin Portal.

To create DLCs on the Admin Portal, follow these steps:

  1. Go to your namespace.

  2. On the sidebar, select Commerce > In-App Purchase > DLC Settings.

  3. On the "DLC Settings" page, open the DLC Configuration tab and click on the +Add DLC button. The "Add DLC" form appears.

    Image shows Add DLC button

  4. Fill in the required information on the form:

    1. Fill in the DLC ID.
    2. Choose Item or Currency as the Reward Type.
    3. Choose SKU or ID as the Item Identity. Search an item by using an item name.
    4. Choose COINS, INGAMEITEM, BUNDLE, CODE, SEASON, or MEDIA as the Item Type.
    5. Fill in an amount for the Quantity.
    6. Click on the Add button to save the DLC.

    Image shows the Add DLC form

Add DLCs using a JSON file

  1. Go to your namespace.

  2. On the sidebar, select Commerce > In-App Purchase > DLC Settings.

  3. On the "DLC Settings" page, open the DLC Configuration tab and click on the + Add JSON button. A JSON template appears.

    注記

    If there is an existing DLC configured already, click on the JSON Options button. Then, click Edit to modify the existing DLC JSON file or Delete to replace it with a new one.

    Image shows the Add DLC button

  4. Follow the template to configure your JSON file.

    Image shows the JSON template

Map DLCs in AGS to third-party platforms

After completing the DLC Configuration, you can proceed to the DLC Mapping tab to map the DLC you created to the corresponding DLCs on each of the third-party platforms. This section covers how to map DLCs in two ways: manually or by using a JSON file.

Manually add DLC Mapping

  1. Go to your namespace.

  2. On the sidebar, select Commerce > In-App Purchase > DLC Settings.

  3. In the DLC Mapping tab, click on the platform with the DLC that you want to map. Then, click on the Add Mapping button. The "Add DLC Mapping" form appears.

    Image shows the Add Mapping button

  4. Fill in the required information on the form:

    1. Fill in the 3rd Party Platform Item ID.
    2. Fill in the DLC ID.

    Image shows the Add Mapping form

Add DLC Mapping using JSON file

  1. Go to your namespace.

  2. On the sidebar, select Commerce > In-App Purchase > DLC Settings.

  3. In the DLC Mapping tab, click on the platform with the DLC that you want to map. Then, click on the + Add JSON button. A JSON template appears.

    注記

    If there is an existing DLC mapping already in the platform, click on the JSON Options button. Then, click Edit to modify the existing DLC JSON file or Delete to replace it with a new one.

    Add DLC

  4. Follow the template to configure your JSON file.

    Add DLC