How To Create A Minecraft Server On A VPS

From Doku Wiki
Jump to: navigation, search

After you do that, you might want to download your server JAR file.



You can use this command to download 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 need to make use of Paper (really useful), 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 - Starting your server



After you may have created your Minecraft server folder and have your server JAR file in it, you may run the next command



This now ought to create a brand new display, after that you might want to finally start your server. Server stat You possibly can run this command replacing the to how a lot RAM you want to give to your Minecraft server in MB.



You can too change the server.jar together with your actual server JAR that you have in your Minecraft server folder.



Instance: java -Xms512M -Xmx4096M -jar server.jar



Starting your server for the first time will fail, that is because you want to just accept the Mojang EULA in the eula.txt file.



To try this, run:



And change the eula=false part to eula=true in case 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 deal with to affix your server.