Setup a Minecraft LAN Server

Setup a Minecraft LAN Server

Hey Dreamers! Let’s Setup a Minecraft LAN Server. This procedure is for the players of Minecraft Java (Desktop) version that are not registered and for those people that only have a single game license and want to play LAN multiplayer with their friends that don’t have a registered account. Please take note that this article does not encourage players to use the unregistered version of Minecraft. Please support the developers and buy the game.

This article assumes that you already have a working Minecraft client and Java SE Runtime Environment (JRE) installed on your computer. In case you don’t have Java installed yet, please download it here. There are 2 versions of JRE, 32 and 64 bit. Please download the version that match to your operating system. This procedure is tested under Windows 10 and is expected to work on other systems as well (with slightly different approach, specially on Linux).

Setup a Minecraft LAN Server (Follow steps below):

1. Get SpigotMC server .jar file here. Select the version that correspond with your Minecraft client then download and save the .jar file inside a folder.

2. Open command line (CMD) and go to the folder where you have downloaded spigot-xx.jar file and enter the following command (change the text based on the Spigot version):

java -jar spigot-1.15.2.jar

Notes: After running Spigot under CMD, please wait for a at least 20 seconds. You can also add nogui parameter at the end of the command above to hide the .jar gui (because you already have CMD display in place of it). You will see the following after running Spigot for the first time:

running Spigot for the first time

3. Open eula.txt and modify it so that eula=true then save the file.

Set server eula to true

4. Next, open server.properties file using a text editor then find and adjust the following (save the file after editing):

online-mode=false

Important! online-mode must be set to false so that users that were not registered will be able to join the LAN Minecraft server.

5. Open text editor then create a file named start-minecraft-server.bat then add the following (save the file when done):

java -Xms512M -Xmx1G -jar spigot-1.15.2.jar nogui

Note: -Xms512M -Xmx1G means to use minimum of 512 megabytes and up to max of 1 gigabyte of memory. If you have more RAM, its better to assign bigger number, specially if you plan on running mods (I plan to discuss more about mods in a future article or video). In my case, I use a minimum of 1gb and max of 4gb

6. Double-click start-minecraft-server.bat and wait for it to finish running things. If you see something like “Done (14.254s)!”, then Minecraft LAN server is ready.

Minecraft server ready

7. In order to connect to the LAN server, launch Minecraft. In the title screen, click Multiplayer then push Direct Connect.

Minecraft multiplayer direct connect

Type the IP address of the computer where the server is installed along with the Minecraft server port:

192.168.0.103:25565
Minecraft join server

Note: In Windows, you can run ipconfig under CMD to find the IP Address of your computer. The default port is for the server is 25565. It can be changed and modified under server.properties file

8. After supplying the server IP address, click Join Server

Minecraft join server

If connection is successful, you will see the newly created Minecraft LAN world

Minecraft join success

If you can’t connect to the local Minecraft server, please check the firewall settings of your computer and make sure that the Java Runtime Environment and the launcher of Minecraft is not being blocked or restricted. Thanks for reading! We will be happy to know your comments so please write something below.

P.S. A tutorial video is also available here: https://youtu.be/G4jJ1BSq6jg

Leave a Reply

Your email address will not be published. Required fields are marked *

*