Create a folder named server into your computer, for example into path D:\Minecraft.
Go to Minecraft’s official webpage server and download the file server named minecraft_server.1.15.2.jar.
You can download easy using the right-click and select Save Link As…:
This file with the extension .jar is an Executable JAR Files used by Java.
I have installed the Java JDK and JRE, the only command used by this server is java.
The file I download is named Server.jar into my empty folder test.
The first run will show you some problems:
D:\test>java -Xmx1024M -Xms1024M -jar server.jar
[20:36:26] [main/ERROR]: Failed to load properties from file: server.properties
[20:36:27] [main/WARN]: Failed to load eula.txt
[20:36:27] [main/INFO]: You need to agree to the EULA in order to run the server. Go to eula.txt for more info.
You need to open with an editor the to make all changes.
First, the Eula licensed from the file named eula.txt:
Use this command:
Set it to the true:
The next step is to set the server.properties file with all settinges:
If you don’t buy the minecraft game, you can use the TLauncher from the official webpage.
I test the server on my computer and if you want to use it on the internet you need to set your router.
In this file, you can make these settings, see my settings for my IP 188.8.131.52 and the name of the server catafest_server.
#Minecraft server properties
#Fri May 29 15:49:08 EEST 2020