Skip to main content

Create and manage inventory configurations in the Admin Portal

Last updated on April 16, 2024
note

The Inventory service is currently available as an Early Access feature to AGS Premium clients.

Introduction

In the AccelByte Gaming Services (AGS) Inventory service, an inventory configuration contains a set of information and rules to determine the type of inventory that your players can use in-game.

This article walks you through how to create, update, and delete inventory configurations in the AGS Admin Portal.

Prerequisites

View inventory configurations

  1. In the AGS Admin Portal, go to the namespace with the inventory configurations you want to view.
  2. On the sidebar, go to Game Management > Inventory > Configurations. The Inventory Configurations page displays the list of inventories in the namespace.
  3. From the list, find the inventory you want to vide. You can search for inventories using their code. Click on the inventory code to go to its details page.

Create inventory configuration

  1. On the Inventory Configurations page, click on the Create Configuration button. The Create Configuration form appears.

  2. On the form, fill in the required information:

    • Inventory Code: type in an ID for the inventory.

    • Inventory Name: type in a name for the inventory.

    • Initial Slots: set the maximum number of slots a player can have to store their items, or tick the Set as Unlimited checkbox to set it to unlimited. Each slot can store a single non-stackable item or multiple identical items stacked as one.

    • Maximum Slots Upgrade: set the maximum number of slots upgrade a player can own in the inventory, or tick the Set as Unlimited checkbox to set it to unlimited.

    • Maximum Ownership: set the maximum number of inventory that a player can own per inventory.

    • Description: provide a brief description or additional information describing the inventory configuration.

      note

      When you set Initial Slots with Unlimited configuration, it will automatically set the Maximum Slots Upgrade into Unlimited.

  3. Click Create. The new inventory is added to the Inventory Configurations list.

Update inventory configuration

If the status of an inventory configuration is INIT, you can update or edit all of its details. If its status is TIED, you can only update its Inventory Name and Description.

To update an inventory configuration, follow these steps:

  1. Go to the Inventory Configurations page and find the inventory that you want to update from the list. You can search for inventories using their code. Then, click on the inventory code to go to its details page.
  2. To edit the value of any field, click on its edit (pencil) icon. Then, edit the value and click on the check button to save your changes in the field.

Delete inventory configuration

You can delete an inventory configuration when its status is INIT. Inventory configurations with the TIED status cannot be deleted.

To delete an inventory configuration, follow these steps:

  1. Go to the Inventory Configurations page and find the inventory that you want to delete from the list. You can search for inventories using their code. Then, click on the inventory code to go to its details page.
  2. On the details page of the inventory, click on the Delete Configuration button and click on OK to delete the inventory. The inventory is immediately deleted from the Inventory Configurations page.