Tutorial - How To Create A Minecraft Server On A VPS

Drag to rearrange sections
Rich Text Content

Minecraft is a popular sandbox video game. It must be hosted on a server when you wish to play in multiplayer.


You may rent a pre-built Minecraft server or you may set it up your self on a VPS or on a dedicated server. This will cut back the associated fee and give you full management over your recreation occasion.


This tutorial explains learn how to launch a Minecraft Java Version server on an OVHcloud VPS and check its connectivity.


This information will show you how to make use of one or more OVHcloud options with exterior instruments, and can describe the actions to be carried out in a selected context. ou may need to adapt the directions in response to your situation.


If you happen to encounter any difficulties performing these actions, please contact a specialised service provider and/or focus on the problem with our group. You will discover extra data in the Go additional section of this information.


Requirements


- A Digital Private Server in your OVHcloud account
- A GNU/Linux distribution put in on the server
- Administrative entry (root) by way of SSH to your server
- A fundamental understanding of GNU/Linux administration


Directions


This tutorial is based on model "1.17" of Minecraft Java Version and OpenJDK version "16.0.1".


Step 1: Put together the server


The first step is to arrange your VPS for a Minecraft set up.
It is recommended to order a new VPS or reinstall an present one from your OVHcloud Control Panel, using the most recent out there release of Ubuntu or Debian. Please confer with our Getting began guide if vital.


Once the OS is put in, connect with your VPS with SSH as described within the Getting began guide.


First replace the packages to their newest variations:


Use the following command to make sure all required packages are put in.


Install the Java bundle:


To avoid security vulnerabilities on your system, create a consumer named "minecraft" who will perform the server actions:


Merely press the Enter key to skip filling in the standard account info.


The person is now created. Notice that no password was specified for this user. That is regular because the account is only accessible when already linked via SSH with your individual user account.


Switch to the new consumer:


The following commands must be executed by the person "minecraft".


To complete the setup preparations, create a folder named server.


Step 2: Set up your Vanilla Minecraft server


A "Vanilla" server is an instance without any add-ons or plugins. You will experience the game the way in which it was created by the developers.


First you will have to repeat/paste the obtain link for the server software. On the official Minecraft website, right-click on on the obtain link and choose Copy Link Location from the context menu.


Back in your command line terminal, make sure that you are nonetheless within the server folder and use wget to obtain the file. Exchange download_link with the precise URL out of your clipboard.


Before launching the server, you need to comply with the top Person License Settlement. To realize this, enter the next command.


A file named eula.txt is now situated at the foundation stage of your server, containing the line eula=true. minecraft servers may tell the software that you just accept the Minecraft EULA. We invite you to evaluation the phrases and circumstances on the Minecraft website.


Your server can now be began.


Throughout step 1, we put in the display bundle which allows opening multiple sessions of the terminal (shell). We are going to start Minecraft in a new session that may run in the background. Utilizing screen can be very useful because it provides you the likelihood to launch multiple Minecraft servers concurrently.


First, we are going to create a brand new shell named minecraft1:


The active terminal window will swap to a brand new shell session. You possibly can create a number of shells; listing them with this command:


To detach from the shell (and keep it operating), press Ctrl, then a, then d in your keyboard.


To switch from one shell to another, use this command:


You may as well press Ctrl, then a, then n on your keyboard.


Within the beforehand created minecraft1 shell, launch the Minecraft server with the following command. (Use ls to verify the filename in case it differs.)


To shut down your server, enter the command cease.


Step 3: Connect to the server


Your server instance is now purposeful. To play the sport, obtain the Minecraft client from the official Minecraft website.


Set up and launch the client in your working system and check in.


On the next display, enter the server identify in the sector Server Title, and the IP deal with of the server in the sector Server Deal with.


By default, no port must be specified.


Your Vanilla Minecraft server is now put in in your VPS.


Please word that this installation guide also needs to work on an OVHcloud dedicated server or a Public Cloud. occasion. With these providers, you should have the benefit of better stability because the hardware is devoted.


Go further


For add-ons, mods and to personalise your Minecraft experience, please seek the advice of this official documentation: https://help.mojang.com/.


Be a part of our neighborhood of customers on https://community.ovh.com/en/.


Did you find this guide helpful?


Please be at liberty to give any options so as to improve this documentation.


Whether or not your suggestions is about pictures, content material, or construction, please share it, in order that we are able to improve it together.


Your help requests is not going to be processed via this kind. To do this, please use the "Create a ticket" form.


Thanks. Your feedback has been received.

rich_text    
Drag to rearrange sections
Rich Text Content
rich_text    

Page Comments

No Comments

Add a New Comment:

You must be logged in to make comments on this page.