The maximum limit for datastore:
60+(game.Players.NumPlayers*10)
Why do I want this? Well right now I have a 15 player game, I plan on increasing it to 50 when its finished, but even now I need more space, why?
limit = 60+(15*10) = 210
Now, Its for my city game, so I need furniture to auto-save 4 times a minute (I shutdown frequently so auto-save is the only option, if I do anything less than 15 seconds people can lose significant amounts of furniture placed down).
total = 4*15 = 60
That is already a problem, the fact that Im 1/4 there and all I did was save some simple furniture (all furniture is saved into one string, and just used as one slot in the datastore). Now, lets say I
m going to save something like… lets say the inventory.
We are going to save this 4 times a minute as well (shutdowns can be rage inducing because they don’t save data):
total = 60+60 = 120
Now, I have the inventory saved, which is 500 items. I`m now over 1/2 to my limit. Now I need to save their in-game friends list so they can chat, as well as their in-game group. I can squeeze these two into one store, so lets see again now:
total = 120+60 = 180
I am now at over 3/4 to my limit. But I still need to save their tools and potentially weapons! (not the same thing as inventory. Inventory is used to save things like furniture which isn’t placed down. This is for the purpose of trading, a soon to come feature) So once again I must save 4 times a minute…
total = 180+60 = 240
I have now gone 30 over my limit, without considering the fact that someone may leave the server after their 4th save of the minute and take up another 4-5 extra total. I also have not considered the fact that players have save-slots in case they want multiple apartments to edit. This will take up at max 5 apartments, meaning that I have to check if they have 5 save slots, which is literally another 5 stores being used every time someone enters, on top of the other 4-5 needed to load their data.
My proposition?
limit = 20*numPlayers
Why? Well with some simple math we can see that:
10 Players: 200
10 Players (Old): 160
50 Players: 1000 (this is very reasonable for a full 50 player server!)
50 Players: (Old): 560 (What)
I would really appreciate even the slightest bump up, maybe 60+(15*numPlayers) if you can’t sacrifice performance or something. But I know I`m now the only developer who needs such saving, if you don’t believe that a game can load so much data, take a look here: Grand City of Robloxia - Roblox
Please consider my request, and thank you for reading!