Setting up a Java-based Minecraft server can be tricky for those who aren't savvy with file movement and editing. It is actually quite simple, even though it might seem daunting at first.
Mojang also provides a guide on the game's official website to help players through the process. With just one folder, players can create a base server they can modify to their liking. Or, you can play the game right away in version 1.19.
This applies to all previous versions of Mojang's game. Mojang offers many versions of its server file.
Minecraft players can follow the steps given below to host their own server for free:
1. Go to the official site of the game, where you will find the Java file for the server. 1.19 players will want to ensure they download the server.1.19.0.jar file for the current server build. 2. Players can create a folder to store the downloaded.jar file for easy access. It can be named whatever a player wishes, but something along these lines will do. Once players have their folder set up, they should place their downloaded .jar file inside. 3. Next, players need to open the command prompt. For example, C:\Users\Admin\Desktop\Minecraft Server or whatever directory the folder resides in. You can inspect this directory by opening the server directory and looking at the top.
4. Next, players will need to type Java-jar server.1.19.0.jar into the search box and hit enter. Players will be notified of an error, but it is intended. It will generate the EULA file.
5. Back in the server folder, players should open the EULA.txt file with their preferred text editor such as Notepad.
6. After you have made your changes, save the changes and close the text editor.
7. A server.properties file should also be present. This file will need to be opened using a text editor. Some players might need to select "Open With", and then manually choose their text editors to properly open the file.
8. Players should pay close attention to the "query.port" line. This line will list all ports that players need to forward to their router, if applicable. This is not always necessary depending on the hardware configuration of a player. Traditionally, players need to forward the default port number of 25565 in the router's settings. However the port may differ in some cases.
9. The rest of your server properties file will determine how the server works. For example, "gamemode" can be set to Survival, Creative or Adventure to set the server's default game mode. Players can also control things such as difficulty and PvP access, maximum players, and whether the Nether will be accessible.
10. After all necessary changes have been made on server.properties, players are able to save the changes. Minecraft servers To run their server, players simply need to repeat Steps 3 & 4. If everything was done correctly, the.jar should begin to run the server. Players should be able connect to it.
11. If players didn't set an IP address in their server property file, the server IP will be tied with their machine's IP. If a player's computer address is 192.168.0.5 then the server IP will be the same. The Minecraft multiplayer menu allows players to connect to the server by entering the IP followed with the forward port. For example, 192.168.0.5.25565 might be an address players can connect to. To connect to their server directly, the player hosting it can also use the multiplayer menu to enter localhost.
Once these steps are followed, Minecraft players can connect to the server with their server admin and start playing. If future changes need to be made, the admin can reopen the server.properties file in their text editor and tweak any of the listed settings as needed.
Log in to comment