Historically for player data, I’ve created a folder for them in ServerStorage/ReplicatedStorage and put their values/stats in there. Assuming FE and sanitation checks for all remote events, is that still a good way to do things? I’ve seen some talk about storing player data in tables but I’m not entirely sure how that would work without having a million remote events firing every second.
Basically my question is: what is the best way to store and retrieve player data in-game?
The client should never have access to editing data.
You can allow the client to view changes made to the data via RemoteEvents, or (if you’re lazy) object values. It’s better practice to use RemoteEvents/RemoteFunctions though.
Also, in terms of performance, it’s best to use multiple RemoteEvents/RemoteFunctions instead of sending some sort of ID through the network.