How To Create A Minecraft Server On A VPS
After you do that, it is advisable to obtain your server JAR file.
You can use this command to download the vanilla server JAR replacing the Version with the version you want
Instance: curl -o server.jar https://serverjars.com/api/fetchJar/vanilla/1.18.1
If you need to make use of Paper (really helpful), you'll be able to run this command changing the Version with the version you want
Instance: curl -o server.jar https://serverjars.com/api/fetchJar/paper/1.18.1
Step three - Beginning your server
After you may have created your Minecraft server folder and have your server JAR file in it, you'll be able to run the next command
This now ought to create a new display screen, after that you might want to finally begin your server. You may run this command changing the to how much RAM you want to offer to your Minecraft server in MB.
You too can change the server.jar with your actual server JAR that you've in your Minecraft server folder.
Instance: java -Xms512M -Xmx4096M -jar server.jar
Beginning your server for the first time will fail, this is because you want to just accept the Mojang EULA within the eula.txt file.
To try this, run:
And alter the eula=false half to eula=true in case you accept their EULA.
Step 3.1 - Becoming a member of your server
It is simple to affix your Minecraft server! Strongcraft can use your server's IP tackle to join your server.