Results 1 to 2 of 2

Thread: moving minecraft server files

  1. #1
    Join Date
    Dec 2010
    Location
    Oak Ridge Tennessee
    Beans
    23

    moving minecraft server files

    I have a minecraft server running on Ubuntu 12.04 I want to move the server files out of my home dir into a folder named minecraft_server how do I do this? Do I need to change the file path? If so how I do this?
    "Freedom is never more than one generation away from extinction. We didn't pass it to our children in the bloodstream. It must be fought for, protected, and handed on for them to do the same."
    Ronald Reagan



  2. #2
    Join Date
    Jun 2009
    Location
    Somewhere with hills
    Beans
    172
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: moving minecraft server files

    There are a couple things you need to consider before moving the minecraft world and server. Always make a backup of the minecraft server before you try any. The main files needed to move for the minecraft server is the "world" folder. It could be called something else if you changed the world name under the server.properties. Besides that, you then must have the minecraft_server.jar in you new folder that you want with "world" folder present too. Now if you have been launching the server by just clicking on the minecraft_server.jar, that is not going to work. Launching application like that will make them run in the home folder and not the folder that they are present in. You will have to launch it from the terminal by "cd /directory/location/" then "java -Xmx1024M -Xms1024M -jar minecraft_server.jar nogui" for it to run in the correct folder. You could also edit a shellscript that I use to make running it easier.
    Code:
    #!/bin/bash
    #memory amount minecraft can use
    MEMALOC=1024
    cd /home/user/Games/minecraft_server/
    screen -m -d -S minecraft java -Xincgc -Xmx${MEMALOC}M -jar minecraft_server.jar nogui
    With this you can just stop the server in-game or by typing in the terminal "screen -r" that will show you the standard server screen. That should get everything working for you. Reply back if you need anymore help.
    ♫♪♫ You just keep on trying till you run out of cake ♪♫♪

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •