I’ve made my data saving system on the localside and whenever I kick all players with the option on the site no datas are saved and when they join right back they lose all their progress. However when i had done this before on the server (i moved the data saving on local cuz im reworking the whole system to be client for optimization reasons) it used to work.
Should I save the player’s data on the server too? Thanks
Obviously please please please use the server. Ain’t no client performance getting upgraded from such service usage.
I am wondering how you did it tho… lol
The server shud def. be the side to use, and there are ways to prevent data loss. Use :UpdateAsync() and BindToClose() to help. What I use for my games is an external module because I really don’t feel like writing or handling such complicated data structures. I let the pros do it themselves (aka ProfileService, DS2, etc.)
playerremoving still fires even if the server is shutting down bindtoclose is what you use to run a function when a server is finally shutting down
hes probably using remotevents to save data which he shouldnt