How To Set Up A Minecraft Server

From World History
Jump to: navigation, search

You might like Minecraft, but you don’t want it to be played with people you don’t know. It's normal. You can tell your friends to "effoff" a lot more comfortably that a stranger. The easiest way to do so is to host your own server on your own PC. Here's how. dj w360



First, determine if you are able to host it. Although it appears to be a simple task, it will require a decent computer and lots of bandwidth. The Can I host Minecraft site will let you know if it's possible. If your needs aren't met, head over to Multiplay and see if they have a package that suits you. That said, even a Raspberry Pi can run a modest Minecraft server, albeit with various features turned off. It all depends on what you place on your machine.



If you are determined to set up a server on your own PC, you'll need Hamaachi and the server software. Head to the Minecraft downloads page and grab the windows .exe file. Drop it into its own folder on a hard-drive with a lot of free space. Grab Hamachi from the site and leave it to one side for now.



When you run the executable file, you will see the GUI. While it's running, it creates files in the folder. The server is then started. After it's finished, you can actually start a Minecraft world. However, no one will be able to access it. It raises philosophical questions like "If a Creeper explodes into the woods and no-one is there to hear it, did it make any sound?". However, you can also alter the world without affecting anyone else. The file that has the biggest impact on what sort of world you want to make is "server.properties", which you'll need to open in Notepad to fiddle with. Shut down the GUI and open the "server.properties” document. There are many lines, most of which are self-explanatory and have "true" or false states. It creates a server that mirrors offline games. I would not recommend it. However, it is possible to change the "pvp=true” to read "pvp=false". Set "onlinemode=true” value to "false". With the server running, you now need people to populate it.



Hamachi is here to help. It creates a Virtual Private Network between your friend and you. This avoids you from having to mess with your router's port forwarding settings, which can sometimes feel like a dark art. You and your friend need to download the client, and then create a login. In Hamachi, it'll give you an ip address: right click it and grab the "ip4" address. Now, open up server properties. Copy the address into the "server_ip=xxxx” line.



With that done, if you run your Minecraft server anyone that connects to your Hamachi network will be able to join your Minecraft server. Although it is a bit complicated, it will allow anyone connected to your Hamachi network to access your Minecraft server. You will probably need a dedicated server if you do.