If you’ve ever wanted to create your own Minecraft world that is always online to share with your friends, we’ve got everything you need to know about making a Minecraft server here.
So why should you care about servers? Ever wanted to run around a zombie infested island? How about a server full of mini-games? Better yet, why not create a huge landscape of player versus player hell with no rules? The sky is really the limit!
Or, of course, you might just want to grab a few friends and start building. With servers, they can continue their builds while you are away, as long as your server is still operational. Nothing beats logging back in the next day to see all the new cabins and gadgets your friends have created. So read on to learn how to create your own Minecraft server.
1. Update to the latest version of Java
To get things going we need to make sure that we are running the latest version of Java. Fortunately, it is really easy. Head to the Java website and click on “check java version”. This will check which version you are using and set you up with the latest one if you are using an older version.
2. Download the file from the Minecraft server
Create a folder on your desktop named “Minecraft Server”. Then go to the Minecraft website and click on the link “Minecraft_server.1.15.2.jar” to download the file from the server.
Move this file to your Minecraft Server folder and double click to run it.
Note: If you are using Chrome browser, it will probably indicate that it is a virus. Since it is from the official Minecraft site, it isn’t, so don’t panic. We are fine.
3. How to create a batch file to start the server
When running the Java file, you should see tons of new files in your Minecraft Server folder. We need to agree to the terms of the EULA first so that everything can work. Find the file named EULA and open it in Notepad. Find the line ‘eula = false’ and change it to ‘eula = true’ then hit save.
Now for the fun stuff. Open a new Notepad file. Copy the text below and paste it into the new, blank Notepad file:
java -Xmx1024M -Xms1024M -jar minecraft_server.1.15.2.jar nogui
Do you see this piece in bold? Then you will need to replace it with the filename of the Java file you downloaded from the Minecraft website. In our case, it was ‘server.jar’, so our text line would be:
java -Xmx1024M -Xms1024M -jar server.jar nogui
Save the Notepad file and close it. Then, rename this Notepad file to “ServerStart.bat” (without the quotes).
If everything went off without a hitch, double clicking on this file should launch your Minecraft server through a CMD window (also known as a command window). To end the server, go to the command window and type “stop”. Easy, right?
4. Join the Minecraft server
If you are running the server on the same PC, load up Minecraft and venture into multiplayer. Click on “direct connect” and you should see a box asking for a server address. This next part is quite complex so be sure to read it carefully. In this box, type “0” and press “join server”.
5. Everything you need to know about creating a Minecraft server
There are a few things to know before you run off to create your own persistent online world.
If you want to customize your world, the “ server properties ” text file in the Minecraft Server folder can be changed as you like.
If you expect friends from outside the home to join your server, the code they’ll need is your IPv4 plus a few extra digits.
To find your IPv4 number, just search for “what is my IPv4 number?” on Google. Each IPv4 number is specific to each computer, so ours will be different from yours.
You should get something like 100.20.511.329 (I made this one up, by the way).
Take your IPv4 and add a colon followed by ‘25565’ to end with something that looks like the following:
Your version of the number above is your server address that other players will need to enter when registering.
Finally, to allow other players to join, you must forward the ports on your router to allow access from other parties. YouTuber Voizdev has a good explanation and walkthrough on it if you find yourself a little confused.
6. Minecraft Realms
Otherwise, if you’ve read all of this and it seems like too much of an effort, or you’re worried about the security issues of having your computer address disclosed, realms for Minecraft Java Edition and Minecraft Windows 10 offer a much more secure way to run a server hosted elsewhere, for around $ 8 per month.