question

Choi Yongkyun avatar image
Choi Yongkyun asked

How can I check the item expiration log?,How can I know if an item has expired in my inventory?

I checked that item expiration is not real time via this post

Can I check the log that the item has expired when the user touches the inventory?

I think there was a player_inventory_item_removed log in the past, but is it now deprecated?

Player Inventory
hfkgj.png (312 B)
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

·
Sarah Zhang avatar image
Sarah Zhang answered

Currently, the PlayStrem Event -- player_inventory_item_added carries the item expiration information. You can use it to trigger the action. In your case, you can consider using Rules to trigger a CloudScript function to record the items’ expiration information as Read-only Player Data. So that you can check if the item has expired or not through calling GetUserReadOnlyData.

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.