robodin082
(Robodin082)
December 22, 2024, 12:00pm
#1
I am currently working on a code system in Discord that allows users to purchase codes. I want the user to receive a link after purchasing a code. When they click the link, they will automatically join my Roblox game and the code will be automatically filled into the game.
I am envisioning something like this:
“https://www.roblox.com/games/gameId/gameName/play?code=avhafg3 ”
However, I am not sure how to implement the part where the code is automatically passed to the Roblox game via the URL.
btw i’m using TypeScript
Thank you very much!
hya123456h
(KingBob)
December 22, 2024, 12:29pm
#2
I think it’s a launchdata parameter
1 Like
This could help you.
[Update] September 1, 2023
Hey y’all!
We are excited to announce Developer Deeplinking, a new beta rolling out to all developers today!
This feature will enable developers to pass a string (LaunchData) in links/URLs they create for their experiences. This will be appended to the general join link, and will be available to the developer when the user enters their experience through the join link. You can then use that data to customize the user experience in whichever way you like.
To build…
I would provide code examples with this post, but you’re using TypeScript, which I don’t know just yet
2 Likes
robodin082
(Robodin082)
December 22, 2024, 12:55pm
#4
Yes thank you very much! idk it was that easy!
1 Like