Here’s one thing that drives me mad, any-time anyone makes a DataStore wrapper/module, someone will say, “Why is this better than DataStore2?” And as I said:
It doesn’t need to be better than neither of these; That makes smaller developers who don’t understand Luau that well become unmotived to share their amazing tools sometimes.
I understand that this is not a GREAT module, but for certain stuff, it can be useful, for example, player settings, which don’t need to have that much security on them, it’s just settings, and if you ended up using a separate datastore, and you don’t wanna have that many requests, just because of that, this module will convert everything, and cache those, and have less requests to these. Also I won’t remove MessagingService from this, this is the MAIN thing about this module, it USES MessagingService as a “little help” to make requests faster; but mainly uses normal DataStores, in fact, this module has changed ALOT, to make cached data from other servers have STRICT, like VERY strict, rules about it. It needs by default, to be NEWER than 600 seconds (10 minutes) (you can chance this to anything;), to use it from caching. Else it gets it from DataStores. I know MessagingService isn’t about keeping player’s data, but it isn’t even doing that in a deep way. I try to use DataStores here as often as possible in a way that MessagingService can STILL be useful.