Help with game.JobId

So i’ve been making a Report Player GUI inside one of my games, and i heard about game.JobId
and thought to use it because i thought it would give you a direct link to the sever like in private servers, but found out that it gives you the actual server ID.

And i don’t know how to properly use it and join that specific server.

Here’s my code:

local ServerId = game.JobId

['content'] = player.Name.. ' Has issued an report: '..feedback..' in '..ServerID;

Can there be made a link that when clicked it directly redirects and makes you join the server? I’m kind of new to lua and started with it not so long ago so my skills are kind of nobbie.

If someone is willing to help me i’d be very thankful!

I’m not sure as to how you can do this without going into a different server or without code but you could use TeleportToPlaceInstance:

TeleportService:TeleportToPlaceInstance(placeId, jobId, player) -- Define PlaceId, JobId, and the Player to be teleported

I currently can’t think of something that will make it give a link.

But can you use the serve id to join from an external source like a browser?

You could probably remove the "-"s and use this format for the link:

https://roblox.com/games/GAMEIDHERE?privateServerLinkCode=JOBIDHERE

But not too sure though.

Hmm seems like it doesn’t really work gives me 404 | page not found

1 Like

I guess you are asking about how to join the server from where the report came. To do so, you should send a link to your webhook which opens the Roblox application. The link is like this:

https://www.roblox.com/home?placeID=ThePlaceIDOfYourgameHere&gameID=JobIDHere

An example link which works is: https://www.roblox.com/home?placeID=6872265039&gameID=b45df1b3-86e8-4b14-b8a3-6f85ada98e83

Get the game’s jobid, post it to a webhook and inspect element → console on any Roblox page and type in this code:

Roblox.GameLauncher.joinGameInstance(GAMEID, "JOBID")

I think the shorcut for inspect element is CTRL + SHIFT + I

P.S above solution is by @NWhut

I found a browser extension that could help you (Roblox JobId Join):

Basically, you set the ‘serverJobId’ param to your specified JobId.
I cannot guarantee that this is allowed tho.

Well he was asking about how to join a server from where a user reported an issue. So finding the jobId from the browser page of his game doesn’t help.

The jobID will be present in discord, so u can just paste that code in the console, like the above example. There’s no need to go to thr exact server or anything.

I wen to their GitHub page and saw that it does the same thing which this link does.
Link: https://www.roblox.com/home?placeID=6872265039&gameID=b45df1b3-86e8-4b14-b8a3-6f85ada98e83

So I suggest not install any extensions. Just sending the link with the jobid from the server to webhook is enough.

I have tried your method but it seems like it doesn’t really work properly, it doesn’t launch the roblox app

https://www.roblox.com/home?placeID=8301035034&gameID=b1f115d7-de41-4cf1-b239-8835ab670978

It did launch for me… it should for everyone. I joined your game too. Chk once.

I forgot to tell this thing…the server shud be running at the time you are joining.

The server that i’m trying to join is already running, but it’s just myself in there so idk if you could join yourself

Maybe try and join and use the gui and so it sends me the webhook with the id, maybe that will work?

Ok am going to send it right now.

1 Like

Nope still doesn’t launch the roblox app

Once send me the exact link you got through discord.