Save your player data with ProfileService! (DataStore Module)

Hi, I am slightly new to this module and just wanted to ask if using a module with a ton of public functions like GiveCash or GiveItem would be a good idea or if it would be better to handle data in their respective scripts.

I ran into a problem. After publishing the game, i tried 2 accounts to join a server. then I have 1 account rejoin the same server. the data of that account is lost in the same server.

when I have 2 account quit that server, and have lost data account join a different server, data is back again. does anyone know what bug is this

Edit: I fixed it was my code that make profile take infinite loop and never release

I honestly wouldn’t usually do this, but since this post keeps getting at the top of the page, why not?

For those who are perhaps looking for an alternative, maybe check out DocumentService.

ProfileService hasn’t been updated (or at least, seems like it) for a long while.

Just finished a quick ProfileService rewrite :eyes:
The project name is “ProfileStore” which represents the top class of this module.
Majority of changes involve code and comment cleanup, variable name cleanup, an upgrade to the GlobalUpdates feature and auto-complete support.

It will be backwards compatible with the original internal DataStore schema ProfileService has been using, but the method names will be different and “MetaTags” will be removed in favor of a new property “Profile.LastSavedData”.

There also exists a rewritten version of ReplicaService that’s slightly faster and also has cleaner method names.

If there’s enough interest from the community and motivation from my side I might make an open source release of these modules with full documentation :slight_smile:

44 Likes

Sounds neat…! Looking forward to using it if released!

2 Likes

Please just update the module because everyone just wants an update.

I’d take it even without the documentation

1 Like

please release the module we havent gotten an update in over 2 years i think :pray:

1 Like

bro it’s probably the most used datastore module ever made.

yes, the community is interested. let’s just uhhh skip on past that hype train and get to the part where you release it. pleaseee!!! :smiley:

2 Likes

+1 to the community interest for a release

1 Like

would be awesome to see an upgraded profileservice! interested to see what specific changes were made :eyes:

1 Like

Please add support for typechecking! :pray:

2 Likes

There’s one on GitHub made by another user iirc, just check the Github repo

just release it, people be craving for an update

how can i migrate my data to profile service? i’ve been using the traditional datastore and experiencing data loss

Definitely interested in the ReplicaService rewrite, even without documentation

ProfileStore

An updated module, successor to ProfileService, has been RELEASED:

2 Likes

I’m having an issue.

I’m using TeleportAsync to attempt to reconnect afk players prior to Roblox’s disconnect. I have my script set to release the players data, then I use ListenToHopReady as well as a small delay prior to teleporting. I’ve verified that :IsActive() is being set to false. When the player is rejoined to the same server, no problem. However, if the player is put into a different server LoadProfileAsync is returning nil indicating two servers attempting to access the profile. In the case that LoadProfileAsync returns nil, I have it set to reconnect players through TeleportAsync which seems to work fine.

What might I be doing wrong? Ideally I want to avoid this double teleport

ProfileService is no-longer supported or being updated, but I would like to know if anyone else has experienced this same problem.

Randomly last night starting around 7:30 PM 3 thousand errors over a period of 6 hours occurred relating to profile service.

I have not seen this error occur on any of my other experiences so it’s pretty bizarre. Thanks!

I’m also getting occasional errors loading data upon joining a place after a teleport