Hi, I’m interested in migrating all my players’ data into Datastore2. How do I migrate?
Edit: I pulled an incredibly silly move and forgot to tell you how my datastore worked.
Values are kept in ReplicatedStorage and updated upon player leave.
(there are multiple values under statnumbers)
The values are updated upon player leave.
If there’s no way to make Datastore2 values be held (or at least shown) in a folder in ReplicatedStorage, then I will have to redo a lot of code.
Im having trouble with data loss. It happens whenever a player got disconnected by internet connection. So i have to save player data every 1 minute. Am i right to do this?
Very impressive! Just found this. If i understood this correctly, all errors are handled? So i dont need to wrap anything in a pcall right?
Also, nothing needs to be attached to the function before the server shuts down right?
If i just update the data whenever i need to, can i be 100% sure that the data will be saved when the player leaves?
I made a plugin for this module its still in progress since its my most complex plugin i made. But how it works u just connect to a datastore “Dataname/userid” and press connect button.
On the buttom of the connect screen there is the current datastore key but you can use your desired key like 1,2,3…etc. Once you put the key press enter and you will get a table with everything you stored inside the data key. You can edit or add or remove something from it. Then you can save(every 10 seconds so you dont overload the data). Thanks.
Datastore Link: Datastore2 Editor - Roblox
Many people have started getting errors with DataStore2. We don’t know if it is Roblox issue or DataStore2 issue, but it is definitely not an issue on our side.
The error:
HTTP Unknown Error (TlsVerificationFailed)
This happens whenever player quits the game. The game freezes for 20-30 seconds and this error comes out.
For the past 2 months, I’ve been trying to resolve an issue in my game where DataStore2 causes Studio to return the error Script with BindToClose callback was destroyed; callback cannot be called!
This is causing the data not to save. Any ideas as to how to fix this or what is causing this?
First of all, sorry if this has been asked a thousand times.
I can’t seem to find a answer for my problem, at least one I understand…
In my game, the player is able to create custom data.
Which is:
The player created the folder name, and the values.
So in theory there can be 100 folders, each having those 3 StringValues, which have unique player chosen values.
My question is, how do I save the entire “Videos” folder.
I’m still trying to figure out DataStore2, so I’m sorry if this is obvious.