So, how to play with friends on Minecraft PC or else we can say how to play multiplayer on Minecraft!
In this article, we will be giving you a methodological guide so that you can play Minecraft with your friends (multiplayer). To get the multi-player option in the game, there are some things which you need to keep in mind. You need the Java version of Minecraft, which means the original version for PC.
How To Play With Friends on Minecraft PC
Each player, whoever wants to connect must have the purchased version of Minecraft Java Edition for their PC. They can download the game from minecraft.net. It will be preferable if your computer has at least a 2 GHz dual-core processor, 2 GB of RAM, and a decent Internet connection.
At first, you need to get the latest version of Java so go to <java.com/en/download> and download the latest version.
Now, you have to download the latest version of the server from the official download page of Minecraft. It is a <server.jar> file. You have to put that file in a folder where you want to run the Minecraft server.
After that, you have to open the Windows command prompt in the specific folder where you have put the server jar file.
Now put the command same as written: (java -Xmx1024M -Xms1024M -jar server.jar nogui) and give enter. Then once it will run, the Minecraft server will automatically create some files in the folder it is situated in and you will receive an error message about the EULA.
Thereafter you have to open the generated eula.txt file and set it to eula=true. After doing that, this time it will run successfully.
Now, at the very endpoint of running, you have to use the stop. It will safely close down the server and it will save the world.
Next, please open the Minecraft game and click on the Multiplayer option. After that, click on Direct Connect. With this, you’ll be entering an IP address which is based upon where you are relative to the server computer. Enjoy the game with your friend.