Hamachi Minecraft Server
Posted 14 January 2012 - 11:38 PM
This is my request:
I need a step-by-step process for setting up a Hamachi Minecraft Server.
I need EVERYTHING! Port forwarding, downloads, and all that stuff.
Make it look you are talking to a 10 year old with basic computer knowledge, cause that is basically what i am, but 17 and above average computer knowledge. Thanks guys.
Asus K53E Laptop: Windows 7
Desktop: Windows XP
Router: Linksys E1550
Laptop is always on WiFi and desktop is plugged into router
NOTE: I want to run the server on the desktop and play on it from the laptop
Posted 15 January 2012 - 04:10 AM
Here's what you need to do.
1. Click Start-->Run--> Type "cmd" (no quotes)
2. Type "ipconfig /all" (no quotes)
3. Take note of the Subnet Mask, the Default Gateway, and the DNS Servers. There might be more than one DNS Server, write it down.
4. Click Start-->Control Panel, click Network Connections. Right click on Local Area Connection and go to Properties. Select General and highlight Internet Protocol (TCP/IP). After it
is highlighted click Properties just below it.
5. Select "Use the following IP address" and type in your Subnet Mask and Default gateway numbers that we wrote down. In the IP Address boxes type out a unique IP address that starts like your Default Gateway address. For instance if my Default Gateway is 192.168.0.1, I would put 192.168.0.125 in my IP Address box. You can change the 125 in mine to whatever you want but make sure it is between 101 and 149.
6. In your "Use the following DNS server addresses" Type in your two DNS server addresses. The top number that was under ipconfig /all is your preferred and the second is your alternate.
7. Click OK on both boxes and close out your Control Panel. Now you need to log in to your router. For most Linksys routers do this...Open up your internet browser (Google Chrome, Firefox, Opera...etc). In the address bar type 192.168.0.1. A box should come up and ask you for your username and password. The default on Linksys Routers are username: admin, password: admin.
8. Once in Look in the top bar and select Applications & Gaming, You should be in Single Port Forwarding. You can enter your Application Name if you want (makes it easier to see if you have any trouble later). Put in your External Port (25565) Internal Port (25565) Protocol (Both) To IP Address 192.168.0. XXX. and click Enable. IMPORTANT! Make sure the XXX is exactly the same three numbers you put in for the IP address back in step 5.
9. Scroll down to the bottom and click Save Settings. It'll come back up after a minute and you can close your browser. Restart your computer. After it's up Click Start-->Run--> Type "cmd" (no quotes). Now type "ipconfig" (no quotes) Note the IP Address should be the same you just changed it to. If it isn't then go back to step 5 and try again.
Now onto the good stuff!
1. Download Hamachi (Hamachi)
2. Create a New New Network in Hamachi.
3. Enter a unique Network ID and Password. You really only need the password if you're trying to restrict who can get on your Hamachi Minecraft Server. Remember the IP that it creates. It'll be up at the top when it's running. It'll be a number like 5.73.451.193
4. Download Minecraft_Server.exe (Minecraft Download)
5. Create a unique folder on your computer somewhere. The desktop is the best place for it.
6. Place your Minecraft Server in the folder and run it. Errors will occur because it hasn't created the files it needs yet. You don't need to wait for it to populate the spawn area, just quit it.
7. Open up the folder you just created for your minecraft server (the one you placed the .exe in) and look at all the new pretty files. Most of them you won't need to mess with and can be configured by using server commands (Server Commands)
8. Right click server.properties and edit using your favorite code editor. Mine is Notepad++ (Notepad ++) Here's what you need to change/know. In server.properties you have many options. Most are self explanatory but...
1 #Minecraft server properties <--Basic Premise of where you are
2 #Fri Jan 13 07:35:56 PST 2012 <--When it was created
3 allow-nether=true <--Self explanatory
4 level-name=Starter World <--The name of your world (not many get to see it)
5 enable-query=false <--Used to get information about the server on GameSpy
6 allow-flight=false <--Self explanatory
7 server-port=25565 <--Remember this number when we were setting up our router?
8 level-type=DEFAULT <--DEFAULT is standard with valleys, hills, waters...etc. FLAT is completely flat world meant for building
9 enable-rcon=false <--Enabling Remote Computer Control. Not needed if you can access the physical machine
10 level-seed= <--Can change the seed of your world. Otherwise leave blank
11 server-ip= <--leave blank
12 spawn-npcs=true <--Self explanatory
13 white-list=false <-- Not needed in Hamachi
14 spawn-animals=true <--Self explanatory
15 online-mode=true <--Needs to be true unless all gamers on on the same network (ie same room)
16 pvp=false <-- Do you want to allow Player vs Player combat?
17 difficulty=1 <-- 0 is peaceful, 1 is easy, 2 is medium, 3 is hard
18 gamemode=0 <-- 0 is Survival, 1 is Creative
19 max-players=5 <--Dependent on amount of RAM used.
20 spawn-monsters=true <--Self explanatory
21 generate-structures=true <--NPC Villages and the like
22 view-distance=10 <--How far away you can see at a given spot in 360. Reduce # if less than 1024MB of RAM used
23 motd= <--Whatever you want to name your server (Otherwise known as Message Of The Day)
Any further questions on these? Refer to server.properties (Server Properties)
Save the Changes and quit out of the editor.
1. Find out the amount of RAM you have using Start->Run->Type "dxdiag" (no quotes) and note how much the system has. Leave about 200MB or so for the System. This is important!!!
2. Create a Notepad Document and type in it ("C:\Program Files\Java\jre6\bin\javaw.exe" -Xmx1024M -Xms1024M -jar Minecraft_Server.exe) The quotes need to be there. For the amount of RAM you want to use for your minecraft server you should replace both 1024 numbers with the number of RAM you do want to use. Here are some handy pieces of information to have.
512 <-- 1/2 GB
1024 <-- 1 GB
1536 <-- 1 1/2 GB
2048 <-- 2GB
I don't recommend going above 1536 for an XP system. Usually 1GB is enough for most private servers.
3. Click File-->Save As... You want to save it in the same folder as your minecraft server so navigate to it. Type in the file name like "Run" or "Startup" with .bat at the end of the file name. Under Save as type: select All Files. And click save.
4. If everything is correct you should now see an MS-DOS Batch File in the same folder as your Minecraft server. Now double clikc on the file you just created (Run or Startup or whatever) and a black box should come up with the code you just typed. Afterward the Minecraft_Server should come up running and you'll see the same setup that you saw earlier. Wait for it to finish creating the spawn area.
5. If your minecraft server is running and your Hamachi service is running as you set it up we're ready to move on.
1. Download Hamachi again (Hamachi). This time however when setting it up choose "Join an Existing Network".
2. Type in the Network ID and Password that you created when setting up the server side Hamachi and connect. If correctly done you should see your Server's Network ID and under it it's name as well with a Green ball next to it.
3. Start up Minecraft, Logon, and Click Multiplayer. There are two ways you can connect to your server from here. Add Server or Direct Connect.
A. To add your server and not have to put the information in again and again Click Add Server. Type in the Name of the Server you'd like to remember the name of it by and the Server Address. That Address is the Hamachi address of your server's computer. Something like 5.73.451.193 and click add.
B. The Server should now be visible to you. Select it and Click Join Server.
A. If you're having issues connecting or don't want to have the system remember the information for you then click Direct Connect. Type in the Hamachi Address number in the Server Address bar. Something like 5.73.451.193 and Click Connect.
If you have any issues connecting to your server computer and playing minecraft multiple things can affect it but here are the three things I've noticed in my travails.
1. Is Hamachi running correctly? Do I see little green balls next to my name and my server's name? Also make sure you're typing in the correct address. One number off and you're not on.
2. Is the minecraft server running? Ensure that it's running and running properly. If you get a bunch of these messages [WARNING] Can't keep up! Did the system time change, or is the server overloaded? You need to either pare down the number of things on the screen (ie mobs, animals, texturing, players connecting) or you need to upgrade the amount of RAM you have in your machine.
3. Add more RAM!!! I cannot stress this enough. The more RAM you have in your machine the better, smoother, faster your minecraft server experience will be.
Above all make sure you have an internet connection. This setup is designed to run with your internet running, and running well. If you just want local play then you'll have to change a few things that aren't covered here in detail.
Any questions that you have feel free to PM me. or post on here. I'll check back every once in a while. ENJOY!
Posted 15 January 2012 - 05:36 AM
Posted 07 July 2012 - 10:19 PM
Posted 07 July 2012 - 10:24 PM
start up hamachi and goto network
click join an existing network
type in your friends network that he created and password
you will join his network, then right click on his name and copy his ip4 address
make sure his server is running and paste his ip4 address in minecraft multiplayer
Posted 05 June 2013 - 09:45 PM
Posted 07 June 2013 - 02:48 PM