Hello, I am currently trying to recreate my season pass implementation in hopes of being able to automate the new season cycle. My previous system required quite a bit of manual input to reset the season but with Economyv2 being released I decided to revisit it.
Here are my two main limitations:
- Season Passes are purchased through the Marketplace (GooglePlay, AppStore)
- Seasons are reset with Scheduled Tasks (hopefully it is fully automated)
What stuck out to me with the new Inventory system is the generated ItemID so I thought it would be best to take advantage of it and create the system around it. In general, my idea is to:
Have 1 bundle with the proper marketplace mappings to GooglePlay and the AppStore. The bundle contains 1 "pass" item.
When a new season starts, make a new "pass" item and delete the old "pass" item. Modify the bundle so that it contains the new item instead.
That's pretty much it. Now, any cloud function can check if the player has the correct pass token by getting the inventory of the player and the updated bundle and verify if it contains the correct item id. This seems like an easy way for me to implement it but the problem is that I can't find a way to modify the contents of an already published bundle without the admin panel.
Any ideas on how to fix/implement this?