I’m trying to learn how I can better store data. I’m currently attempting to setup a module to store each player’s data inside of it.
Does anyone have any advice on this topic?
I’m trying to learn how I can better store data. I’m currently attempting to setup a module to store each player’s data inside of it.
Does anyone have any advice on this topic?
I would recommend looking into ProfileService which has a track record for being good at preventing data loss as well as being rate limit friendly
there is also a newer version called ProfileStore but most of us used to ProfileService and im too lazy to learn a new module
For smaller games and ease of use, I’d recommend Roblox’s own DataStoreService + session module.
I would recommend a module that keeps all session data in memory while the player is online, so you can read and write stats quickly.
Keep session and persistent data separate and use defaults for initialization. Only write to DataStore when you want to save permanently. That way, the session data can be cleared automatically when the player leaves without affecting saved progress, unless you explicitly call a save function.
Use DataStoreService, it’s easy to learn and you can make your own save system
Sorry, I didn’t mean a permanent storage solution, I meant more like temporary session data. I appreciate the help though! I use the new module myself, since it’s pretty much the same, but with newer features I believe.
Alright I appreciate the help with that! I’ll use something like that for my game.