So, I’ve been searching up on data stores and I was thinking of using timestamps or “rankings” to datastore (So I would get the most recent saves).
But I dont really know if I should do that or not, It seems like a good idea, My other problem is that I dont know how to do this.
(The purpose of me doing this is to try preventing a full data reset but if there are ways to prevent the data loss that doesnt include that then I would like to know about it.)
What you are trying to do is exactly what Datastore2 does. It caches the players data under an ordered datastore with each new cached value being incremented by 1 from the other. Datastore2 forum post can be found here. The api documentation can be found here. Hope this helps, I personally use datastore2 and it is known to be very effective at preventing datastore loss.
Yeah but my objective here is to make my own datastore… Well I got that idea of using ordered data store for datastore in a post of the “creator” of datastore2.
And I just found out how I would do this, anyways thanks.
1 Like