Is there any way to pass data to a reserved server using TeleportService:ReserveServer()?
3 Likes
TeleportToPrivateServer has the option to pass teleportData of any type, just like the other teleportation methods. The ReserveServer method does not have a teleportData option, although you can store data using the returned PrivateServerId value + datastores.
The TeleportToPrivateServer method passes data that is specific to each player though? What if I just want to pass just general server information?
2 Likes
It’s not specific to every player in the case of TeleportToPrivateServer (if you are using it to teleport a group of players with one call) but it will be carried in every player’s teleportData. You can use player:GetJoinData to securely access that data server-side.
6 Likes