I have some kind of problem and I realised how it happens. So if the map changes and a user quit the server immediately after connect the his data becomes 0. (the mysql hasn't loaded the data yet, but the user quits and the server saves the data to 0) How can I prevent this "bug" or check if there is connection between the server and the MySQL database, so that I can prevent saving the zero information ?