How To Create A Minecraft Server On A VPS
After you try this, you need to download your server JAR file.
You should utilize this command to obtain the vanilla server JAR replacing the Version with the model you need
Example: curl -o server.jar https://serverjars.com/api/fetchJar/vanilla/1.18.1
If you would like to use Paper (advisable), you'll be able to run this command replacing the Model with the model you want
Example: curl -o server.jar https://serverjars.com/api/fetchJar/paper/1.18.1
Step three - Beginning your server
After you have got 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 brand new display screen, after that it's essential lastly begin your server. You possibly can run this command changing the to how a lot RAM you want to provide to your Minecraft server in MB.
You may also change the server.jar with your precise server JAR that you've got in your Minecraft server folder.
Instance: java -Xms512M -Xmx4096M -jar server.jar
Beginning your server for the primary time will fail, this is since you need to accept the Mojang EULA in the eula.txt file. best minecraft servers
To try this, run:
And alter the eula=false half to eula=true if you settle for their EULA.
Step 3.1 - Becoming a member of your server
It is straightforward to join your Minecraft server! You can use your server's IP handle to affix your server.