While there is plenty of fun to be had playing Minecraft solo, collaborating with friends brings the game to a whole new level. Whether you face the wither or build an enderman farm together, you will need a server that can be updated as you grow.
While there will be minor differences depending on if you are making your Minecraft server on Windows, Mac, or Linux, these are the basic steps you will need to complete:
Step 1: Download latest version of Java
Step 2: Choose file location for Minecraft server folders
Step 3: Download and run Minecraft server software
Step 4: Setup port forwarding on your router
Step 5: Run the Minecraft server
Before you build your own Minecraft server, there are a few technical things of which you should have a fundamental understanding. You should be comfortable with the following networking and computer concepts in order to build and manage your server:
Hosting your own home-based server means that people can potentially find your IP-address and ultimately be able to hack into your entire system. If you are concerned about exposing your network to anyone out there, you could look into finding a good hosting provider instead.
Here are some advantages of using a third-party hosting program:
Here are a few key elements you should look for when signing up for the best Minecraft server hosting:
These are the minimum spec requirements you should have when building your own Minecraft server.
Here are a few idea on how you can improve your overall Minecraft server experience:
Once you have the hardware you need in place, you are ready to set up your Minecraft server on your Windows PC. Complete the following:
If you don’t have the latest version of Java on your system, you will need to download it or upgrade it. To update it, complete the following:
You can also use the command prompt “java -version” to see a version number to determine if it needs to be updated.
Create a dedicated folder for your server files on your computer. It can be anywhere that has enough RAM, whether it be your Documents folder or on your Desktop. Creating a folder ahead of time will make it easier for you to save all the configuration files in the same place.
After you have set up your file, it is time to download the server software from Minecraft’s webpage. Download the Java.jar file to your chosen folder. When it finishes, double-click the file to create the configuration files and start the server. To modify the configuration files, complete the following:
You will only need to perform this step if you want to play with people throughout the world. The step can be skipped if you are playing with friends on a local network. To enable port forwarding on your router, follow these steps:
Warning: there is a potential security risk when port forwarding.
You will need to open the Windows command prompt to start up the Minecraft server. Find the Minecraft server .jar file in your designated folder, then enter the following command (make sure to replace the server section with the actual file name of your server):
You can also use the following command if you would prefer to use the server’s UI
If you want to batch the commands together, you can create a .bat file.
With your hardware in place, you are ready to set up your Minecraft server on your Mac. Complete the following steps:
If you are running an older version of MacOS, you may need to download the legacy version of Java on your computer. Newer versions of MacOS include the program automatically.
Create a folder on your computer where you will want to store your files. The location of this file is up to you, whether it be within your documents or on your immediate desktop. Name the folder something you will remember in the event that you need to access it later on. Having a designated file allows you to keep things organized.
Visit Minecraft’s server software page on their website and download the Java .jar file to the folder you set up in step two.
Open TextEdit and change the format to “plain text” so that you can input this code (remember to change the file name part to your server’s file name):
#!/bin/bash
cd "$(dirname "$0")"
exec java -Xms1G -Xmx1G -jar {server file name} nogui
After the command has been inputted, you will need to save the file as “start.command” in the sake folder as the .jar file. When that is finished, open the Terminal to grant permissions to run the start.command file. Here’s how:
You will only need to perform this step if you want to play with people throughout the world. The step can be skipped if you are playing with friends on a local network. To enable port forwarding on your router, follow these steps:
Warning: there is a potential security risk when port forwarding.
Locate the “start.command” file in your Minecraft Server folder and double-click on it to open the Terminal Window. Users will frequently encounter an error message on their first attempt to run the server. Try again until the Terminal opens.
When your server is running properly, it is time to invite your friends to come punch trees with you. If they are on your home network, they should be able to connect through your local IP address.
If your friends aren’t part of your home network, you will need to send them your external IP address. To find your IP address, all you need to do is search “my ip address” on Google.
You can also check the Minecraft Server Status Checker to make sure your server is live. All you need to do is input your public IP address to see the results.
Yes, If you already have a good internet plan and the required hardware, you won't have to spend any extra money to build a Minecraft server.
Unfortunately, there are currently no server options for people wanting to play Minecraft on their PS4 or Xbox.
You can build a Minecraft server on a laptop, but it isn't recommended. Many laptops can overheat when running a Minecraft server which would result in additional problems.