DataStore2 not saving values correctly

I’m experiencing an issue with DataStore2 where it stops saving the data of values after it reaches a certain threshold. For example, if I have 3 String values in a Data Folder it will successfully save all values, but if I add a 4th String value, it will fail to save that value.

I’ve tried JSONEncode() to see the number of characters the datastore is using and it’s only at 23 of 260,000.
Wondering if anyone has experienced this same problem/knows a solution to this.

Please could we see your script because it is hard to see what you are doing wrong.

The only thing that I can think of, with the information given, is that you are not combining your data stores. With DataStore2 the recommended way to save your data is by using combined data stores. You can read about combined data stores here: Gotchas - DataStore2.

With DataStore2 you don’t need to have a data folder because DataStore2 does all that for you. Instead you should be saving your data whenever it changes and then getting your data whenever you need it from the DataStore2 module. You may be think but don’t I need to consider the data store limits and wait between each call. With DataStore2 you can call the saving and getting methods as many times as you want and as quickly as you want.

I think I found a work around to it. Thanks for responding though!

1 Like

wat was it cus i need it. please respond as fast as possible