Fixed resetting stats and informing upgrade plugins when a player disconnects