Setting up 1.6.2 minecraft/craftbukkit server to run out of your minecraft\saves\ folder

By having your world in the save folder it allows you to get to access the world using Singleplayer or Multiplayer (via Minecraft Server).

IMPORTANT NOTE
You do not want to access your world as Singleplayer if the Multiplayer server is running and accessing that world.

For the purpose of this article my Minecraft world under saves is called myworld and the username is me. The location of myworld in the save folder is in

  • Windows 7
    C:\Users\me\AppData\Roaming\.minecraft\saves\myworld
  • Mac OS X
    /Users/me/Library/Application Support/minecraft/saves/myworld
  • Linux
    /home/me/.minecraft/saves/myworld

In Minecraft the world folders for the Nether is in DIM-1 and The End is in DIM1 as sub-folder under myworld. For example in Windows 7 the path is C:\Users\me\AppData\Roaming\.minecraft\saves\myworld\DIM-1 and C:\Users\me\AppData\Roaming\.minecraft\saves\myworld\DIM1 respectively.

Before starting zip backup of your world folder before setting up Minecraft server.

You can put the minecraft_server.1.6.2.jar file in saves folder, but this will limit you to run only one server for one world at a time and it will litter the save folder with support files, such a server.properties, ops.txt, etc. What I recommend is to create a Minecraft folder for Minecraft servers and the Minecraft.exe (launcher) under C:\Games.

Setting up the Vanilla Minecraft server to use the world in your saves folder is very simple.

  1. Create a folder for myworld in C:\Games\Minecraft folder.
  2. In C:\Games\Minecraft\myworld I copied the minecraft_server.1.6.2.jar and BukkitGUI.exe
  3. You can use the BukkitGUI to launch the vanilla Minecraft Server.
  4. I started the Minecraft server to create all the support files in C:\Games\Minecraft\myworld folder. This will also create a sub-folder named world by default.
  5. Stop the server and quit BukkitGUI.
  6. Delete the world folder that was just created in C:\Games\Minecraft\myworld folder.
  7. Create a symbolic link named myworld linking to C:\Users\me\AppData\Roaming\.minecraft\saves\myworld folder. To create the symbolic link open a command prompt and type the following:
    cd \Games\Minecraft\myworld
    mklink /d myworld C:\Users\me\AppData\Roaming\.minecraft\saves\myworld
  8. Modify server.properties and change level-name=world to level-name=myworld
  9. You are now ready to start MineCraft server using mywold save. Remember if the server is running always access it using Mulitplayer not Singleplayer.
Setting up the CraftBukkit Minecraft server to use the world in your saves folder requires creating two additional Symbolic links.
  1. Follow the steps 1 through 9 in settin up the vanilla Minecraft server above. Once you have it running, then stop the server and proceed to step 2 below.
  2. Copy craftbukkit-1.6.2-R0.1.jar to C:\Games\Minecraft\myworld folder.
  3. Configure BukkitGUI to launch craftbukkit.
  4. Start the CraftBukkit server. When you start the server it will move the Nether DIM-1 world into a new folder will it will create using the world name suffixed with _nether (i.e. C:\Games\Minecraft\myworld_nether) and move the The End DIM1 world into a new folder that it will create using the world name suffixed with _the_end (i.e. C:\Games\Minecraft\myworld_the_end) . (NOTE if you forgot to shutdown the Minecraft/Bukkit server it will copied it).
  5. Shutdown the server and quit BukkitGUI.
  6. Copy C:\Games\Minecraft\myworld_nether\DIM-1 to C:\Users\me\AppData\Roaming\.minecraft\saves\myworld\DIM-1
  7. Copy C:\Games\Minecraft\myworld_the_end\DIM1 to C:\Users\me\AppData\Roaming\.minecraft\saves\myworld\DIM1
  8. Delete C:\Games\Minecraft\myworld_nether\DIM-1
  9. Create DIM-1 Symbolic link in C:\Games\Minecraft\myworld_nether folder
    mklink /d DIM-1 C:\Users\me\AppData\Roaming\.minecraft\saves\myworld\DIM
  10. Create DIM1 Symbolic link in C:\Games\Minecraft\myworld_the_end folder
    mklink /d DIM1 C:\Users\me\AppData\Roaming\.minecraft\saves\myworld\DIM1
  11. You are now ready to start CraftBukkit server using mywold save.

 

This entry was posted in Games, Minecraft. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *