Hi.
I have a few questions.
in my game, If a user purchases an item, it can be used after a certain amount of time.
1. Can I save time in Catalog Item?
2. Can I be registered in the user inventory after that time?
Help me. Plz
Hi.
I have a few questions.
in my game, If a user purchases an item, it can be used after a certain amount of time.
1. Can I save time in Catalog Item?
2. Can I be registered in the user inventory after that time?
Help me. Plz
PlayFab does not directly provide this feature for now.
You can put a timestamp as the item instance data via Server. UpdateUserInventoryItemCustomData in the CloudScript when the user purchases an item. And check the timestamp when the player sends a consuming request.
For more security, you can also store the info of the item to be unlocked and the timestamp into the User ReadOnly Data, and not actually add the item to the player inventory until the right amount of time has elapsed.
2 People are following this question.