How to install Minecraft server on a VPS in 2021.

Short explanation.

Installing Minecraft on a VPS server.

To do this you can visit the pages and and/or read the long version of this article.

What is the perfect VPS for Minecraft in 2021?

For Minecraft we have always been using Linux Hosts Inc. and will never change that. Here’s the link:

Read more.

Do you like to know more about this subject? Here are a few related articles. Happy reading!


Long explanation.

Create Minecraft server on a VPS: requirements and instructions.

The online multiplayer mode is commonly considered to be the heart of Minecraft. To play together on the Internet, however, you need a server that is the gateway to the respective Minecraft worlds. The available servers differ in terms of their game modes and in terms of the number of players. As a user, you can use various Minecraft server lists to search public servers in order to find a suitable game world. However, you have no influence on the general conditions of the game on other users’ Minecraft servers, because these are specified by the operator of the server.

Create your own Minecraft server on a VPS.

You only have a tailor-made gaming experience if you create your own Minecraft server – this is the only way you can determine which and how many players are allowed to be in your game world. You can also freely adjust the game mode and other settings to suit your preferences. But how do you set up a Minecraft server and which server is best suited for it?

Table of Contents

  • Minecraft server: create your own home server or rent a server?
  • What are the system requirements of a Minecraft server?
  • Rent a Minecraft server: which VPS server is right for me?
  • Create Minecraft Server: Step-by-Step Instructions (Windows Server)

Of course, if you want to create and operate your own Minecraft server, you first need the right hardware for this project. In theory, a home PC is sufficient for this – depending on the desired number of players and the desired server setting: For three to five players, the Minecraft team recommends, for example, three gigabytes of RAM, 18 gigabytes of hard disk space and broadband resources of at least 12 MBit Game. In addition, there are the requirements of the operating system, with Windows 10 that would be an additional one or two gigabytes of RAM (32-bit vs. 64-bit) and 16 or 32 gigabytes of hard disk space (32-bit vs. 64-bit) as a guide.

These key data already make it clear: You cannot run other programs parallel to the Minecraft server on the respective PC, so that it only functions as a host. The acquisition of such a second PC in addition to the actual home device, which not only takes up the domestic broadband contingent, but also means additional running costs in terms of power consumption, is in practice probably only an option for very few Minecraft enthusiasts.

The flexible and often even very inexpensive alternative is to rent the hardware resources for a Minecraft server – and thus entrust the hosting of the game to a web hosting provider. With this option, too, you can set up your server individually and freely determine whether the server should be public or private. The flexibility is expressed in particular in the easy scalability of such a rental solution: A large part of the server tariffs available today offer you the option of increasing or reducing the booked hardware service at any time or at least on a monthly basis – a clear advantage over the home server, the upgrade of which is always linked to the purchase of additional or new hardware that you cannot simply return after use.


Rentable server resources are also referred to as Infrastructure-as-a-Service (IaaS), i.e. IT infrastructure that is made available to users by a provider as part of a service.

What are the system requirements of a Minecraft server?

In the previous section, we have made a small sample calculation for the hardware requirements of a Minecraft server, with the focus on memory and hard disk space. But what information does the developer actually provide about the recommended processor performance? And what are the requirements in terms of the operating system and other mandatory software? We have summarized the most important system requirements of the popular sandbox video game for you.

Operating system and other software

In order to be able to create your own Minecraft server, you first need the Minecraft server software. For this purpose, the developer Mojang provides you with a free setup that is only compatible with Minecraft: Java Edition. A current version of the Java runtime environment (JRE) is therefore also required.

On the other hand, you need an operating system to manage your server resources and install the Minecraft server software. In connection with the local home server, it has already been indicated that you can run your own Minecraft world on standard Microsoft user operating systems such as Windows 10 or Windows 8 – the installation under macOS (from 10.4) is also possible possible according to developer specifications. For an optimal setup, however, the classic server operating systems (Windows, UNIX / Linux) are recommended on a VPS:

  • Windows Server 2019 (older editions also possible)
  • Ubuntu
  • Debian
  • CentOS
  • openSUSE


It is required that you can use Java from the command line. This should be set up by default on macOS and Linux. In Windows, you often first have to enable the option via the PATH environment variable.

Computing power: CPU and memory

Processor performance and RAM play a major role in the performance of a gaming server. When putting together the hardware setup of your Minecraft server, you also have to make sure that you have enough computing power. How much CPU and RAM you actually need cannot be defined in such a general way, because there are a number of factors to consider:

For example, the decisive factor is how many players let off steam on your server and how they interact with the game world. While a player object on its own only requires around 50 to 100 MB of RAM, the server often has to allocate significantly more memory per player if:

  • different chunks (this is how the parts of a Minecraft world are called) can be visited
  • the movement through chunks takes place at a very fast pace (e.g. on a boat, by train or by gliding with Elytren)
  • the game world is enlarged

The latter automatically increases the requirements for the required CPU performance, which also depends on factors such as the number of redstone elements for the Minecraft electronics and mobs.


In this case, the “console version” means that you start and manage your Minecraft server via the terminal. If you are experienced in using the Linux command line, you can save computing resources in this way.

Hard disk space and broadband requirements

Of course, you also have to save the Minecraft server installation as well as user and game world data on your server. With regard to the capacities to be planned, the following guide values ​​can be roughly applied:

  • 1 to 2 players: at least 2 gigabytes of free storage space (5 GB with continuous backups)
  • 3 to 5 players: at least 18 gigabytes of free space
  • 6 players or more: at least 35 gigabytes of free space

However, capacity is not the only thing to look out for when it comes to storage devices. So you can rely on SSD storage for your server to speed up the start-up process. For a good and smooth gaming experience on the Minecraft server, classic HDD storage is in principle sufficient.

The required broadband capacities also result from the number of active players on the Minecraft server. As with memory, Minecraft is also very frugal here: The recommendations made by Mojang – from 5 Mbit / s for 1–2 players to 45 Mbit / s for 6 or more players – are not a problem if you have the hardware and rent the hosting for your Minecraft server. If you have your own server at home, you must of course keep an eye on the key figures and, if necessary, order a larger broadband package.

Rent a Minecraft server: which server is right for me?

The search for the right hardware base for your own Minecraft server is not just a question of the right provider: it is also important to filter out the right server model from the wide range of offers. You basically have the choice between

  • a vServer (Virtual Private Server),
  • a cloud server
  • and a dedicated server.

With the latter model, you can also choose whether you take over the administration of the dedicated hardware as root yourself or whether you use the managed solution, in which the web hosting company will take care of the installation and management of software (operating system, etc.) for you.

A dedicated server with specially assigned hardware in a data center is an excellent solution for hosting individual applications. This server model is therefore predestined as the basis for server applications such as a Minecraft server.

In order to create and operate a Minecraft server, the virtualized resources that you rent with a VPS are also ideal. Even if you do not receive any dedicated hardware components here, you are guaranteed the service you have booked at all times.

Rent a VPS and pay a fixed monthly fee, regardless of whether your Minecraft server is running or not. With continuous operation, however, you get away with it much more cost-effectively than with a dedicated or a cloud server.

Create a Minecraft Server on your VPS: Step-by-Step Instructions (Windows Server)

After you have decided on a suitable server, you can now create and set up your Minecraft server. Whether you choose Windows Server or a Linux distribution like Ubuntu or Debian as the system foundation is up to you.


The official Minecraft Wiki provides detailed instructions for creating a Minecraft server for all operating systems. The link is at the start of this article.

In the following instructions, we show an example of how you can get a Minecraft server running on Windows Server 2016.

Step 1: Establish a connection to the VPS server.

The first step is to establish a remote connection to your VPS server. If you have not yet set up access, you can do this directly via the control panel. To do this, first log in to the login page with your login data.

Select the “Server & Cloud” section in the menu and click on the server on which you want to install and host Minecraft in the list. Scroll down and press the download link next to the entry “Remote desktop connection”:

Either select “Open with” directly or open the file after the download with a double-click. In the subsequent dialog window click on “Connect” and select “Use another account” under “Additional options”. You can now enter the login data for your server – if you have not yet assigned a password, you will find the start password in the “Initial password” line.
Enter the login data for the Minecraft server.

The first time you connect to the server, you will see a warning about the security credentials. Simply click on “Yes” to continue. The remote connection to the server is then established.

Step 2: Install Java on your VPS.

The official server software for Minecraft to date is, as already mentioned, the Java edition, which is why you should now check your system for a current version of the runtime environment. To do this, download the Java Uninstall Tool and run the application after the download. If you click on “Agree”, the software will automatically check whether you have the latest version or whether you have installed Java at all.

If an update or installation is necessary, the uninstaller presents you with the message “Out-of-Date Java Versions Detected” or “No Java Versions Detected”. First remove the old Java version (if available) and then press the “Get Java” button.

The tool then automatically searches for the download link for the appropriate Java edition and you only have to confirm the download. The last step is to install Java using the downloaded file.

Step 3: Install Minecraft Server on your VPS.

Download the software for the server from the Minecraft website. Then create a new folder anywhere on your server system and run the downloaded JAR file there to start the installation.

Accept the end user license agreement by opening the text file eula.txt and replacing the entry “eula = false” with “eula = true” and saving the changes.

Click the server JAR file again and your Minecraft server will be created.

Step 4: release the port.

Your Minecraft server must be accessible via an open port for all potential players in the local network or the Internet. By default, Minecraft uses TCP port 25565 for this. To check this or to assign a different port, you can open the file with any text editor (e.g. WordPad) and check or adjust the number for the entry “server-port = …”.

Then it is necessary to release the respective port on your server. To do this, call up the control panel again, switch to the “Server & Cloud” area and first select “Network” and then “Firewall Policies” in the menu area on the left:

Click on the installed operating system and scroll to the menu area “Incoming” in the following menu. There you can already see some port entries that are open by default on the servers for external communication – for example port 80 for incoming and outgoing traffic from web servers. Enter the port 25565 or the port that you want to use for your Minecraft server in the input line. Leave the “Allowed IP” field blank, optionally you can also write a description for the released port. Finally click on “Add rule”:

Step 5: join the server

Your own Minecraft server is now ready to go. You can now invite owners of the Minecraft Java Edition to explore your multiplayer game world at any time. All you have to do is pass on the IP address of your server (you will also connect to this address when you set up the remote connection). If you no longer have the IP address of your Minecraft server at hand, you can find it out at any time in the Control Panel.

To connect to the server, players now start the Minecraft application and select the multiplayer area. After clicking on “Add server”, any server name and address can be entered. Another click on “Done” and your Minecraft server is available as a selectable server (“Join server”):

Step 6: Adjust the Minecraft server settings on your VPS.

As the server owner, you can make numerous settings for your Minecraft world. This is done primarily via the already known file. There you can specify the number of players (“max-players =”), change the level of difficulty (“difficulty =”), activate or deactivate PvP (“pvp =”) and make many other modifications. To do this, enter the desired number in the respective line or change the command to “true” or “false”.

I hope you enjoyed this article and were able to successfully install the Minecraft server on your VPS. Please don’t hesitate to use the comment area for questions or comments. Good luck!

Leave a Comment