How can I share data between places?

  1. What do you want to achieve? I wish to know how I can share data between related places using the new ProfileStore library. For example, I have the game called “Game”, and I want all the places inside that game, such as “Place1,” “Place2,” and “Place3,” to share the same data between them and the main game.

  2. What is the issue? The issue is that I don’t know how I could do that. If I were using DataStore to store players’ data, it would come more easily, but I’m using ProfileStore, which is different.

  3. What solutions have you tried so far? I already tried learning TeleportService, but I don’t know if it would work with ProfileStore. Maybe passing the “profile” through LocalPlayerData? I don’t know.

Any help comes out good. Thanks in advance :slight_smile: !

i believe that this could help you

The post just tell us how ProfileService (which is not ProfileStore) works. I’m figuring out how can I share the player’s profile from place to place inside an experience. Example:

local Game = {"Place1", "Place2", "Place3", "Place4"}

If a user joins Place4, the data shared from all places will be set, and the player will spawn with their Profile, including Profile.Data.

How can I do that?

I don’t think ProfileService cares about what place you’re in. Each place shares the same data store for that experience.

Is that true? Does that mean profileStore uses GlobalDataStore to work?

Or is that because places inside a game basically share the same data store?

1 Like

GlobalDataStore isn’t any more capable of sharing data between places than a named data store. Every data store within a game is accessible to all of its places.

Yes.

1 Like

Thanks; this really helped me! I was afraid it couldn’t be possible to share data between places, but now I understand.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.