Short description about the bug/problem:When a player changes their in game name there data is reset.
What steps will reproduce the problem?1. Kill a player2. Change your minecraft user name3. Kill record is gone
What is the expected output? What do you see instead?815, 0
What version of CommandRank are you using (for example v3.1.1)?v3.2.1
Please paste your whole CommandRank config at pastie.org and link it there.Not necessary.
Do you have an error log of what happened?No
Please provide any additional information below.In order to fix this I suggest you change the player data to be saved with player's uuids. You should also, in the same log, have a map of uuids with their player's name. Upon join create the uuid, player map for that player. This will keep the ability to use player's names when they are offline, and changing your user name will no longer cause a problem. If you do not have time or do not know how to fix this, please send me the source code and I will fix this and send the updated plugin back to you. Thank you.
To post a comment, please
or register a new account.