Minecraft is one of the most thilling games in modern gamedev. Due to its low system requirements and a huge fan base, content in the popular pixel universe has grown to an unprecedented scale. In the network you can easily find hundreds of mini-games, mods, plug-ins and other entertainments that bring something new and unique to the gameplay.
Of course, the best of the available classes in Minecraft are designed for several players. Therefore, you should call friends with you. But before you plunge into the world of unbridled fun, you should decide how and where you can play in the network. We will tell you about all the available methods, and you will already choose the most suitable for yourself.
How to play Minecraft in a local network
This method is suitable only for players who are physically located next to each other, for example, in one or in neighboring apartments. A local network implies several computers connected by a LAN cable or Wi-Fi. So if your teammate is far from you – go to the next method. A huge advantage in the game in the local network is ability to do without an Internet connection.
IP address setting
First you need to configure a static IP address so that every time you connect to the server, do not drive in new numbers:
Right-click on the “Network Connections” icon in the lower right corner of the system tray (it looks like a monitor, and next to it is a network cable), and select “Open Network and Internet Settings”.
Go to the “Configuring adapter settings” section.
Select an active connection, right-click on it and go to “Properties”.
Double-click on the “IP version 4 (TCP / IPv4)” section.
Turn off the automatic obtaining of IP-addresses and set all parameters manually: IP-address: 192.168.0.N (where N is any number from 1 to 255), subnet mask: 255.255.255.255.
The same should be done for all other computers that are connected to the local network. However, the IP addresses should not be the same; the last digit should be changed. The subnet mask must be the same everywhere.
In the absence of the Internet, there are only two ways to do this: create a dedicated server or use a direct connection to the player. In the first case, the game world will additionally use the resources of your computer, but other players will be able to connect to it at any time, regardless of whether you are in the game at this time. The main condition is that the server itself is started. In the second case, PC resources will not be spent on the server, but the joint game will be available only when the host is playing. We talked about server creation options in more detail in a separate publication.
When creating a dedicated server, additional configuration is required. Various types of servers can be downloaded from the network, but they all have a similar configuration. Therefore, this instruction is universal. Follow these steps:
Go to the root folder of the server and open the file “server.properties” using notepad.
Find the line “server-ip = N” and instead of the letter N, enter the IP address similar to your current IP address. The last digits should also vary.
Then find the line “server-port = N” and instead of the letter N, enter a five-digit number (the default is 25565 and may change each time depending on the type of downloaded server).
Now you can start the server using the start.bat file. The first launch usually takes a very long time.
If you created the server through the game client, then no additional configuration is required. Only the connection method will differ. In any case, follow the instructions below:
Launch the game and go to the “Network game” section.
If you created the world using the in-game client, then click “direct connect”. In the field that appears, enter the IP address of the host that you set a little earlier in the adapter settings. A colon after the server address indicates the server port. It is written in a chat on the host computer immediately after starting the world. Everything should look like this: 192.168.1.1:5555
If a dedicated server was launched, click on the “Add” button and also enter the address and port of the server that you specified in the settings of the file “server.properties”.
If everything is done correctly, then either the server will be logged in, or it will be added to the general list of all servers. Now you know how to play Minecraft with a friend on the local network. It is worth noting that this method is the most difficult of all. So if you didn’t succeed and have access to the Internet, you can try the rest of the methods.