You can write your topic however you want, but you need to answer these questions:
-
What do you want to achieve? Keep it simple and clear!
I want to allow users to be able to select any server in a universe to join. Sometimes we get split servers and I was hoping this would fix it so people can follow their friends. -
What is the issue? Include screenshots / videos if possible!
When I test it out with a split server, I will be sent to the wrong server, the smaller one which would be the default by Roblox’s algorithm. I cannot find any server side errors. -
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
Have not tried it but I currently store JobID in a stringvalue as part of a “ServerBoard”. Some of the forums have led me to believe this is incorrect but I do not know how to correctly store JobID otherwise.
if jobId == nil or "" then -- teleports player to a new server instance since there was no server in existence for that place
game:GetService("TeleportService"):TeleportToSpawnByName(placeId, spawnLocationName, player, teleportData)
else -- teleports player to specified server
game:GetService("TeleportService"):TeleportToPlaceInstance(placeId, jobId, player, spawnLocationName, teleportData)
end
local newServer = script.Server:clone()
newServer.ServerID.Value = jobId
newServer.PlaceID.Value = senderId
newServer.PlayerCount.Text = #playerNames
newServer.PlayerNames.Value = playersString