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.
Also read:How to Install Minecraft on Ubuntu
Create Minecraft Server: Step
After you have decided on a suitable server, you can now create and set up your Minecraft server. Whether you choose Windows Server or a Linux distribution like Ubuntu or Debian as your system base is up to you.
Extensive instructions on how to create a Minecraft server for all operating systems are provided by the official Minecraft wiki.
In the following tutorial, we will show you how to get a Minecraft server running on Windows Server 2016 as an IONOS customer .
Adjust The Settings Of The Minecraft Server
As a server owner, you can make numerous settings for your Minecraft world. This is done primarily via the server.properties file. You can set the number of players , change the difficulty level , enable or disable PvP and make many other modifications. To do this, enter the desired number in the respective line or change the command to true or false.
For an overview of the various settings options, see the article about the server.properties file on the official Minecraft wiki.
Make a statement with your own .gg domain and let the games begin. Register your own .gg domain now with IONOS.
Read Also: Free Minecraft Bedrock Server Hosting
How To Set Up Your Minecraft Server
Before you get to learn how to create your own Minecraft server, it does require a solid knowledge of computer basics. Having some preexisting knowledge of how to create your own game server can be helpful, but it should be relatively simple for tech-savvy individuals.
The general steps for making a Minecraft server are the same once you get Java installed on your machine .
To get started building your Minecraft server, follow these steps:
At this point, you officially have a Minecraft server up and running. From here, you can start configuring the server to your liking.
Get Minecraft Java Edition And The Latest Java
There are a few key programs you need to get started if you want to host a Minecraft server on your computer. First, you need Minecraft Java Edition. If you own any other version of Minecraft, be it the console or the Windows 10 edition, you cant host your own custom server. If you have Minecraft Java, youll need to install Java .
Head to the Java Devkit website or click https://www.oracle.com/java/technologies/javase/javase-jdk8-downloads.html and search for x64 Windows Installer.
This will open the installation wizard. Go through the installation process and close the window when it is finished.
A Linux-hosted VPS is perfect if you arent expecting a large amount of players on your server, and its a great way to get started. If you find that you need more power, you can easily scale up. If you have larger plans, you can consider a dedicated server.
You May Like: How To Import Minecraft Skins
Renting A Minecraft Server Or Building A Home Server
Perhaps one of the biggest decisions to be made when looking into how to set up a Minecraft server is whether to host it on your own computer or to pay to have it hosted with a hosted provider, thereby renting the server space and hardware.
The most obvious difference between the two is that hosting your Minecraft server on your own computer doesnât cost anything, whereas renting a Minecraft server does. Before making this decision, factor in these considerations regarding renting a server or building one at home:
Building your Minecraft server on your PC can be a viable option if you plan on keeping your network to a small group of trusted friends. However, if you want to open it up to more players, especially those you might not personally know, renting a dedicated server is probably the way to go.
Running A Lan Party Type Server
- Note that these requirements are for the server only. You need to allocate more resources to the OS!
- Also note that these suggestion presume default settings in server.conf – i.e., a Draw Distance no higher than 10, and is also based on a new world the bigger the world gets, especially if there’s advanced redstone circuitry at work, the requirements – especially the RAM, or in the case of lots of redstone or mobs , the CPU – increase significantly .
Be sure to have at least a low-ping internet connection, such as DSL or cable.
Read Also: Minecraft Server Icon Maker
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.
Download The Minecraft Server Files
Within the Minecraft directory, run the wget command to download the Minecraft server files:
wget -O minecraft_server.jar https://s3.amazonaws.com/Minecraft.Download/versions/1.12.2/minecraft_server.1.12.2.jar
Next, well need to install and run screen, so that your server continues to run even when youre not connected:
yum install screen
Also Check: Free Minecraft Server Hosting No Queue
Setting Up Server Properties
Now lets look at some server properties we can change to customize what kind of Minecraft game you want to play in your server. Open the server properties file.
Once here, you will see a lot of text sections. Lets cover the most important ones and look at the properties you will most likely want to change.
The properties highlighted in the above image are some of the most important ones you should be familiar with. The first gamemode=survival property determines the gamemode you and your players will play in the server by default. This is set to survival meaning you will have hunger and health you will have to manage in game. Setting this to gamemode=creative lets the players build, break, and fly as they are untouchable and unkillable in this gamemode.
The next spawn-monsters=true is a property that tells the server monsters and dangerous enemies will appear. Changing this to spawn-monsters=false will stop monsters from spawning even in survival mode.
One of the more important properties in our experience with minecraft servers is the next highlighted pvp=true line. PvP stands for player vs play so this controls whether or not players can damage each other. By default this is set to true meaning players can hurt and damage one another in game. Setting this to pvp=false will disable and ability for players to damage each other.
Three Possible Minecraft Server Options At Ionos
Whichever server model you choose, at IONOS youll find various tariffs that differ in terms of the performance offered. Which of these tariffs is suitable for your purposes depends on how large the Minecraft world is and how many players are going to be active on your Minecraft server at the same time. In the following table, we present three possible scenarios for your gaming server including the appropriate rates within the three server models to help you decide.
Rent your Dedicated Server at IONOS to enjoy the world of Minecraft together with friends and acquaintances at any time!
Read Also: Minecraft Server Hosting Free 24/7
Multiplayer Mode In Minecraft
Although Minecraft can be played solo, one of its main attractions is multiplayer mode that allows users to engage with each other. This can result in many things depending on the environment.
For example, players can decide to wage war, run co-op quests, or simply co-exist in peace on their own little plots of virtual land. For multiplayer mode, there are four main options
- Playing on a Local Area Network A LAN connects a group of computers in a smaller space. For example, linking a few computers in a room is considered a LAN.
- Minecraft RealmsThe Realms concept was created by Minecraft designers to allow players to quickly host Minecraft games via the service. Its subscription based, on top of the cost of Minecraft.
- Split ScreenThis is for consoles only and allows up to four users to play Minecraft together side by side using a single screen.
- Online ServerThis is the most interesting of all and involves a user actually setting up an entire online environment from scratch to host Minecraft games. Most usually the host will rent server space from a web hosting company for this purpose.
- 2 CPU Core
Storage space is pretty negligible in context to whats offered, so well skip that here, as long as it is SSD based.
In these cases Id recommend a VPS plan like the Minecraft Villager Plan on Hostinger, offering 3GB of RAM but clocking in at $12.95/mo. As you can see, the more players you want to host, the higher your potential cost gets.
How To Make A Minecraft Server On Linux
Here you will get to know a step-by-step guide on how to make a Minecraft server on Linux?
Step 1: To run a Minecraft server on Linux requires Java. First, check if you have it installed on the server by running this command:
If you get an error message, proceed to step 2 if java is already installed, however, skip to step 4.
Step 2: Run the following commands to install Java:
sudo yum update
sudo yum install java -y
You should see the following screen when it is installed.
Step 3: Now you should install Screen.
sudo yum install screen -y
Step 4: Create a new directory where you will store all the Minecraft configuration files and enter it.
Step 5: Before downloading the needed configuration files, wget should be installed first.
sudo yum install wget -y
Step 6: Use the wget command to download Minecraft server files.
Please note that this link works for Minecraft Server 1.16.4. To look for a newer version, follow this link. If there is one, replace the link in the command with the newer one.
Step 7: Once the download is finished, run the server.jar file with the following command.
java -Xmx1024M -Xms1024M -jar server.jar nogui
This should give you an error as the end-user license agreement is not accepted.
Step 9: Once that is done, run the following command to make sure that the server can run in the background.
screen -s Minecraft server 1
Don’t Miss: How To Transfer Minecraft Pe Skins To Xbox One
Raspberry Pi Tutorial: Host A Minecraft Server On Ubuntu Desktop
Welcome to the second in our series of Linux gaming posts in the run up to the holidays. This week, weve put together a tutorial that teaches you how to create a basic Minecraft Server on a Raspberry Pi with Ubuntu Desktop, so you can play locally with your friends.
This is a great afternoon project to work on with a friend or family member!
Hosting a Minecraft server unlocks a tonne of additional control over how you play Minecraft with your friends. You can change the game rules and difficulty, the behaviour of enemies and determine how players interact.
Setting up a server is also a great way to learn more about Linux. Linux is all about tinkering and trying new things. While it can seem intimidating at first, the instructions youll follow for this project will help you approach more complex Linux projects in the future!
In this tutorial, well be using a Raspberry Pi 4 4GB with a 32GB SD card, but you can also follow along on pretty much any laptop or PC that has Ubuntu Desktop installed. You could even use a Virtual Machine.
Check out these tutorials for getting started with Ubuntu Desktop on these platforms:
Note: Well be using Ubuntu Desktop 21.10 for Raspberry Pi in this tutorial, and recommend you follow along with Ubuntu Desktop 21.10 on whatever device you use.
Lets jump in.
You Can Monitor Your Kids As They Play
Minecraft is a popular game among kids as well. If you rent your own Minecraft server, you can teach server administration to your kids at a very young age. This makes them learn initial Linux administration and server setup.
Also, it allows parental control. You can watch their activities and choose who they play with.
Renting your own Minecraft offers a lot of benefits and is very cost-effective. As you solely control the game, you can build your own Minecraft world.
Recommended Reading: Code Studio Minecraft
Creating A Minehut Account
How Does A Minecraft Server Work
A server on the popular game Minecraft works very much the same way as really any other server or computer that is connected to the internet and communicates with other devices. Essentially the internet is one huge network where computers communicate data. Web servers are huge computers that process a lot of requests and display web pages or multiplayer game content to anyone who makes a request.
However, just because servers typically involve a lot of computers and processing power, this doesn’t mean that you need to invest in a huge server computer to host your own amazing Minecraft multiplayer world. Since servers can process many requests at once, they make it possible for a world to be played on by numerous Minecraft players simultaneously and update automatically, making for an excellent experience.
Although most people who want to make Minecraft servers usually buy one from a specialized service provider who owns their own server computers, which servers can be hosted on, it is not uncommon for amateurs to host servers on their own devices. For example, if you have a spare laptop or PC lying around that is relatively fast and has decent memory , you can configure it to act as a server and hold a Minecraft world that many other people can connect to.
Also Check: Minecraft Xbox One Servers 24 7
Getting Started: Download The Latest Version Of Java
Still here? Great! Lets start creating our own Minecraft server.
We can start by creating a new folder where all our downloads will be stored. You can put this anywhere you like, but I find the easiest way to create a new folder on the desktop.
In our examples, well put everything in a folder named My Awesome Server right on the desktop. To create a folder on the desktop, right-click on any open space on the desktop and click New Folder. Then you can rename the folder to whatever you choose.
After creating the folder, you need to start downloading the files necessary to host your own server. Lets start by making sure you have the latest version of Java on your computer. You can do this by clicking here or by going to https://www.java.com/en/download/. This link should lead to a proper download whether you are using a Mac or a PC.
Add the installer to the folder we created in the previous step. After downloading the installer, double-click it and follow the prompts.