How To Create A Minecraft Java Edition Server In 2022

From Doku Wiki
Jump to: navigation, search

These requirements are adequate for 4 to 5 players. If you are looking to create your own dedicated server This article is for you on the Minecraft Wiki.



Once you have met the requirements, follow this step by procedure to set up the server.



#1 - Download the server.jar



Download the server.jar file directly from Minecraft's official website. Players can find the server.jar file for the latest version on the website. After downloading, make sure the file name is minecraft_server.1.XX.X.jar, where XX.X is the version.



Create a folder titled "Minecraft Server" to store the server-related files.



#2 - Open command prompt



The next step is to open the command prompt. Look for Before You Point Your Finger At Me in the start menu. Enter "java-version" to determine if Java is installed or not.



Change your directory to the "Minecraft Server" folder that contains the jar file. Copy the address from the file manager and then enter "cd" to copy the address of the folder. Hit Enter to change the directory to the server folder.



For example, cdC:\Users\Admin\Desktop\Minecraft Server



After you've changed the directory, enter Java --jar "name of your jar".jar" in the command prompt and hit enter. The error message will appear, but there's no need to worry about it.



Read the following article: Top 5 Minecraft Java Edition Servers in 2021



#3 - Make adjustments in Eula.txt and note query.port settings



After you have run the jar, you will find a new text file named Eula in the server folder. Open it in text editor and alter the value from eula=false to Eula=true.



A second file, called "server.properties" can be found by players. It contains all required information and settings such as query.port and gamemode.



#4 - The server is able to be started



Type the jar launch command again. The server will start without any errors. You can join the server by entering localhost or your public IP address into the IP address box. Others can join the server by adding ":25565" at the end of your public IP address.



Only share your public IP address to trusted family and friends. Do not give it to strangers, as it can pose a security risk to your family and home. Click here to find out more about the process of setting up the Server.