1

I'm planing to migrate Minecraft Realms map to my server. I've managed to migrate the map, but the problem is that players data is not migrated.

Is it possible to migrate map from Realms with all players inventory, ender chest contents and experience, so when the same player from Realms logs into the server, he will keep all his inventory? What would be the process to do that?

Only solution I have found so far is to ask all players to move all their possession into a chest on Realms and pick them up on the server after migration. Problem with this approach is to get all players do that within reasonable time range.

Thanks in advance.

4
  • quote : " I've managed to migrate the map, but the problem is that players data is not migrated." have you tried it already ? in the map folder there should be a subfolder named players (or playersdata with more recent versions), which is supposing to contain a .dat file for every players, therefore their inventory, xp, spawn .... source player.dat
    – Pronox
    Commented Jun 2, 2016 at 7:22
  • Yes, I moved all files from Realms, but player inventory wasn't there when I logged into server.
    – cakan
    Commented Jun 2, 2016 at 8:49
  • maybe Realms is using a different type of map folder than bukkit or vanilla servers. Have you checked the subfolders , are there somewhere the .dat files ?
    – Pronox
    Commented Jun 2, 2016 at 9:53
  • I have been trying to determine if it's possible to take a Realms map and migrate it to a server... this worked for you? I tried running a Realms map backup on Spigot and it wouldn't work at all, the map data seems to be different.
    – MetaGuru
    Commented Jul 30, 2019 at 18:50

1 Answer 1

1

Do check your server.properties on new server if there is this:

online=true

If there is false, then this error can occur. Some providers set this as default (which is really bad practice), so you could miss it.

The problem is that since 1.7.10, Minecraft uses UUID - identification numbers, that are bound to player's account and not a name - therefore you can change your name, but even then you are same person for servers.

However, this works only if server does authenticate with Mojang session servers (so is online=true). It gets player's UUIDs from those servers, therefore can store player's statistics and inventory (and all other player's data) in files named in format of <UUID>.dat.

However if server is in online=false, it has no way to get UUIDs, so it computes them itself from player's name. And those two UUIDs do NOT match! So same player will be someone totally different for server, dependant on aforementioned settings, which will lead into lose of inventories etc.

Realms should be online=true by definition, so you need your server use same system. Then it should give respective players their old stats&inventories. (IF you managed to copy the data. They are located in world's folder)


DO NOTE:

Setting this value to false means that players who did not bought the game can login to the server (and possibly steal someone's person), which is against the licence of Minecraft. You shall not let something like that happen. Also it is really big danger for server security, because anyone can login on admin's accout with OP and do really bad stuff.

Never use online=false except situations without internet. (for example you play on countryhouse via lan only)

3
  • Server is hosted at location-minecraft.com. I can't find server.properties file anywhere on FTP. Where should it be located? In log files I have found **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE! so that might be the case.
    – cakan
    Commented Jun 2, 2016 at 12:56
  • 1
    Yes, this line in log is there only when the server is in online=false. server.properties should be located in the main folder of server, however it depends how this particular host wants you to access it (they can disable you to see/change it). Try to look if they have some setups outside of files, for example as a part of website control panel. If not, try to contact them and let them change it for you, it is important settings. :) Commented Jun 2, 2016 at 13:07
  • That was it. There was an option - deactivate illegal versions. Thank you.
    – cakan
    Commented Jun 2, 2016 at 16:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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