How To Create A Minecraft Server On A VPS

From Chess Moves
Jump to: navigation, search

After you do this, that you must download your server JAR file.



You need to use this command to download the vanilla server JAR changing the Version with the model you want



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



If you want to make use of Paper (really useful), you may run this command replacing the Model with the model you need



Instance: curl -o server.jar https://serverjars.com/api/fetchJar/paper/1.18.1



Step 3 - Beginning your server



After you've got created your Minecraft server folder and have your server JAR file in it, you may run the following command



This now should create a brand new display screen, after that it's essential to finally begin your server. You can run this command changing the to how much RAM you want to provide 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, this is because you need to accept the Mojang EULA within the eula.txt file. Steve is blogging



To try this, run:



And alter the eula=false part to eula=true if you accept their EULA.



Step 3.1 - Becoming a member of your server



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