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
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:
- Download the files from the Minecraft Java Edition server at Minecraft.net.
- Make sure that Java is fully up to date on the desired computer that will host the server.
- Create or choose a folder where the server files will go.
- Copy the downloaded server .jar file to the server folder.
- Copy the path of your server folder to your clipboard.
- Open a command prompt. Type “cd” without the quotes, then paste the path to the file in the server folder before pressing Enter.
- After entering the directory, type Java -jar “name of your jar file“.pot
- Hit enter. An error should appear (failed to load properties and failed to load eula), but this is expected.
- Back in the Minecraft server folder, open eula.txt with your favorite text editor.
- In the eula file, replace “eula = false” with “eula = true” and save the file.
- Also open the server.properties 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.
- 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.
- Repeat steps 6 and 7 and the server should now be online.
- 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.
Read alsoThe article continues below
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.