question

entelicon avatar image
entelicon asked

Custom data per inventory item

Is it possible to have custom data for a specific inventory item for a specific player? Or is it a global custom data system?

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

·
brendan avatar image
brendan answered

Yes, that's specifically how the service works - there's CustomData in the catalog, which is global for all players, and separately each inventory item instance in player inventory has CustomData, which can be used for distinct values per player item.

https://api.playfab.com/documentation/Server/method/UpdateUserInventoryItemCustomData

https://community.playfab.com/questions/3752/read-custom-data-from-iteminstance.html

2 comments
10 |1200

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

entelicon avatar image entelicon commented ·

Interesting, is there anyway to see individual custom data for a specific inventory item inside of the PlayFab admin panel? Because whenever I click an item in my players inventory from PlayFab, it takes me to the gobal catalog item, not that specific item.

0 Likes 0 ·
brendan avatar image brendan entelicon commented ·

Yes, if you hover over the blue "note" icon on the player inventory item list, you'll see that its help text is "Show custom data".

0 Likes 0 ·
capture.png (3.8 KiB)

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.