klojo11Join Date: 2011-08-13 Post Count: 320 |
What is this and what can it do?
Because i dont get it.. |
|
UnqeesJoin Date: 2013-12-31 Post Count: 6169 |
Developer products, like regular game passes, are place-specific, purchasable assets. Unlike game passes however, developer products have the capability to be bought more than once. Developer products are perfect for in-game currency or ammo purchases.
Since developer products are place-specific, you must create a place before you can create a developer product. Once you have created your place, it is easy to create products for it.
Follow these steps in order to create a product for your place:
• Go to the configure page for your place.
• On the configuration page, there is a tab with the text "Developer Products".
• Click the button that says "Create new".
• On the developer product creation page, you must fill in all of the necessary boxes, and then click create.
• If you mess up and want to change something later, don't fret! Like all assets, developer products can be edited at any time.
• After creating your developer product, ROBLOX will assign it a unique productId. If you forget this number, simply check back on the place configuration page, where all of your developer products should be neatly listed.
• Once you create your product, you will have to write some code in order to make it purchasable in your place. This, however is not hard at all!
For further reading, see: http://wiki.roblox.com/index.php/Developer_product |
|
|
dude say how to use it not how to make it... cos its hard to find scripts and that stuff for it |
|
UnqeesJoin Date: 2013-12-31 Post Count: 6169 |
SilverDamage, what do you mean by asking 'how to use it'?
|
|
|
@Silver It's called researching, many people do this when they are stuck.
When life gives you lemons... BURN HIS HOUSE DOWN! >:D |
|
|
i mean that, thre only example of surface gui's, and so i want normal GUI, and plus I wanna have more than 1 product... and I want it to work properly |
|
72Tom72Join Date: 2010-12-15 Post Count: 3919 |
You gotta code it yourself. It's just like selling a gamepass, it's got its own code and works just how the individual user codes it to function. |
|
|
dude... am no scripter but I already have millions of plans for developer products... |
|
UnqeesJoin Date: 2013-12-31 Post Count: 6169 |
In order to save anything that may be changed by purchasing products, Data Stores should be used. The example code below features a server-sided script and a client-sided script, and allows the client to click a button to purchase the product:
Server-sided code:
local MarketplaceService = Game:GetService("MarketplaceService")
MarketplaceService.ProcessReceipt = function(receiptInfo)
game.Workspace.DisplayScreen.SurfaceGui.TextBox.Text = receiptInfo.PlayerId .. " just bought " .. receiptInfo.ProductId
-- ...
-- use DataStore to record purchase
-- ...
return Enum.ProductPurchaseDecision.PurchaseGranted
end
Client-sided code:
local MarketplaceService = Game:GetService("MarketplaceService")
local buyButton = game.Workspace.BuyButton.SurfaceGui.TextButton
local productId = 13672652
buyButton.MouseButton1Click:connect(function()
MarketplaceService:PromptProductPurchase(player, productId)
end) |
|
UnqeesJoin Date: 2013-12-31 Post Count: 6169 |
This is a sample place for the developer product using and scripts.
It is not copy locked so you are free to view and copy the code as needed.
http://www.roblox.com/Developer-Product-Sample-place?id=147965737 |
|
|
but for normal GUI not surface GUI, do u just edit the surfacegui.textbutton to gui.textbutton? |
|
|
Silver, perhaps I can help you. I could script a little example for you to use. =] |
|
|
I must admit that the Developer product code given on the wiki is absolutely not user friendly, therefore very unprofessional for a learning wiki.
This has happened to a few other things before where Wiki writers wanted to show off how compact they could make their code, then newcomers would spend an hour trying to read the code because it looks like another language.
Im bumping this thread because i was looking up dev product stuff and i stumbled upon this. lol. |
|
|
I cant add a picture to the product |
|
|
|
EASY!!!
use free models!
search up
"Developer Products" |
|
|
It says on wiki there is a code, but what's the code? |
|
kpmccainJoin Date: 2014-12-07 Post Count: 13 |
I want a donate button Gui but those scripts don't work |
|
kpmccainJoin Date: 2014-12-07 Post Count: 13 |
can you make me a screen gui script for a donation I already have a developer product |
|
MervelyJoin Date: 2015-12-11 Post Count: 68 |
Developer products, like regular game passes, are place-specific, purchasable assets. Unlike game passes however, developer products have the capability to be bought more than once. Developer products are perfect for in-game currency or ammo purchases.
Since developer products are place-specific, you must create a place before you can create a developer product. Once you have created your place, it is easy to create products for it.
Follow these steps in order to create a product for your place:
• Go to the configure page for your place.
• On the configuration page, there is a tab with the text "Developer Products".
• Click the button that says "Create new".
• On the developer product creation page, you must fill in all of the necessary boxes, and then click create.
• If you mess up and want to change something later, don't fret! Like all assets, developer products can be edited at any time.
• After creating your developer product, ROBLOX will assign it a unique productId. If you forget this number, simply check back on the place configuration page, where all of your developer products should be neatly listed.
• Once you create your product, you will have to write some code in order to make it purchasable in your place. This, however is not hard at all!
For further reading, see: http://wiki.roblox.com/index.php/Developer_product
In order to save anything that may be changed by purchasing products, Data Stores should be used. The example code below features a server-sided script and a client-sided script, and allows the client to click a button to purchase the product:
Server-sided code:
local MarketplaceService = Game:GetService("MarketplaceService")
MarketplaceService.ProcessReceipt = function(receiptInfo)
game.Workspace.DisplayScreen.SurfaceGui.TextBox.Text = receiptInfo.PlayerId .. " just bought " .. receiptInfo.ProductId
-- ...
-- use DataStore to record purchase
-- ...
return Enum.ProductPurchaseDecision.PurchaseGranted
end
Client-sided code:
local MarketplaceService = Game:GetService("MarketplaceService")
local buyButton = game.Workspace.BuyButton.SurfaceGui.TextButton
local productId = 13672652
buyButton.MouseButton1Click:connect(function()
MarketplaceService:PromptProductPurchase(player, productId)
end) |
|
|
ok, I ###### that too. thanks!## |
|
|
I got a hacker on my account and was writing i want 100 robux on my account my friend got crazy and said why and the person said u will die soon and i got scared i swear it happend |
|
|
dude developer products are gamepasses exept you can buy them as many times as you want and if you buy iy you get robux. |
|
|
Okay. I am an NBC member.
I make a 15 robux dev product and someone buys it.
How many robux would I get? Will there be a delay? |
|
|
Yeah i see what you are saying but it doesn't allow me to make them free. why is that?
|
|