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:
1 2 3 4 | 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:
1 | D:\test>notepad eula.txt |
Set it to the true:
1 | eula=true |
The next step is to set the server.properties file with all settinges:
1 | D:\test>notepad server.properties |
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 197.168.0.33 and the name of the server catafest_server.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | #Minecraft server properties #Fri May 29 15:49:08 EEST 2020 spawn-protection=0 max-tick-time=60000 query.port=25565 generator-settings= force-gamemode=false allow-nether=true enforce-whitelist=false gamemode=survival broadcast-console-to-ops=true enable-query=false player-idle-timeout=0 difficulty=easy spawn-monsters=true broadcast-rcon-to-ops=true op-permission-level=4 pvp=true snooper-enabled=true level-type=default hardcore=false enable-command-block=false max-players=20 network-compression-threshold=256 resource-pack-sha1= max-world-size=29999984 function-permission-level=2 rcon.port=25575 server-port=25565 server-ip=197.168.0.33 spawn-npcs=true allow-flight=false level-name=world view-distance=10 resource-pack= spawn-animals=true white-list=false rcon.password= generate-structures=true online-mode=false max-build-height=256 level-seed= prevent-proxy-connections=false use-native-transport=true motd=catafest_server enable-rcon=false |