5

I use Ubuntu and what I have in mind is this:

1) Create a folder in Ubuntu One to save my minecraft game 2) Make the new location the default location in minecraft.

This way, I would be able to play my world on a computer A, exit and save. Ubuntu One will synchronize the saved game with every computer set on my Ubuntu One account.

On computer B, I turn on minecraft, and access my previously saved game and all the new changes I made on computer A, from computer B!

With this configuration I should be able to play around the world seemlessly.

I've posted this here because my problem is not an Ubuntu problem, it's a minecraft one.

How can I configure minecraft to access this folder in Ubuntu One. Which piece of code should I change?

  • I don't really think that's a question you should be asking on this site. Since this website is about the game and not about network problems – Sir Ksilem May 6 '11 at 9:06
  • I even think it's better to set up a server by yourself then. – Sir Ksilem May 6 '11 at 9:06
  • It's not a networking problem. It's a file configuration problem. The networking part is solved. – Nicolas de Fontenay May 6 '11 at 9:06
  • 1
    But with a server I need a fixed IP address and some sort of hosting. I don't have the guarantee that the computer is turned on at home if I'm roaming. – Nicolas de Fontenay May 6 '11 at 9:07
  • 3
    If Ubuntu One can't be configured to backup specific directories, you'll have to place a symbolic or hard link to the Minecraft save in whatever directory it does look in. You can't tell Minecraft to look in a different location (not without any modification, at least). – Michael Madsen May 6 '11 at 9:27
9

I can't test it right now (At work) but I believe Minecraft stores its configuration data (and world data) in "$HOME/.minecraft".

If you replace that directory with a symlink to a folder in the Ubuntu One folder it should use that new folder to store it's data, if you do the same at a different computer the game shouldn't know the difference.

  • Aah sorry, noticed the comments already mentioned this to late, still, I think it should work. – Elva May 6 '11 at 10:13
  • 8
    FWIW, I use the same technique with Dropbox and it works great too. – Brant May 6 '11 at 13:51
  • 1
    @Brant — And it works a whole lot better since the region format conversion. Syncing dozens of files makes Dropbox much happier than syncing tens of thousands of files! – Ben Blank May 6 '11 at 16:26
3

Create a symbolic link to the Ubuntu One folder, using:

ln -s /path/to/ubuntu/one /path/to/minecraft/folder

Then make sure you sync properly and then it should work.

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.