question

karasy avatar image
karasy asked

Give items to a player in the inventory using the console.

Hello, I have one question.Can I give items to a player in the inventory using the console?And so that he sees this object in the client.Thanks

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Gosen Gao avatar image
Gosen Gao answered

If using the console means using PlayFab Game Manager, then you can navigate to [Game Manager]->[Players]->[Specific player]->[Inventory], where you can grant items to the current player. On the client side, players can view the items they own via the API GetUserInventory.

If the console means PowerShell or any other terminal, you may need to write a script to call API GrantItemsToUser to give items to the player.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.