How to create a new server in Minecraft 1.18
Create your own servers in Minecraft with this guide!
Although Microsoft and Mojang allow for players to rent small private servers through Minecraft Realms, some players would rather save the 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 that isn’t necessary as long as players have a good computer and a solid internet connection. There are limits, but self-hosting in Minecraft can still be very rewarding.
To do so, players can create their own Minecraft servers in the game. Here is how they can do this.
Related: How to find Glow Berries in Minecraft in the Caves & Cliffs Part II update?
How to host a server in Minecraft
Setting up a Minecraft server on one’s hardware can be confusing for those that aren’t knowledgeable with Java or networking, but it’s a simpler process than it used to be. Below, Minecraft players can find a step-by-step process for hosting a server on Minecraft Java Edition using their own hardware:
- Download Minecraft’s Java Edition server files from Minecraft.net.
- Ensure that Java is fully up-to-date on the desired computer that will host the server.
- Make or choose a folder where the server files will go.
- Copy the downloaded .jar server file to the server folder.
- Copy the file path of your server folder to your clipboard.
- Open a command prompt. Type “cd” without quotations and then paste the file path to the server folder before hitting enter.
- After inputting the directory, type Java -jar “name of your jar file”.jar
- 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 preferred text editor.
- In the eula file, change “eula=false” to “eula=true” and save the file.
- Open the server.properties file in the same folder with a text editor as well. In this file, make note of the “query.port” setting, as you will need this later for port forwarding.
- You can also set different settings within this file. For example, gamemode can be set to Survival, Creative, etc. Motd 13.sets the daily message for the server. There are also additional settings for PvP and allowing dimensions such as the Nether and End.
As a final note, be certain to forward the port outlined in the “query.port” setting in the server properties file. This is done in different ways depending on the hardware, and players may want to head to a site such as NoIP to figure out how to forward a port on their hardware. Typically, the port number is 25565, but it may be different depending on certain factors.
In case you missed it!
Sarvesh Pingle
(293 Articles Published)