cc @FerbZides
A few things to add:
- Datastores now support up to 4MB of data per key, which is effectively 4 million characters, which is a huge amount of data PER key
- Data in the datastore can take up slightly more space do to how values are serialized in datastores, but JSONEncode will give a good enough result that you can use
string.len(dataS) < 3900000and most likely be fine - If you’re storing mass amounts of data, make sure there’s no duplicate data. For example, if you have 2 identical guns store them as one with an {amount: 2} attribute.
Otherwise, you most likely will never reach the data limit anyways unless you plan on saving multiple huge player creations to the same key