After you try this, that you must obtain your server JAR file.
You need to use this command to download the vanilla server JAR replacing the Model with the model you want
Example: curl -o server.jar https://serverjars.com/api/fetchJar/vanilla/1.18.1
If you would like to use Paper (beneficial), you may run this command replacing the Model with the model you need
Example: curl -o server.jar https://serverjars.com/api/fetchJar/paper/1.18.1
Step three - Beginning your server
After you've created your Minecraft server folder and have your server JAR file in it, you possibly can run the next command
This now should create a brand new display, after that that you must finally start your server. You can run this command changing the to how much RAM you want to give to your Minecraft server in MB.
You can also change the server.jar along with your actual 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, this is because you want to simply accept the Mojang EULA in the eula.txt file.
To try this, run:
And alter the eula=false half to eula=true should you accept their EULA.
Step 3.1 - Becoming a member of your server
It is straightforward to hitch your Minecraft server! You need to use your server's IP tackle to affix your server. BEST-MINECRAFT-SERVERS