Hello,
I am looking for advise on how DataStores work. Mainly like whats their limitations, and where can I find these limitations.
I am currently writing a modular DataStore system so I don’t have write one again.
My Problem mainly is I am unsure on how to save data that has failed to save.
The Solution I first had to this problem was to save the data in a table and save the players data into that table, then try to save the players data again. Failing to save would mean it would loop trying to save the players data until it successfully does.
But then I thought about what happens when a player leaves and it doesn’t save properly, but the player then decides to server hope. With what I explained before I can see that the data could get mixed up with old overwriting new values.
Like am I able to auto save every minute, because then that would remove the scare of losing data if I chose not to do that fail safe i stated above.