Local server

Running my premade servers on local network with windows

If you want to run one of my premade Minecraft servers on Windows, it’s very easy and you can quickly start playing. In this guide, i present you the run.bat file that will let you start your server and how you can connect to your server on your local network. Do not forget that you need Java installed on your computer.


Installing Java

You need to have at least Java 8 64 bits installed. If that’s not the case, you can go here and download “Windows Offline (64-bit)”. Once downloaded, just run it, wait for the installer to do the work and you are done ! Just check before installing Java 8 64 bits that you don’t have another version installed, like the 32 bits, it’s better to remove it before installing this one.


Running the Minecraft server

Once you have downloaded one of my premade Minecraft servers, you will find a file called run.bat in the main folder. That’s the file that you need to double click to launch your server. A window open and it takes a few seconds, sometimes a bit more depending of your computer speed, for it to load. Keep the windows open. When you want to stop your server, simply write “stop” and press “enter” in the windows, and you server will shut down properly.

Please do not forget to back up your server from time to time (once a day is already great). Just stop your server, make a backup, and start it again.


Ram needed

The starting script in the run.bat file use Aikar flags, i usually put the last version available on his website. Those flags will help your server to be more stable. It’s recommended to have between 6Gb to 10Gb for the server, even if you have very few players on it. If your computer can handle it, use 10Gb, but you should be fine with 6Gb.

The run.bat gives 6Gb for the server by default. If you want to put 10Gb, open the run.bat file with Notepad++ and replace this part :

-Xms6G -Xmx6G

With this part :

-Xms10G -Xmx10G

Just save the file, and you are done. I you don’t have that much ram, you should be fine with less, i was able to run in with 2Gb to 4Gb, but do it with only a few players.


Connect to the Minecraft server on local

If you want to connect from the computer hosting the server, launch Minecraft, go to Multiplayer, select Add Server, give a name to the server and choose “localhost” for the Server Address.

If you want to connect from another computer on your local network, you need to know the local IP address of your computer. You can do it by opening Command Prompt, type “ipconfig” and look for your IPv4 address. It’s probably something like that : 192.168.0.X, X ranging from 1 to 255. Once you know the local IP address of the computer hosting the Minecraft server, just put the local IP as Server Address in Minecraft on your other computer. You will be able to see if the server is online and connect to it.

If you have a problem, do not hesitate to come on my Discord to get some help !

No Responses

Write a response