Fix the player token saving bug, Support more compatible versions of the server.