After you do this, you'll want to download your server JAR file.
You can use this command to obtain the vanilla server JAR changing the Model with the version you want
Instance: curl -o server.jar https://serverjars.com/api/fetchJar/vanilla/1.18.1
If you would like to use Paper (recommended), you possibly can run this command replacing the Model with the version you need
Instance: curl -o server.jar https://serverjars.com/api/fetchJar/paper/1.18.1
Step three - Beginning your server
After you will have created your Minecraft server folder and have your server JAR file in it, you possibly can run the next command
This now ought to create a new screen, after that it's good to finally begin your server. MC LIST 'll be able to run this command changing the to how a lot RAM you need to provide to your Minecraft server in MB.
You may as well change the server.jar together with your actual server JAR that you've got in your Minecraft server folder.
Example: java -Xms512M -Xmx4096M -jar server.jar
Starting your server for the primary time will fail, that is because you need to accept the Mojang EULA within the eula.txt file.
To do that, run:
And alter the eula=false part to eula=true for those who settle for their EULA.
Step 3.1 - Becoming a member of your server
It is simple to join your Minecraft server! You should use your server's IP address to hitch your server.MC LIST