I’ve had this idea for a while now:
Bundle purchases!
(I do admit my lua background is not the greatest, so this explanation may be a bit bumpy)
Overview:
Regular developer products can be creates and sold an infinite amount of times, however these purchases are individual which can become annoying. With bundle purchasing, developers can include a sort of “package deal” by including an array of developer products and physically coding in a price (in robux) to sell said bundle at!
Coding sample:
This method will also require MarketPlaceService to function, and works along side :PromptProductPurchase()
- in this case, I suggest the following function:
MarketPlaceService:CreateBundle(array,name(string),price(Int),ImageId(string))
where the array is the developer product IDs that reside in this function as well as any gamepasses that may be included, the price refers to a set amount (in robux) to sell the bundle at, the name being what shows up when prompted and the image refers to a roblox image ID used for the decal display image. The bundle must cost more than the gamepass, otherwise it will produce an error. This function will return an ID, which can be used in :PromptProductPurchase()
.
This can be used in the following method:
local MPS = game:GetService("MarketplaceService")
local Players = game:GetService("Players")
local ProductIDs ={
1234567;
4567801;
1230495;
}
local BundleID = MPS:CreateBundle(ProductIDs,"Yard Sale!",500,"http://www.roblox.com/asset/?id=500750735")
local function promptPurchase()
local player = Players.LocalPlayer
MarketplaceService:PromptProductPurchase(player, BundleID)
end
Conclusion:
This would benefit developers in such a way to upsale more of their products, and would save a lot of time put into developer products. For me personally, I would use this continuously in order to produce a more solid economy for my games, having daily bundles (Arguably you could just make a new developer product and just sell all the bundle items in that said product) would be much easier, and if gamepasses would be inclusive, then you could say… sell VIP with the addition of 150 coins for a limited time offer! (or something of the sort)
Thank you for reading and let me know what you think!!