How To Create A Minecraft Server On A VPS
After you do that, you might want to download your server JAR file.
You can use this command to obtain the vanilla server JAR changing the Model with the version you need
Example: curl -o server.jar https://serverjars.com/api/fetchJar/vanilla/1.18.1
If you want to make use of Paper (beneficial), you may run this command changing the Version with the model 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 may run the next command
This now should create a brand new screen, after that it's essential finally start your server. Screamyguy 'll be able to run this command changing the to how much RAM you need to present to your Minecraft server in MB.
You may also change the server.jar along with your precise server JAR that you have in your Minecraft server folder.
Instance: java -Xms512M -Xmx4096M -jar server.jar
Beginning your server for the first time will fail, this is since you want to simply 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 settle for 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 address to hitch your server.