Pass Data Using ReserveServer?


#1

Is there any way to pass data to a reserved server using TeleportService:ReserveServer()?


#2

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.


#3

The TeleportToPrivateServer method passes data that is specific to each player though? What if I just want to pass just general server information?


#4

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.