AntiBoomz / BTRoblox

BTRoblox - Making Roblox Better
165 stars 43 forks source link

Add the ability to create JobId based URLs which join that server #31

Open zeezy2204 opened 4 years ago

zeezy2204 commented 4 years ago

I'm working on a modcall system that sends reports through a discord webhook, and I want to be able to make clickable links that upon opening, take the person opening that link directly to the server. I've investigated ways to do this but there appears to be no API for directly joining a server.

The majority of my staff use BTRoblox, so if a feature could be added where upon opening a server formatted like such : https://www.roblox.com/games/123/test?jobId=21a834d6-778f-4082-8333-57961b2c6210

would run Roblox.GameLauncher.joinGameInstance(123, "21a834d6-778f-4082-8333-57961b2c6210"), this would help greatly. I imagine this could be extended further into new features such as being able to generate server invite links on-site that could be sent to other BTRoblox users.

ajs256 commented 3 years ago

Hey there @zeezy2204! I've just made an extension that (I think) does what you need. Could you please check it out and let me know if it works for you? The repo, as well as instructions for installing, are at https://github.com/ajs256/RoJoin/tree/main. Thanks!