Play test - Wallet Essentials - (Unreal Engine module)
View player's wallet info
In Byte Wars, the wallet widget is not a standalone element. Instead, it is embedded within the widgets provided in the In Game Store Essentials module. These widgets include:
- Item shop
- Currency shop
- Item detail
In this step, we'll guide you on how to view it in Item shop widget.
-
Compile your project and open it in the Unreal Engine Editor.
-
Play the game in the editor, log in, and navigate to Store > Item Shop. You will see the wallet widget on the top right corner.
-
Press the Refresh button to also refresh the wallet info.
Granting balance
One way for a player to obtain balance is through an admin granting it to them. While this isn’t the primary method players will use to earn currency, it can be useful for testing or specific scenarios. Below is an example of how to grant 1000 Byte Coin to a player.
-
Log in to the Admin Portal and go to your game namespace dashboard.
-
Go to Commerce > Wallets > User Wallets.
-
Use the search field to find the user by Email or User ID, then press
Enter
to search. -
If a match is found, you’ll see a list of that user’s wallets. Click the Credit button next at the top right of the list.
-
In the credit window, fill in the fields as follows:
- Currency Wallet Name:
BC
- Credit:
1000
- Source:
Other
- Sub-Wallet name:
System
- Expired At: (Leave empty)
- Reason:
Testing
- Currency Wallet Name:
-
Click the Credit button at the bottom right of the window. You should now see the player's updated balance.
For more details on managing player wallets in the Admin Portal, refer to Manage player wallets