How To Create A Minecraft Java Edition Server In 2022

From Human's Love
Jump to: navigation, search

The requirements mentioned above are adequate for four players. For readers who are looking to create an exclusive server, read this article on Minecraft Wiki.



If you've met the requirements and have met the requirements, follow this step-by- guide to set up a server.



#1 - Download the server.jar file



Download the server.jar file directly from Minecraft's official website. The server.jar file is available on the Minecraft official site. 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



Then, start the command prompt. Look for the command prompt 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 of this folder from the file manager. Then type "cd," and paste the folder address. Hit Enter to switch the directory to the server folder.



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



After changing the directory After changing the directory, after changing the directory, type Java"-jar" or "name of your jar".jar" in the command prompt, and then press enter. The error message will appear but there's no need to be concerned about it.



Read: Top 5 Minecraft Java Edition Servers in 2021



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



After running the jar the new text file with the name Eula will be added to the server folder. Open it in an editor for text, then change eula=false from eula=true, and save it.



A second file, called "server.properties" is located by players. It contains all necessary information and settings such as query.port and gamemode.



#4 - The server is ready to start



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



Just share your IP address with trusted friends and family. Don't give it to strangers as it could create security risks for your family and home. Click here to find out more about the process of setting up a Server.

Minecraft servers