03.03.2018, 09:22
Don t save the stats when a player disconnects . Save them right after you modify them , because otherwise in case of a server stop or restart, the data will be lost.
OnPlayerDisconnect is not called if the server crashes or restarts.
OnPlayerDisconnect is not called if the server crashes or restarts.