it says that im sending too many requests, but i am not. my game literally has only 5 data stores so why could this be happening? could it be because there is an autosave every 3 minutes?
That is the total requests made per server. However, there is a 6 second delay between writing to the same key. If you are trying to write to the same key twice in a script in quick succession (less than 6 seconds), you might get that message.
Not necessarily, it can be a good idea to save data periodically. It’s worth noting that that message does not mean that nothing is being saved, it just means that a request was added to a queue. Unfortunately, I cannot really tell you what your issue is exactly, without seeing your script.
wait, it says theres a 6 second delay between saving, so should i do something like this?
save info in datastore 1
wait 6 seconds
save info in datastore 2
wait 6 seconds
save info in datastore 3
wait 6 seconds
save info in datastore 4
wait 6 seconds
save info in datastore 5
That would work if they are using the same key, yes. But if you are accessing a different key each time, that might not be where the issue is occurring.
there are 5 data stores in my game, and when the player leaves they all save info in the same time
but if i add a 6 second cooldown betwen each of them it will be like 30 seconds, the server could already shutdown in this time or someone else could join and claim their plot and everything would break