Upon launching the server with the snapshot installed, players' data will be cleared (inventory, location, et al.)
I can't seem to manually recover the inventories by renaming the old <player>.dat to the new <UUID>.dat and placing it in the playerdata folder.
Dinnerbone confirmed:
https://twitter.com/Dinnerbone/status/441617949087264768
Linked issues
is duplicated by 24
Comments 23
I even tried to downgrade my server to see if that would fix it. No such luck, it was still using the UUID setup.
I can confirm this bug is present on mac as well. I also tried copying and renaming .dat files. No success. Back to 14w08a for my server 😛
The old inventory is transferred into the new playerdata folder and the inventory in the game is in the the player folder. This is the error.
If you have a directory "playerdata" in your world directory and there are files named like 3bce967243f03d12a71c7fcdc529a9b1.dat, you can rename them with some dashes, in my example the correct name would be 3bce9672-43f0-3d12-a71c-7fcdc529a9b1.dat.
So the lengths of the groups of numbers and characters in the filename are: 8-4-4-4-12
Searge, I already said this.
However, on a restart of the server the data will get lost again.
All the files in the players folder wil be moved.
Thank you for solving the problem. I got a server with many friends who weren't happy when it happened. It took me much time to recover the items which were lost. I am happy I got Time Machine on my Mac.
Not resolved for me... my inventory is still empty when I log in.
EDIT : Oh, forgive me. If you rename it like said above it'll work even after a server reboot.
I searched this up because it just happened to a friend (client). He exited and upon rejoin as soon as possible, he found himself to be at the original spawn (inventory empty, achievements fresh), as if he had just joined for the first time. I do not have a crash report, but I am curious if the log file could be of any use. Thanks; not quite hammered out yet, but close 😃
EDIT: Version - 1.8.7, LAN, Windows 8 (Server), Windows 10 Tech Preview (Client)
EDIT 2: A simple delete of the newer profile appears to have resolved this. Interesting... that is all.
Yup just tried upgrading - Same thing happened to my server.