How to create a new server in Minecraft 1.18

It hasn’t always been that way, but hosting a Minecraft server has become much easier than before, and it remains the same for Minecraft 1.18.

Although Microsoft and Mojang allow players to rent small private servers through Minecraft Realms, some players prefer to save money and use their own hardware. Third-party server hosting sites also allow players to host on high-quality hardware for a subscription fee, but this is not necessary as long as players have a good computer and a solid base. Internet connection. There are limits, but self-hosting in Minecraft can still be very rewarding.

How to host a server in Minecraft

It is entirely possible for players to enjoy Minecraft on a friend's own server hosted on their computer (Image via Mojang)
It is entirely possible for players to enjoy Minecraft on a friend’s server hosted on their computer (Image via Mojang)

Setting up a Minecraft server on its hardware can be confusing for those new to Java or networking, but it’s a simpler process than before. Below, Minecraft players can find a step-by-step process to host a server on Minecraft Java Edition using their own hardware:

  1. Download the files from the Minecraft Java Edition server at
  2. Make sure that Java is fully up to date on the desired computer that will host the server.
  3. Create or choose a folder where the server files will go.
  4. Copy the downloaded server .jar file to the server folder.
  5. Copy the path of your server folder to your clipboard.
  6. Open a command prompt. Type “cd” without the quotes, then paste the path to the file in the server folder before pressing Enter.
  7. After entering the directory, type Java -jar “name of your jar file“.pot
  8. Hit enter. An error should appear (failed to load properties and failed to load eula), but this is expected.
  9. Back in the Minecraft server folder, open eula.txt with your favorite text editor.
  10. In the eula file, replace “eula = false” with “eula = true” and save the file.
  11. Also open the file in the same folder with a text editor. In this file, note the parameter “query.port”, as this will be needed later for port forwarding.
  12. You can also define various parameters in this file. For example, the game mode can be set to Survival, Creative, etc. Motd defines the daily message for the server. There are also additional settings for PvP and allowing dimensions such as Nether and End.
  13. Repeat steps 6 and 7 and the server should now be online.
  14. Finally, be sure to forward the port specified in the “query.port” parameter in the server properties file. This is done in different ways depending on the hardware, and players may want to go to a site. such as NoIP to understand how to forward a port on their hardware. Typically, the port number is 25565, but it might be different depending on some factors.

Once players have followed these steps, players just need to go to the server to open Minecraft, click on multiplayer, then add a server, then enter the IP address of the machine hosting the server. If the hosting player does not know their IP address, they can go to What is my ip to get this information. It is strongly recommended that you only give this information to trusted friends and gamers, as leaving an IP address out in the open can lead to security issues.

Edited by Siddharth Satish

Profile picture