I tried this link, but this not work: “roblox-player://1+launchmode:play+gameinfo:0+placelauncherurl:https://assetgame.roblox.com/game/PlaceLauncher.ashx?request=RequestGame&placeId=PLACE_ID” .
I know there is exist post method https://gamejoin.roblox.com/v1/join-game, but I think there is exist faster and easier solution
Did you give the link a place id?
sure I did it, Is it work for you?
put in game id like this “920587237”
oh, so I think you need add cookies in header
I don’t know what that means or how to do it.
I will try it and after I will update info about it
Here’s some information that might help you:
I think this isn’t bug. Is it?
Automatically joining places by visiting an URL is not user friendly, not being able to do so is probably intended.
However you can create a private server link and share with your friends so they can join automatically.
the easiest solution:
- press F12
- click on console tab
- type in: Roblox.GameLauncher.joinMultiplayerGame(PlaceID)
- press enter
done
You can use Roblox’s game.Players.PlayerAdded
event to get their Player
object and Player
has a UserId
property.
From the UserId
you can get their name and avatar like this:
local ok, result = pcall(function()
return game:GetService(“HttpService”):GetAsync(“https://avatar.roblox.com/v1/users/"..player.UserId.."/avatar”, true)
end)
if ok then
local info = game:GetService(“HttpService”):JSONDecode(result)
print(info.Username)
print(info.AvatarUrl)
end