from web site
After you try this, it is advisable download your server JAR file.
You can use this command to obtain the vanilla server JAR replacing the Model with the version you need
Instance: curl -o server.jar https://serverjars.com/api/fetchJar/vanilla/1.18.1
If you would like to use Paper (really useful), you'll be able to run this command replacing the Version with the version you need
Example: curl -o server.jar https://serverjars.com/api/fetchJar/paper/1.18.1
Step three - Starting your server
After you will have created your Minecraft server folder and have your server JAR file in it, you may run the following command
This now should create a new display screen, after that you could lastly start your server. You possibly can run this command changing the to how much RAM you need to provide to your Minecraft server in MB.
You too can change the server.jar together with your precise server JAR that you have in your Minecraft server folder.
Example: java -Xms512M -Xmx4096M -jar server.jar
Starting your server for the first time will fail, that is because you need to accept the Mojang EULA in the eula.txt file.
To try this, run:
And alter the eula=false half to eula=true in the event you accept their EULA.
Step 3.1 - Joining your server
It is easy to affix your Minecraft server! You should use your server's IP handle to affix your server.