mojira.dev
MC-50288

Player data cleared after switching to 14w10b

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

MC-50279 Inventory & Chest Inventory disappeared on save game Resolved MC-50283 When logging in to my server I am detected as a new player. Resolved MC-50289 All players inventory and spawnpoint reseted after updating from previous snapshot Resolved MC-50291 Player Data being deleted on restart or Start/Stop Resolved MC-50294 Lost inventory Resolved

Comments 23

Yup just tried upgrading - Same thing happened to my server.

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 😛

@lorenzo +1

Yep, it is quite anoying :/

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.

13 more comments

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.

Martin Graversen

michael

Confirmed

cleared, data, player

Minecraft 14w10b

Minecraft 14w10c

Retrieved