Operating Systems And Other Software
To be able to create your own Minecraft server, youll need the Minecraft server software. The developer Mojang provides you with a free setup for this, which is only compatible with Minecraft: Java Edition. A current version of the Java Runtime Environment is also required.
Secondly, you will need an operating system to manage your server resources and install the Minecraft server software. In connection with the local home server, it has already been hinted that you can certainly get your own Minecraft world running on the standard user operating systems from Microsoft, such as Windows 10 or Windows 8. Installation on macOS is also possible, according to developer information. For an optimal setup, however, the classic server operating systems are recommended:
- Windows Server 2019
It is required that you are able to use Java via the command line. On macOS and Linux, this should be set up by default. In Windows, you often need to enable the option first via enable PATH environment variable.
How Can I Set Up A Minecraft Server
Setting up your own Minecraft server only takes a few minutes:
1. Choose your preferred Minecraft Hosting plan and complete the purchase.
2. Log in to Hostinger and configure your VPSs settings. Name your server, choose a server location, and set up the root password.
3. Sign in to the Game Panel using the credentials provided in the VPSs control panel.
4. Create a new instance, choose a Minecraft server edition, and wait for the instance to be set up.
5. Finally, hit the Start button to launch the Minecraft server online. You can now play Minecraft the game through the Minecraft client or configure the server settings further.
Thats it. If you run into any trouble, contact our customer success team that is ready to help 24/7.
Download And Start The Minecraft Server Software
It comes as a Java .jar file. Save it to the location you chose in the previous step.
Double-click the .jar file to start the server. Itll create the server configuration files, which need to be modified before the server is ready to use.
Accept the EULA: A text file called eula.txt was created. Open the file in a text editor and change eula=false to eula=true. Failing to accept the EULA will prevent you from starting the Minecraft server.
What if you see a Cant save server properties error? Run the Minecraft server as an administrator by right clicking the .jar file and selecting Run as administrator.
Recommended Reading: How Many Villagers Are In Minecraft
Best Minecraft Server Hosting Service Of 2022
We compare Minecraft server hosts’ prices, features, performance and support so you choose what’s best for your sandbox gaming needs.
Alison DeNisco Rayome
Managing Editor
Alison DeNisco Rayome is a managing editor at CNET, now covering home topics after writing about services and software. Alison was previously an editor at TechRepublic.
Since its release in 2009, Minecraft has become a beloved game among both professional and casual gamers. The smash-hit sandbox game now has more than 140 million players worldwide. One of the best aspects of the game is the multiplayer environment that it fosters while also allowing solo players the opportunity to play and have fun doing so.
If you prefer to play with other gamers, you may want to consider getting a dedicated server for Minecraft. Here’s why: Using a dedicated server hosting provider for Minecraft is essentially like using a web host. You pay a monthly fee to use a vendor’s servers, which can provide you with improved security, performance and the ability to apply modpacks for customized multiplayer experiences. But with so many Minecraft hosting server options on the market, some better than others, you may want assistance in determining which is the best Minecraft server hosting option for you.
Below, we’ve reviewed some of the best Minecraft server hosting vendors, including Hostinger, Shockbyte and GGServers. We focused on service providers that offer 24/7 support and a variety of plan options.
Start The Minecraft Server
To start the Minecraft server, open the Windows command prompt.
Navigate to the file path where the Minecraft server file was installed.
Start the server with the following command:
java -Xmx1024M -Xms1024M -jar nogui
If youd rather use the servers UI, exclude the nogui parameter:
java -Xmx1024M -Xms1024M -jar
You can also create a .bat file to batch the commands together.
Once the server is running, you can invite others to connect to your server via your local IP address if theyre on your home network, or via your external/public IP address if theyre not on your home network.
Don’t Miss: How To Get A Ghost Block In Minecraft
How To Host And Configure A Minecraft Server With No
How to Host and Configure a Minecraft Server with No-IP.
To get started you will need three things:
To connect to the server and play, you will need a Minecraft account. If you dont already have an account, you can create one here.
Step One:You will first need to download the Minecraft Server software package hosted here and start the server.
Step Two: Installing and configuring the Minecraft ServerYou will want to use the following link and follow the installation instructions for your specific operating system:
Once everything is installed, proceed to Step Three.
Step Three: Port ForwardingYou will need to port forward port 25565 to the internal IP address of your server in your router.
If you need help with port forwarding, visit portforward.com. There you can enter the make and model number of your router and the device/application/software you wish to forward. The website will then provide you with a step-by-step instruction guide on how to properly port forward your router.
After completing port forwarding, go to www.portchecktool.com to check if port 25565 is open. If it is, you will see a Success! message.
Further port forwarding assistance can be found in our General Port Forwarding Guide.
You will need to make sure that we are resolving your hostname to the correct external IP address. You can check your current IP address by, once again, visiting www.portchecktool.com from the networks location.
You can learn more about using No-IP and Minecraft here.
Setting Up Your Server
Don’t Miss: How To Set Spawn Point In Minecraft Server
Benefits Of Running Your Own Minecraft Server
So, having reached this point in the article, are you now wondering why on earth youd go through the headache of finding your own server to host Minecraft on?
While I wouldnt blame you for shying off at this point, there are some very positive aspects of Minecraft hosting to think about.
If youve ever played a game and gotten frustrated because the version youre on doesnt have certain mods enabled, it can be frustrating. These plugins might even be readily available, just out of your reach. By hosting your own Minecraft server, you get a free choice of what to install.
Humans are social creatures and while it can be a lot of fun to be with friends, time doesnt always permit. Thankfully the digital world removes distance and Minecraft can be a great way for you to build a small community of your closest friends. Your own world within the world, so to speak.
With hosts that support a large community, rules are often created for a huge blanket effect for the benefit of the majority.If you host your own Minecraft server, you only need to consider rules that will affect your little group. Even better it will be at your pleasure and no one elses.
Get The Latest Version Of Java
The first step in setting up a Minecraft server is making sure you have the latest version of Java installed. Minecraft requires Java to run the game and having the latest version will help us run our server without issues.
You can install the latest version of Java here. Once there, click the red Java Download button as you can see below:
Then, read and accept the terms by clicking the red Agree and Start Free Download button.
The Java setup run file should now be in the download folder of your computer. If you need help with finding the download folder, type in downloads into your computer search bar and open the Downloads folder.
Once in the downloads folder find the JavaSetup executable file and run this application. A popup window may appear asking if the application can make changes to your computer. Click to allow access, you may be asked to provide a password for these permissions.
Once the application loads click to install Java.
You may be asked to uninstall a previous Java version, do so as keeping an older version does not help with our server setup.
Once any previous versions are removed continue through the window prompts until Java is downloaded and up to date.
The first step in setting up a Minecraft server should now be complete. The following step we must take is downloading and setting up the actual Minecraft server folder.
Read Also: How To Make A Minecraft Plugin
Creating A Minehut Account
Minecraft Server Hosting: Frequently Asked Question
Still not sure which among the best Minecraft server hosting platforms to choose from? Or youre probably new to the game itself?
Dont worry below are answers to the most common questions about the game and the process of setting up your server.
Q: Is Minecraft free?
The game is not free. The price depends on the device where youre playing the game, but the desktop version of Minecraft costs $30. You can also make in-game purchases and get access to different game accessories .
Q: Is hosting a Minecraft server free?
Some hosting servers offer a free trial. Once the trial period ends, you need to pay up for the plan you tried out. You can change the plan that fits your budget during the trial, so you can pay without getting your servers cut. Theres also a number of cheap dedicated server options out there with hosting plans starting as low as $2.50/month.
Q: How much RAM do I need for the Minecraft server?
To accommodate a maximum of 10 players at the same time, you need at least 1 GB of RAM on your game server. The higher the GB RAM of your server, the more players you can welcome, the more enjoyable the game can become.
Q: Which is the best Minecraft server hosting service?
Q: What is the best free Minecraft server host?
Q: How much does it cost to host a Minecraft server?
Also Check: What Bane Of Arthropods Does In Minecraft
How To Choose The Best Minecraft Server Hosting Service
Once youve made the decision that running your own Minecraft server via a host is what you want to do, the next step is to find the right hosting outfit for you and of course, weve already covered the best hosting options that we recommend .
When choosing any web hosting provider, however, there are a lot of considerations to juggle. Lets finish off this piece by weighing up some of the key factors you might want to mull over as part of the decision process to ensure you get the right Minecraft server hosting provider for you.
Hardware: We cannot stress the importance of hardware enough when running online multiplayer games. If youre planning on having a number of players with different mods, Minecraft can be demanding when it comes to hardware. Choosing the right kind of processor to handle such heavy hardware requirements is critical in keeping your multiplayer environment optimized. In choosing the hosting for your Minecraft server, the hardware will definitely be a dealmaker or a dealbreaker.
Pricing: Of course, since youre relying on third-party services to take care of hosting your Minecraft server, costs will also be a factor. Aside from the hardware, your hosting service will also be providing security, maintenance, plugins, features, the list goes on. The good news is that hosting companies offer several kinds of plans that cater to whatever your needs may be.
We’ve also featured the best gaming VPN of 2022.
Connecting To The Server
- Do I need to pay if I create a server with these methods?Community AnswerNo. These methods are free. However, if you want simpler, easier to work with servers, then you will have to pay on a different website.Thanks!
- How do I make it creative?Community AnswerYou can go into the “Server Command” section on Home in your Dashboard, and type /gamemode c@p.Thanks!
- What happens if I don’t port forward?Community AnswerNothing. It will simply give a request refused error as if you didn’t have a Minecraft Server at all.Thanks!
Recommended Reading: Minecraft Texture Packs Best
Before You Get Started
If youre just planning to run a Minecraft server on your local network, this isnt a concern, but if you want people to be able to play on your server over the Internet, youre going to need to find hosting for your server.
There are plenty of great options that you can use to host your Minecraft server: Linode and DigitalOcean are usually a safe bet. You will need a VPS to host Minecraft. You cant host on cheap shared hosting thats typically designed for hosting simple websites.
Youre also going to be hosting the server on Linux. While it is possible to run a Windows Minecraft server, Linux is cheaper to host, and its generally easier to maintain. Ubuntu is a solid pick when it comes to a distribution. Its fairly beginner friendly, stable, and it has an active community to help, should you need it.
Everything from here assumes that you have hosting and that youve signed in to a terminal, either through SSH or a web interface provided by your host. Any good VPS host will allow you terminal access.
Installing Jdk On The Virtual Machine
Minecraft Server is written with the Java programming language. So, you must have Java installed on the Ubuntu Server virtual machine for Minecraft Server to work.
Java Development Kit is available in the official package repository of Ubuntu Server 20.04 LTS. So, it is easy to install.
First, update the APT package repository cache with the following command:
To install JDK, run the following command:
To confirm the installation, press Y and then press < Enter> .
The APT package manager will download and install all the required packages from the internet. It will take a while to complete.
Once the packages are downloaded, they will be installed one by one. It will take a while to complete.
At this point, JDK should be installed.
Once JDK is installed, run the following command to check whether the java command is accessible from the command line and working correctly.
Also Check: How To Transport Villagers In Minecraft