How To Create A Minecraft Server On A VPS

From Yoga Asanas
Jump to: navigation, search

After you do that, it's essential obtain your server JAR file.



You can use this command to obtain the vanilla server JAR replacing the Version with the version you want



Example: curl -o server.jar https://serverjars.com/api/fetchJar/vanilla/1.18.1



If you want to make use of Paper (recommended), you possibly can run this command replacing the Version with the version 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 screen, after that you must lastly start your server. Minecraft Server List can run this command replacing the to how much RAM you want to offer to your Minecraft server in MB.



It's also possible to change the server.jar together with your precise 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, this is because you want to accept the Mojang EULA in the eula.txt file.



To do this, run:



And change the eula=false half to eula=true in case you accept their EULA.



Step 3.1 - Joining your server



It is easy to join your Minecraft server! You should use your server's IP address to hitch your server.