Me and a couple of friends have played a lot on a Windows based Minecraft server, which a friend hosted on his computer and we then used Hamachi to connect to it.
Now, another friend of mine has agreed to host a Minecraft server on his Linux-based server so that it's available 24/7 (as the friend who hosed it on his Windows PC is not able to have his computer on 24/7. So we are kind of dependent on him being online if we want to play. And of course, we want to play even though he's not there..
So basically I'm asking: Is there a way to convert a map from Windows based to Linux based? We've tried to load the "world" folder from the Windows server to the Linux server, but nothing happened.
Me and a couple of friends have played a lot on a Windows based Minecraft server, which a friend hosted on his computer and we then used Hamachi to connect to it.
Now, another friend of mine has agreed to host a Minecraft server on his Linux-based server so that it's available 24/7 (as the friend who hosed it on his Windows PC is not able to have his computer on 24/7. So we are kind of dependent on him being online if we want to play. And of course, we want to play even though he's not there..
So basically I'm asking: Is there a way to convert a map from Windows based to Linux based? We've tried to load the "world" folder from the Windows server to the Linux server, but nothing happened.
Any ideas?
the map itself isnt OS-specific, but the real work is in setting up the linux-based server first. If you can get a blank world running on a linux box, its really as simple as replacing in the 'world' directory on your linuxbox with the one you guys have been developing.
but first things first--gotta get a linux world up and running and connectable.
But that is exactly what we have done. Let's say now that friend #1 was the one with the Windows version, and friend #2 is the one with the Linux server.
Now, friend #2 did set up a Linux-based Minecraft server and it worked great to connect. No problems when we got it to work. It generated a random world map. Then, friend #1 sent his world-folder to friend #2 and #2 replaced the generated map with the one we've been working on, but the server generated a new map once we did this.
Sounds similar to my situation. I want to move from the Windows exe based server model to a java command line interface so I can use the various commands.
The world I have currently is stored in a folder on my ramdisk K:\server\server\Legoland
I wish to simply run the java commands to open the same world but not have it overwrite my world.
Assuming k:\server\server\world1 is the location where the java command line server will be setup, would it be as simple as copying the entire contents over into that folder?
Seems that you had tried that ( only via linux box ) and it did not work.
Find a old pc and get linux on it and just have it run 24/7 with minecraft. That is what i did with AMD 3200+ and only 512MB. That will solve the problem + it can be a media server.
The world I have currently is stored in a folder on my ramdisk K:\server\server\Legoland
Assuming k:\server\server\world1 is the location where the java command line server will be setup, would it be as simple as copying the entire contents over into that folder?
Yes, it's just that easy.
When copying files from a windows environment to a linux environment it's essential that you make sure the linux user has the correct permissions for the files.
Example:
I have a Windows minecraft server at c:\minecraft server
My world would then be c:\minecraft server\world
I want to take this world to a linux environment.
I would create a zip file of my world. In this case I'll name it world.zip (I drag the world folder directly into the zip file)
[I do this because there are 28,000 world files. I don't want to watch them each transfer all day.]
My linux server is set up with FTP and a minecraft server running @ /home/user/minecraft
I FTP to my home directory and drop world.zip into /home/user/minecraft
I then remove my linux world directory (the one that was auto created when the server was first started)
[i]Note: this is not necessary if you want to name your world anything other than world[/i]
I execute the command:
unzip world.zip
This inflates world.zip and automatically creates the world folder. (Because we dragged the folder into the zip file in windows)
I then make sure I have the appropriate permissions to my world file
The problem was that something happened when they sent or zipped the "world"-folder, and not all the files were included to friend #2 (which has the Linux server). The world-folder was sent once more, and this time with all files - and we now have our new server with our old map! =)
Me and a couple of friends have played a lot on a Windows based Minecraft server, which a friend hosted on his computer and we then used Hamachi to connect to it.
Now, another friend of mine has agreed to host a Minecraft server on his Linux-based server so that it's available 24/7 (as the friend who hosed it on his Windows PC is not able to have his computer on 24/7. So we are kind of dependent on him being online if we want to play. And of course, we want to play even though he's not there..
So basically I'm asking: Is there a way to convert a map from Windows based to Linux based? We've tried to load the "world" folder from the Windows server to the Linux server, but nothing happened.
Any ideas?
the map itself isnt OS-specific, but the real work is in setting up the linux-based server first. If you can get a blank world running on a linux box, its really as simple as replacing in the 'world' directory on your linuxbox with the one you guys have been developing.
but first things first--gotta get a linux world up and running and connectable.
But that is exactly what we have done. Let's say now that friend #1 was the one with the Windows version, and friend #2 is the one with the Linux server.
Now, friend #2 did set up a Linux-based Minecraft server and it worked great to connect. No problems when we got it to work. It generated a random world map. Then, friend #1 sent his world-folder to friend #2 and #2 replaced the generated map with the one we've been working on, but the server generated a new map once we did this.
The world I have currently is stored in a folder on my ramdisk K:\server\server\Legoland
I wish to simply run the java commands to open the same world but not have it overwrite my world.
Assuming k:\server\server\world1 is the location where the java command line server will be setup, would it be as simple as copying the entire contents over into that folder?
Seems that you had tried that ( only via linux box ) and it did not work.
Any ideas?
Yes, it's just that easy.
When copying files from a windows environment to a linux environment it's essential that you make sure the linux user has the correct permissions for the files.
Example:
I have a Windows minecraft server at c:\minecraft server
My world would then be c:\minecraft server\world
I want to take this world to a linux environment.
I would create a zip file of my world. In this case I'll name it world.zip (I drag the world folder directly into the zip file)
[I do this because there are 28,000 world files. I don't want to watch them each transfer all day.]
My linux server is set up with FTP and a minecraft server running @ /home/user/minecraft
I FTP to my home directory and drop world.zip into /home/user/minecraft
I then remove my linux world directory (the one that was auto created when the server was first started)
[i]Note: this is not necessary if you want to name your world anything other than world[/i]
I execute the command:
This inflates world.zip and automatically creates the world folder. (Because we dragged the folder into the zip file in windows)
I then make sure I have the appropriate permissions to my world file
Done. Now my world from windows is on my linux machine.
I can now start up the server and continue playing.
Edit: spelling
The problem was that something happened when they sent or zipped the "world"-folder, and not all the files were included to friend #2 (which has the Linux server). The world-folder was sent once more, and this time with all files - and we now have our new server with our old map! =)