Player data
After setting up your in-game economy and integrating it with your game, you can look at the status of a player’s game currency balances and inventory items.
To view a player’s information:
- From the Unity Cloud Dashboard, open Economy and select Find Player.
- Enter the player’s exact player ID.
- Click Find Player.
Economy displays the stored information for that player, separated into Currencies and Inventory.
If you are unable to find a player, ensure that you enter the exact player ID in the search box, and that the player has had at least one interaction with the game API (interactions such as initialized currency balances, or created an inventory item instance).
Currency balance
The Currency tab lists each currency stored against a player, along with the respective balances. The name of each currency is clickable, allowing you to view and edit the configuration for the selected currency.
Inventory instances
The Inventory tab lists any instance of inventory items that the selected player owns. A player can potentially own multiple instances of the same item (for example, two copies of the same sword).
The Inventory tab lists the following information about an item:
- The player instance ID of that item
- The item’s name (clicking this name allows you to view and edit the definition of the inventory item)
- The date the item was created in the configuration
- The date the item was modified by the player
- Instance data
Each instance of an inventory item can have different instance data. For example, two swords that are otherwise identical could have Instance data associated with the player's instance, giving each of them different “damage” values.
The Player Instance of an Inventory item has a reference to the configuration Custom Data and its own Instance Data.
Player's instances of an Inventory item are created with no instance data by default.