3

I am working with a server here. There are many players in the server, and I want to see where the player-data files are stored. According to this link ( How can I get the inventory of another player on a LAN World? ), there should be a folder named "players" in the world's save folder. However, I only see a folder called "db" (with many .ldb files) and also the files "level.dat", "level.dat_old", and "levelname.txt".

Am I missing something? Thanks in advance.

2

You are using the Windows 10 edition, the explaination you found is for the Java edition.

The file system works very differently between those editions and the player data (at least for the local player) in the Windows 10 edition seems to be inside the db folder, in the *.log file. I have not been able to successfully do a targeted change, but deleting the log file does delete my inventory.

  • Thanks! I see that the *.log seems to be an nbt file. I'll try poking around with it later tonight. – Eric Wu Jun 3 at 14:01
  • How did it go for you? Did you manage to change the inventory the way you want? If so, then you could add that information to the answer (How you did it). – user232393 Jun 4 at 6:45
  • Unfortunately, it didn't work out. I tried opening the file with python using nbtlib, but it told me that there was an invalid byte. I also tried cutting off bytes from the start of the file and feeding that into nbtlib, but it didn't work out either. – Eric Wu Jun 4 at 11:29
  • The bedrock version does not seem to use ntb at all, so it is likely some different format. It looks like you can read the inventory as real words, but changing the entries did not alter my inventory. I used the standard windows text editor to look at it. – user232393 Jun 4 at 11:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.