How to create a free minecraft server on your own PC

The Boss

PC

How to create a free minecraft server on your own PC

create, free, Minecraft, server

If the number of users is higher, between 5 and 10 playersWe can use the same processors, Intel Core 2 Duo or AMD Athlon 64 x2 but with a minimum of 4 GB of RAM2 GB for the server and 2 for the operating system.

But if we are a very numerous group, Of 10 usersAt least we need an Intel Core i5-4690 processor or an AMD Ryzen 5,1600 accompanied by 8 GB of RAM (4 GB for the server and 4 GB more for the operating system9.

Create a Java Minecraft server on a PC

Contrary to what one might initially think, the creation of a Java Minecraft server is a very simple and fast process by following the steps that we show you below.

Download the necessary files

The first thing to do is download the file in Java format which will allow us to create the server. In addition, we must also download the Java Is Unleashed Kit, Java's development kit.

  • HAS Download the Minecraft serverWe must visit the Minecraft website here, and click on minecraft_server.xxxjar. Depending on when you read this tutorial, XXX can display a different number and correspond to the latest version of Minecraft Java available at the time. At the time of the publication of this article, the available version is number 1.21.5.
  • He Java development kit You can download it in a compressed file, an executable file or an installer in .msi format via this link.

Once we have downloaded the Minecraft server, we need to install the Java development kit by clicking twice on it and following all the steps.

Prepare the installation

Once the process is finished, we create a repertoire with the name Minecraft Java (although we can call it as we want) and inside, we copy the file that we downloaded from the Minecraft page (Server.jar).

Then we open the Windows notes and copy the following lines:

java -Xmx2G -jar server.jar
pause

Create a minecraft server

The -xMX2G variable indicates that we will use 2 GB of RAM from our PC. 2 GB of RAM are sufficient for a domestic server for up to 5 players. If the number of simultaneous players will be higher, we can expand their number by always taking into account that it depends on the RAM that team A.

The break line stops the file execution once it has ended and allows us to check if an error occurred during the process. Although it is not necessary to make the installation, it is recommended.

Once we have created the file, we click on File> Save howwith the name “initial.bat” (without quotes) and in TypeClick on the Drop -Down to select the option All files.

The start.bat file that we have just created is a file that allows you to run scripts in Windows. Once we have created the file to make the installation, we need to create a new file called “Eula.txt” (without quotes), to automatically accept the conditions with the following text:

eula=true

Create a minecraft server

If we do not create this file, the installation process will stop by not detecting that we accept the conditions via this file. Once created, we keep it as a normal .txt format.

Facility

If we have followed all the steps that we indicated above, in the Minecraft Java directory where we copied the downloaded file from the Minecraft website, alongside this file, we must also have the “Start.bat” file (without quotes) and the “Eula.txt” file (without quotes).

We must now click on the start.bat file to install. This process is barely a few seconds and once the end will show a white window with the name Minecraft Java. The command line window that the process has carried out will also be open and we must not close it.

Minecraft Server Java

HAS ServerBelow, we have to write “stop” (without the quotes) and the server window and the command line will close.

You will see how new files have been created in the Java Minecraft file card, files that match the server and that you should not erase. Go back Serve the serverWe have to run the “Start” file again.

How to access a Java Minecraft server

Once we have created the Minecraft server, we must share with our friends both the IP of our connection and the Port used by the Minecraft server.

The port that uses by default is 25565, and we can check it on the line Starting the Minecraft server on *: When we execute the start.bat file to put it into service.

Puerto used the Minecraft server

The next step is to access the router and Open port 25565 To allow other users to access our PC using only the port. This process is similar in almost all routers is very easy to do after an internet tutorial.

Once we know the port, we must also know what the IP of our Internet connection is. The simplest method is to visit the web what is my IP. When you access this page, the IP is displayed in the section your IP address. The IP consists of 4 blocks of points separated by points.

What is my IP

Once we have discovered both the IP of our Internet connection and the port used by Minecraft Server, we know what is the address of the server:

XX.XX.XX.XX:25565

Where we must replace the X with the numbers of our IP. The time has come to introduce this IP in Minecraft Java to access the server. Once we access the server, the Minecraft server window will display the user name that has accessed. To give operator authorizations, in the command line of this application, we must write “OP name” (without quotes) and press Entry.

Leave a Comment