Share

Share

Tutorials/Saved data Dropbox guide saves only

From Minecraft Wiki
Jump to: navigation, search
Warning
Since this is a wiki and anyone may modify any page at any time, it is suggested that you do not actually use this script but instead simply use it as a guideline for writing your own.

Here is a quick tutorial on how to migrate your saved games to the cloud so you can play your levels wherever you may be.

NOTE[edit]

This guide assumes that you only want one integrated Minecraft save directory. If you wish to have separate directories (e.g., for other machines: Minecraft/Linux, Minecraft/Windows, Minecraft/Toaster, etc.), then you should create them on Dropbox and change the instructions here as needed. This guide also will only sync your saved game files, not any .jar customizations (such as mods) or texture packs. If you don't know what those are, then you're probably safe.

Download and Install Dropbox[edit]

The first step is to download Dropbox. Dropbox is a nifty little tool that automatically syncs content to their servers, and allows you to access it both online and through a client on your PC. The good thing about Dropbox is that it is cross platform, plus available on the web and web-enabled smartphones. (Note: you can also use another cloud storage program that has a downloadable client [folder that syncs to the web], such as Google Drive, etc.)

Go to http://www.dropbox.com. You get 2GB for free automatically.

Once you have installed Dropbox, you'll need to know where the Dropbox folder is:

  • On Windows XP, the Dropbox folder is located inside the user's "My Documents" folder. The easiest way to reference this is using the environmental variables, as follows: "%HomeDrive%%HomePath%\My Documents\Dropbox". Because "My Documents" contains a space, the quotation marks are required.
  • On Windows 7 and 8, the default Dropbox folder location is C:\Users\username\Dropbox. Use the environmental variables %HomeDrive%%HomePath%\Dropbox.
  • On Linux, the default location is in the user's home folder. For example in Ubuntu, that folder is located at ~/Dropbox
  • On Mac OS, it should also be in the user's home folder.

Whichever operating system you are using, Dropbox has very good documentation and can assist you in finding help: http://www.dropbox.com/help

Copy your Minecraft saved data to your Dropbox folder[edit]

Next, we will need to make a copy of your Minecraft saved game data on the cloud Dropbox server. For the purposes of this tutorial, we will be copying the saves folder from the .minecraft folder into a folder called Minecraft inside your Dropbox folder. You can store it elsewhere in your Dropbox if you choose.

Windows[edit]

On Windows, your Minecraft data folder is in your application data folder. You can access this by holding Windows+R or hitting Start > Run and then typing %AppData%\.minecraft in the box. This will open your minecraft folder. Copy the folder named saves to the desired location in your Dropbox. In this tutorial, we will be creating a folder called Minecraft in the main Dropbox folder and storing the saves folder inside that.

Once these files are done copying, navigate back up to your .minecraft folder, and rename the saves folder to saves-backup. This step ensures that you 1) Have a backup of your files in case of catastrophe, and 2) allows us to make the symbolic link to the correct location in a later step.

Mac OS X[edit]

In Mac OS X, the Minecraft data folder is located in your Username > Library > Application Support folder. You can get here quickly by opening Finder → Go → Go To Folder → type ~/Library/Application Support/minecraft. For future reference, it's best to make an alias for this folder and copy it to your desktop.

Now, copy the saves folder to the desired location in your Dropbox. It is a good idea to rename the original saves folder (in your minecraft Application Support folder) to saves-backup, to be saved as a backup in case something goes haywire. It also allows us to make the symbolic link to the correct location in a later step.

Linux[edit]

In Linux, your Minecraft data folder is located in your user home folder. However, it may be hidden from view. If you are using a GUI, ensure that you choose View > Show Hidden Files.

Copy the contents of the save folder to your Dropbox. As mentioned above, in this tutorial we create a folder inside the dropbox called Minecraft to store the saves folder in.

Once the copy is complete, rename the saves folder to save-backup.

If you're command line savvy, here are the above steps in command line format.

if [ ! -e ~/Dropbox/Minecraft]
then
mkdir ~/Dropbox/Minecraft
fi
cp -r ~/.minecraft/saves ~/Dropbox/Minecraft/saves
mv ~/.minecraft/saves ~/Dropbox/saves-backup

Create the Symbolic Links[edit]

This is the final step that will allow users to use the cloud versions of their files.

Windows[edit]

GUI
Creating symbolic links in Windows is easy thanks to a free application called Link Shell Extension, which will allow you to create a symbolic link via right-click in Explorer.
Note: If you are running Windows XP, you may need to install the Server 2003 resource pack in order to enable symbolic links, which is available here.
  1. Move your Minecraft saves folder (located in %appdata%\.minecraft) to a folder in your Dropbox.
  2. Right-click on this new folder and choose Pick Link Source.
  3. Go back to your Minecraft folder's original location, then Right-click somewhere blank and click Drop As… → Junction,
  4. and you are all set to pull your game data off the cloud.
Command Prompt
  1. right click on cmd.exe and press run as administrator.
  2. In cmd.exe, type: cd %appdata%\.minecraft\
  3. In cmd.exe, type: mklink /d "saves" "<dropbox_path>\Minecraft\saves"
  4. The console will output “Symbolic link created” if everything succeeded.

Mac OS X[edit]

GUI
Creating symbolic links in Mac OS X is also easy thanks to a free application called SymbolicLinker, which will allow you to create a symbolic link via right-click in the Finder. If you'd rather use the command line, instructions are below.
  1. Download and install SymbolicLinker.
  2. Once installed, move your Minecraft saves folder (located in '~/Library/Application Support/minecraft) to a folder in your Dropbox.
  3. Right-click on this new folder and choose Make symbolic link. This will create a symbolic link in the same folder.
  4. Move this back to your Minecraft folder's original destination (make sure it has the same name as the original),
  5. and you are all set to pull your game data off the cloud.
Terminal
  1. Open the Terminal
  2. Type in: ln -s ~/Dropbox/Minecraft/saves ~/Library/Application\ Support/minecraft/saves

If you moved your Dropbox to something other than the default location you’ll need to modify that first path.

Linux[edit]

GUI
Open two file browser windows, one showing your Dropbox folder and the other showing the minecraft folder.
After you dragged and dropped the saves folder over to Dropbox, drag it back and hold Alt while dropping it. This should create a symlink.
Terminal
To create the symbolic links in a terminal, type the following into a Terminal:
ln -s ~/.minecraft/saves ~/Dropbox/Minecraft
Now your saved worlds should all be there when you start Minecraft.

In order to link any additional computers you wish to play on, you just need to follow these steps - install Dropbox, and create the symbolic links. Voilà!