How To Create A Minecraft Server On A VPS
After you do that, you need to obtain your server JAR file.
You should use this command to obtain 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 use Paper (beneficial), you'll be able to run this command changing the Model with the version you need
Example: curl -o server.jar https://serverjars.com/api/fetchJar/paper/1.18.1
Step 3 - 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 new screen, after that you must finally start your server. You can run this command replacing the to how a lot RAM you want to present to your Minecraft server in MB.
You may also change the server.jar together with your precise server JAR that you've in your Minecraft server folder.
Example: java -Xms512M -Xmx4096M -jar server.jar
Starting your server for the first time will fail, that is since you want to accept the Mojang EULA within the eula.txt file.
To do this, run:
And change the eula=false part to eula=true in the event you accept their EULA.
Step 3.1 - Becoming a member of your server
It is simple to join your Minecraft server! I'M E You can use your server's IP tackle to affix your server. I'M E