How do you get a link to automatically play the game in a certain server?

You know how you can redirect to a private server from a link. Well, I was wondering how you do it using JobId and PlaceId to redirect you to the server from a link. Is it possible?

3 Likes

I’m not sure exactly what you mean. Do you mean a VIP Server Link? Or a special link to teleport you to a specific game instance? If it’s the later, you can’t.

1 Like

Like a VIP server link. It’s of course, a special link to teleport you to the server.

1 Like

That’s not currently possible. You could join the game and then enter a code or something, then fire it to the server and teleport from that, but you can’t make a custom link currently.

Your best solution is to have a code to teleport players if they enter it into a certain server.

What is your use-case for this?

Hm. I can use Adonis, however, I was wondering how you teleport to the server with the Job Id from Adonis Commands. Is it actually possible?

I don’t know Ardonis Commands, but you could make a script to do it. This thread really isn’t for questions about a module’s API.

Alright, I know how to do script.

Please tell me your use case. I don’t know what you mean.

It’s ok, I know how to do it on script.

So Is the problem resolved? I’m confused.

Your question is all over the place. One moment you mention creating a link to join a specific server the same way you do so with VIP servers, then you go to talking about “Adonis”? Those are two completely different topics altogether.

As far as creating a link to join a specific server, you can’t do that. You could probably set up an external server to do something but that’s not really necessary and I’m not sure how to do it, so I’ll leave that alone.

In-game, if you’re looking to teleport to specific servers, you have to do so by fetching your target server’s JobId and then using TeleportToPlaceInstance. Adonis server creation is just ReservedServers and usage of TeleportToPrivateServer.

2 Likes

It is actually possible to do this using internal APIs that are not documented. However as said above this is not really something you should be doing as speaking from experience, it is a pain to set up. When I got it working I realised it is quite pointless as it’s not worth the hassle to regenerate a new URL every time you want to join a server.

2 Likes

Can you tell me how you did this? I’m creating a website that this would be really cool for. I know it’s not necessary, but It’d improve user experience on the site and make the whole experience much more seamless. I don’t need a step by step tutorial, but can you point me in the right direction?

If you are using this for “commercial” use, you can’t - you need your .ROBLOSECURITY cookie to generate the URL. If I generated one with my cookie and you clicked it, you would join the game on my account. I can talk to you more privately if you’d like, as this is continuing an answered thread.

2 Likes

I’ll get in contact with you over Discord later. Thanks!