How do you transfer worlds from a windows vanilla server to a linux craftbukkit server?

Discussion in 'Bukkit Discussion' started by Gym, Mar 8, 2013.

Thread Status:
Not open for further replies.
  1. Offline

    Gym

    I am trying to transfer worlds created on a windows 7 "vanilla" server to a dedicated craftbukkit server running on Ubuntu 12.04.2 server (no GUI). Both these servers run on a LAN and are also publicly accessible... so I pat myself on the back for accomplishing this, as I am learning as I go. I even managed to install a plugin and configure permissions for it. However, something seemingly as simple as transferring worlds eludes me. I am able to create, move, navigate to, as well as create and delete files/directories from the CLI in Linux (I'm a noob, but persistent at Linux).
    I copied (a) world from the win7 server to a flash drive, stuck it in my Linux box and managed to copy it to the directory where the craftbukkit.jar file is located, but I can't get it into the /world folder (where it seems like that's where it belongs). I think I have tried every syntax combination I can think of... something is missing and I can't figure it out.
    I have exhausted my resources in helping myself (and have learned a lot in doing so) so I joined this forum in hopes for some direction. Someone out there has to have done this. Is there a tutorial or can I get a simple, "Yeah, just do this!"
    Thanks for any help anyone can offer.
     
  2. Offline

    Onionbro

    What commands have you tried to move it?
    Do you have the correct permissions to move it?
     
  3. Offline

    rguz10

    Maby you should setup a FTP server. Much easyer then command line. A quick google search will find you everything you need.
     
  4. Offline

    marin1805

    Archive all files with a password, upload on your website then use wget to download all in the new server. This is how I will do it if you don't want to use ftp.
     
  5. Offline

    Gym

    Thanks for your reply. Here is what I've done to try to get my win7 server world into my craftbukkit (Linux) world directory:

    login as: thechief4914
    [email protected]'s password:
    Welcome to Ubuntu 12.04.2 LTS (GNU/Linux 3.5.0-23-generic x86_64)
    * Documentation: https://help.ubuntu.com/
    System information as of Sat Mar 9 04:47:11 PST 2013
    System load: 0.06 Processes: 84
    Usage of /: 1.1% of 228.31GB Users logged in: 0
    Memory usage: 3% IP address for eth0: 192.168.0.12
    Swap usage: 0% IP address for virbr0: 192.168.122.1
    Last login: Sat Mar 9 04:44:28 2013 from 192.168.0.2
    thechief4914@Brycraft:~$ cd craftbukkit
    thechief4914@Brycraft:~/craftbukkit$ ls
    banned-ips.txt crash-reports server.log world
    banned-players.txt help.yml server.log.1 world_nether
    bukkit.yml ops.txt server.properties world_the_end
    craftbukkit.jar permissions.yml stupid
    craftbukkit.sh plugins
    thechief4914@Brycraft:~/craftbukkit$
    thechief4914@Brycraft:~/craftbukkit$ cd stupid
    thechief4914@Brycraft:~/craftbukkit/stupid$ ls
    desktop.ini Gymnayseeum
    thechief4914@Brycraft:~/craftbukkit/stupid$
    thechief4914@Brycraft:~/craftbukkit/stupid$ sudo cp -r Gymnayseeum /craftbukkit/world
    thechief4914@Brycraft:~/craftbukkit/stupid$ cd ..
    thechief4914@Brycraft:~/craftbukkit$ cd world
    thechief4914@Brycraft:~/craftbukkit/world$ ls
    data index.html.1 level.dat players session.lock
    index.html index.html.2 level.dat_old region uid.dat
    thechief4914@Brycraft:~/craftbukkit/world$

    Gymnayseeum is the world from win7. Stupid is the directory it has been copied into (from the flash drive). I would expect Gymnayseeum to show up in the world directory. I'm not sure what the "desktop.ini" is.
    Maybe I shouldn't have named the directory "stupid"!
    Are worlds created in there respective platforms not completely compatible? I'm sure I have missed something.
    I will give FTP a try.
    Thanks
     
  6. Offline

    cnaude

    Those commands you ran look correct. You should verify that your server.properties file has this line: "level-name=world"

    That "level-name=world" corresponds to the "~/craftbukkit/world" directory.

    And yes worlds copied from win7 should work fine on linux. I have done the same thing many times.
     
  7. Offline

    Gym

    I've been trying to stick my win7 world into the craftbukkit "world" folder... which is the name of the world I play in. It appearse, DUH, that worlds generated in craftbukkit just populate the craftbukkit directory instead of being stored in tbeir own folder (like where the plugins are stored). I realized this after I installed multiverse and created a new world and then saw where that world was stored....
    I think Im on the right track now. Ill gives this world transerring another try. Thank cnaude and the rest of you guys.
     
  8. Offline

    Gym

    O.k., this is a follow up on my original post. This is probably common knowledge to most, but it wasn't for me. What I ended up doing was setting up ftp on my server and using FileZilla on my windows desktop to easily transfer stuff to the server. I was suprized how well it works. Sooooooo..... I guess my issue is fixed. Sweet!
     
Thread Status:
Not open for further replies.

Share This Page