A way to get data of an offline user
Perhaps DataStore2.FromUserId?
Will this be added any time soon?
I've been working on a lot of projects other than DataStore2, so probably not from me.
Ok. I'll attempt to add it sometime in the near future and send in a PR.
@Dog2puppy Have you made any progress on this?
Nope. I completely forgot about this. Not sure when I'll try implementing it. I've been busy with school.
I might be able to add it, not sure.
What about integrating it into the ds2.__call() call? Then just do it differently, like needing to clean up the cache with a function. Maybe a function / parameter to check if it's offline player data?
There's a lot of gotchas that come with offline data that make me not want to pack it on top of the main method. Saving only works if they're not in game. If you save while the player is in game, then when they leave your data will be overridden.
Is there any update on this? I have use cases that need some data from offline users and I would love to be able to use DS2 for it to keep my codebase consistent.