Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

How to change Place settings in Multi-Place Game?

Asked by 4 years ago

My game will have 2 different places: Public to everyone Lobby and the place where Core Gameplay will happen. The player will be able to join to Core Gameplay place in the lobby, which will be private only to them but will have the option to allow their place to be joined by friends(let say max 5 friends can join).

My problem is, I don't know how to make a place private to one player while still have option to make friends join. Do I make it with just a script or maybe something on the Create page too?

I can only find on Roblox Developer page about teleporting through places but nothing about this kind of settings...

0
Why would you want this to happen, i'd say make a queue. Mr_News -5 — 4y
0
Games like Dungeon Quest have something similar to what I want to make and it works great there. Rafii2198 56 — 4y
0
I don't understand the need to change the settings of the core game if the only way a player could join is via code to teleport them to the core game. beeswithstingerss 41 — 4y
0
I mean when the teleport happens Roblox doesn't look if server is empty and this is my problem because if I want to make place private while have ability for friends to join I would need to restrict other players to join that server. At least I think I need to it like that but like I said I don't know. Rafii2198 56 — 4y
View all comments (3 more)
0
Use the reserve private server built in function thing AdminAyush 10 — 4y
0
https://developer.roblox.com/en-us/api-reference/function/AssetService/CreatePlaceAsync will make a place for a user and place it into their inventory. It can be reused. climethestair 1663 — 4y
0
Is there a way to delete created place with CreatePlaceAsync when it is empty? Rafii2198 56 — 4y

1 answer

Log in to vote
1
Answered by 4 years ago
Edited 4 years ago

One way you could potentially do this is by using TeleportService

local place = TelelportService:ReserveServer(0000000)
TeleportService:TeleportToPrivateServer(1248523004, place, player)

keep in mind this can only operate on the server.

Ad

Answer this question