For the server im setting all the players data through mysql and then saving when the game ends or player disconnects to keep data consistent, The only thing im using direct queries for is stuff like different languages and settings that change throughout the game