Jordana A.

11min Learn

How to Make a Minecraft Server with Hostinger, Ubuntu, Windows, and macOS

Obtain Full Linux Commands Cheat Sheet

Minecraft is a well-liked sandbox-model adventure recreation with a large participant base. In 2020, the Java-based mostly game had approximately 131 million lively customers month-to-month and offered over 200 million copies worldwide.

Apart from offering versatile gameplay mechanics by way of completely different mods, Minecraft is also simple to study and promotes beneficial expertise, reminiscent of downside-fixing and resource administration. Furthermore, running a personal Minecraft server lets you create a customized world and play with mates.

The simplest strategy to arrange your personal Minecraft server is by buying a Minecraft internet hosting plan. This article will cover the steps to host a Minecraft server on Hostinger. We will specifically focus on the Minecraft Java Edition.

Moreover, we will clarify methods to make your own Minecraft server on different working techniques and keep away from common errors throughout the configuration process. Lastly, we'll answer a few of the most incessantly requested questions about internet hosting a Minecraft server.

Video Information on How to start out a Minecraft Server

How to easily Configure a Hostinger Minecraft Plan

How one can Setup Minecraft on a Server Operating Linux

How you can Setup Minecraft on Home windows

How to Make a Minecraft Server on macOS

Widespread Errors While Configuring a Minecraft ServerHow to repair “This Server Responded With An Invalid Server Key” Error?

How to fix “You Usually are not Whitelisted On This Server” Error?

How to repair “Connection Refused: Connect” Error?

How Do I Only Permit My Friends to Access My Server?

How Do I Protect My Minecraft Server Towards DDoS Assaults?

How A lot Does a Minecraft Server Value?

Can I Earn cash with a Minecraft Server?

Was this tutorial helpful?

Video Guide on How to start a Minecraft Server

Too busy to read? Watch the video to discover ways to run a Minecraft server as a substitute.

How to simply Configure a Hostinger Minecraft Plan

Purchasing Minecraft server hosting is a wonderful different for gamers who don’t have the required hardware resources to do it independently. The internet hosting provider will streamline the setup process and manage the server in exchange for a month-to-month charge.

The next tutorial will cowl the steps to configure a Minecraft server with Hostinger, from selecting the perfect internet hosting plan to organising the game panel.

Step 1. Select a Minecraft Hosting Plan

Hostinger offers seven Minecraft server hosting plans ranging between $6.95 and $77.99/month. All VPS hosting plans come with the game Panel, one-click on Minecraft mod installer, DDoS safety, and automated off-site backups.

We also assist major Minecraft server software modifications comparable to CraftBukkit, Spigot, and Paper. With full root access, you can set up .jar recordsdata of any modpack without any restrictions.

As each hosting plan allocates a special number of sources, be sure to contemplate your needs when selecting one. For instance, your RAM usage will significantly depend on the number of gamers and mods added to the server.

Minecraft Wiki recommends getting 1GB of RAM to help 1-4 players. If you happen to plan to make use of useful resource-intensive mods, you’ll need extra reminiscence.

As our hosting is highly scalable, you can pick any Minecraft server hosting plan to begin with and improve it later in just a few clicks. Server upgrades and downgrades will probably be done in actual-time, preventing knowledge loss.

Step 2. Setup Your Minecraft Server

After making the acquisition, log in to your Hostinger account to begin the Minecraft server setup course of. Here’s how to do it:

1. The newly bought Minecraft server will seem beneath the Setup part. Click on on the Setup button next to it.

2. Observe the directions to complete the setup course of. It is going to embody deciding the server name and root password.

3. Your Minecraft server will likely be accessible from the VPS section of your hosting account homepage. Choose Manage to enter the Server Management area.

1. Run the server by clicking Start within the Server Standing part. Once the server standing has modified from Stopped to Running, you may handle the server.

Step 3. Configure Your Minecraft Game Panel

All Hostinger Minecraft plans come with the sport Panel management panel to run the sport trouble-free. Listed here are the steps to set up the management panel and access its dashboard:

1. Navigate to the Server Administration section of your internet hosting account and scroll down to Other Settings. Ensure that the operating system is Debian 10 with Game Panel. If it’s not, change it and click Save changes.

1. Scroll up to the Notes section below Server Status. There, you will discover the login particulars to the sport Panel’s dashboard.

1. Click on on the Login Details button within the Template Details section. Click the Login URL to open the login page.

1. Enter the login details you obtained from the Server Administration tab. If the process is successful, you will see the game Panel’s dashboard.

Congratulations, your Minecraft server is now up and working. You can begin enjoying different Minecraft variations and mods after creating an occasion.

How you can Setup Minecraft on a Server Operating Linux

This section will present you how to create a Minecraft server on a machine operating on Ubuntu or CentOS. The minimal operating system necessities are Ubuntu 16.04 or CentOS 7.

Needless to say this setup course of also requires root SSH entry to the server. Hostinger customers can discover the login credentials within the Server Administration space of the internet hosting account.

Step 1. Install Java, Display, and wget

Linux Display is a terminal software that enables customers to make use of a remote terminal from a number of locations over SSH. It maintains your work session in case there are community points that may disrupt the connection.

First, hook up with your server by way of SSH (PuTTY for Windows customers). Open the constructed-in terminal shell and enter the following command:

Vital! Don’t overlook to change both values along with your actual username and server IP handle. When prompted, enter your username and password.

Proceed to the following steps based mostly on the server’s working system.


Obtaining the latest Java version for Ubuntu requires a GNU Privacy Guard (GPG) key and including a brand new repository. Obtain and set up the newest model of Java, Screen, and wget by executing the following commands in your command line terminal:


Run the following commands to put in the latest model of Java and different required software packages:

Step 2. Configure the Minecraft Server

After installing Java, Display screen, and wget, you can arrange the Minecraft server by following these steps:

1. Create a new folder to store all of your Minecraft configuration files by running this command:

1. Transfer to the newly created Minecraft server folder by getting into:

1. Use wget command to download the Minecraft server properties file:

1. Run the Minecraft server properties file by getting into the command beneath. If you want to use the graphical user interface, omit nogui.

1. The server program will create a EULA file. To just accept Minecraft’s EULA, open the eula.txt file with the Nano textual content editor by getting into:

Modify the eula worth from false to true and save the adjustments.

1. Activate Screen so the server can run in the background. Be happy to alter the server title based mostly on your preference.

Vital! As of writing this tutorial, the newest Minecraft server version is 1.18. Be certain to use the proper version quantity in your commands by cross-checking it towards the official Minecraft web site.

Step 3. Run Your Minecraft Server

Run the Minecraft Java version server once again by coming into this command:

The server requires not less than 1024MB (1 GB) of RAM to run. That’s why we’ve entered 1024M after -Xmx and -Xms. You may allocate extra RAM by altering the value to 2048M or more in case your server has it.

The server will probably be working within the background. To go away Display screen, press CTRL + A, then D.

You'll be able to re-open the Display screen window by typing this command:

Should you need to change the server settings, open the server properties file with Nano:

That said, we recommend sticking with the default configuration to forestall any issues.

Learn how to Setup Minecraft on Windows

Should you don’t need to arrange a remote Minecraft server, you can achieve this regionally in your computer. The strategy of organising a dedicated Minecraft server will rely on your working system. It may be finished if your pc meets the hardware and system requirements.

The next steps will information you through organising a Minecraft server on Windows:

1. minecraft server list by pressing Win + R and getting into cmd. Then, examine the version of Java put in on your computer using the following command:

1. Minecraft and its servers require Java SE Growth Equipment 17.0.1 or increased. You probably have it, proceed to the following step. Otherwise, download the Java installer from an official source.

2. Download the Minecraft Java edition server software (.jar file) from the official Minecraft web page.

Vital! A warning message might pop up whenever you obtain the server .jar file. That is normal and secure so long as you’ve obtained the file from a credible source.

1. Create a brand new Minecraft server folder and transfer the .jar file there.

2. Double-click on the file to generate the top Consumer License Settlement (eula.txt) inside the identical folder.

3. Open eula.txt using a textual content editor like Notepad and change the eula value from false to true. All Minecraft servers require customers to comply with the Minecraft EULA earlier than working the sport.

4. In that same folder, create a new textual content doc (example: newdoc.txt)

5. Open the brand new text file in text editor and paste within the script to run Minecraft. In this case, -Xms256M and -Xmx1G are the minimal and most RAM of your server, allocated for the game.

1. From the textual content editor, select Save As and alter the file name to run.bat. Make certain to keep the type as All types.

2. Run the server by double-clicking the run.bat Minecraft file. You might want to allow this system to connect to the web by way of the firewall.

Should you don’t need to create a Minecraft server bat file or cannot do it, you possibly can still run your server manually - open the command prompt and navigate to the devoted Minecraft folder. For example:

Then, run the command manually to execute the server .jar file:

In that same folder, you’ll discover the file - open it with textual content editor to regulate your server settings, comparable to default Minecraft port, game mode, most amount of players and more.

How to Make a Minecraft Server on macOS

Organising a Minecraft server on macOS additionally includes installing the most recent model of Java. Here’s how you can do it:

1. Newer releases of macOS embody Java by default. Double-check the version by getting into this command on your terminal:

1. If it’s not available, you could obtain and install a legacy version of Java from Apple’s website.

2. Create a devoted folder on your Minecraft server. Then, download the Minecraft server setup file and put it in that folder.

3. Open TextEdit and set the format to plain textual content (Format -> Make Plain Text). Paste the next line:

1. Save this file as startmc.command in the same directory the place the Minecraft server file is.

2. The startmc.command file requires the execute permission to work. To grant it, open the terminal and navigate to your Minecraft folder. For instance:

1. Grant the required permission utilizing chmod command:

1. If the method is profitable, double-clicking on the startmc.command file will start the server in a brand new terminal window.

Pro Tip

A missing file or listing warning may appear. This is completely regular once you run a Minecraft server for the primary time.

Frequent Errors Whereas Configuring a Minecraft Server

Configuration and web connection points might stop you from accessing the Minecraft server. Here are a few of the most common server errors and how to repair them to permit you and your friends to join in the sport.

How to repair “This Server Responded With An Invalid Server Key” Error?

This Server Responded With An Invalid Server Key error signifies that the server or the Minecraft launcher is likely to be outdated.

If it’s your server, attempt accessing the localhost or the server address. Alternatively, restart the client and see if that solves the issue.

As this error commonly occurs to Minecraft servers started through a .exe file, we suggest organising the server using the .jar file obtain instead.

How to repair “You Will not be Whitelisted On This Server” Error?

A whitelist consists of the list of gamers which have access to the server. Even if somebody has the server’s IP tackle, they won’t be able to affix the server in the event that they aren’t whitelisted.

Encountering the You are not Whitelisted On This Server error implies that the server operator hasn’t whitelisted the player’s username. The simplest way to resolve this error would be to add the player to the whitelist.

First, activate the whitelist by running the following command on the server console:

If you need to add your pal to the server, use the following command. Make sure to substitute playername with their username.

Here’s the command to see the checklist of players on the whitelist:

In order for you to use these commands in-recreation, begin every of them with a slash image. For example, /whitelist add [playername].

How to fix “Connection Refused: Connect” Error?

The Connection Refused: Join error message is triggered when a server drops or cancels a connection request. Some of the most typical causes include a nasty community connection, an incorrect Minecraft launcher model, and firewall issues.

Here’s what you can do to fix this error:

Strive becoming a member of the server by way of a distinct web connection. There could be a connectivity issue in your end. If that doesn’t assist, there’s a problem with the server itself.

Add Minecraft and the sport launcher to the record of firewall exceptions. If the error persists, enable the Java binary (javaw.exe) to bypass the firewall as effectively.

Reinstall your client and restart the server. Do this if you don't have any issues connecting to other servers.

Enhance Your Minecraft Server Further

Now that you’ve set up your own Minecraft server, all that’s left to do is manage and enhance the server.

Listed here are some things you must consider to take your Minecraft server to the next level:

Port forwarding - forwarding a port for your server permits users exterior of your community to affix the sport you’re internet hosting.

Minecraft mod set up - there are plenty of Minecraft mods you can install on your server to reinforce the gameplay expertise. Some are aimed at efficiency optimization, while others introduce new mobs, gameplay mechanics, and extra.


Minecraft is a sandbox sport that has been well-liked amongst users of all ages for the last decade. Its fundamental draw is the liberty to explore, construct whatever you want, and alter the gameplay.

Making your individual Minecraft server will allow you to attract a community and facilitate custom multiplayer gaming experiences. Loads of gamers have even turned their servers into sources of revenue.

There are plenty of Minecraft hosting services out there in the marketplace that will help you arrange a server to play with others. That mentioned, if your laptop is highly effective sufficient, you can run a Minecraft server regionally.

We hope this text has helped you understand find out how to make and the right way to run a Minecraft server. When you've got any questions or suggestions, leave them within the feedback part below.

Minecraft Server FAQ

This section will reply a few of the most common questions players have about Minecraft server hosting and maintenance.

How Do I Solely Allow My Mates to Access My Server?

Whereas port forwarding is important for creating a multiplayer server, it also makes your server public. That means anybody with the external IP handle of your server hardware can be a part of the server.

Organising a whitelist in your Minecraft server is the simplest option to manage participant entry to it. Alternatively, you can select not to port forward the default Minecraft port and only share the server IP deal with with pals in private. This way, only players with the IP handle will probably be able to affix the server.

How Do I Protect My Minecraft Server Against DDoS Assaults?

A distributed denial-of-service (DDoS) attack is a type of cyberattack aimed to crash a server by overloading it with giant volumes of faux site visitors. The perpetrator may achieve this to shut down the server’s activity and extract players’ private info.

We recommend selecting a web host that provides DDoS safety to mitigate DDoS risks. Here at Hostinger, we embrace this safety measure with all Minecraft plans by default.
Another method to guard your Minecraft server involves getting a DDoS safety service from a third-get together firm like Cloudflare. That said, you’ll must pay further for it.

How Much Does a Minecraft Server Cost?

The associated fee of constructing a Minecraft server varies relying on whether or not you run it regionally or by an online host.

Minecraft hosting providers like Hostinger, Nodecraft, and Apex Internet hosting supply their providers for $2.50-$10/month. Most internet hosting plans often come with a modpack installer, plugin assist, security measures, and customer assist - a straightforward and value-effective resolution for freshmen and non-technical customers.

The internet hosting plan you’ll want will rely on the number of players you wish to assist and what number of mods you install. The common cost of internet hosting a server for 20 players is $15/month. Be prepared to spend more for a excessive-tier plan if you want to host numerous gamers and set up many mods.

Free Minecraft server hosting options are available should you need to save cash. Nonetheless, they are likely to come with limited RAM and bare minimum features.

For example, the Server.professional free plan only allocates 1GB of RAM and helps ten players and ten plugins. It also features advertisements and doesn’t have important features like the game firewall and backups. Subsequently, we advise against utilizing free Minecraft server hosting providers.

Self-internet hosting your own Minecraft server could also be extra value-efficient if you already have a computer that meets the minimal necessities. Nonetheless, keep in mind that your efficiency might undergo in case you begin other programs while the server is working.

Be sure that your machine has enough RAM - the minimum RAM requirement is 100MB-300MB/user. Minecraft versions 1.14 and higher also are usually memory-intensive. Not having sufficient memory will result in the server crashing.

Price range-aside, hosting a devoted server locally requires advanced technical information. You’ll have to take care of the server’s useful resource usage and safety. Moreover, obtainable help might be limited to the official Minecraft website’s data base and the neighborhood forum.

Can I Generate profits with a Minecraft Server?

Mojang Studios, the developer of Minecraft, permits you to monetize the server so long as you don’t violate its business usage tips.

Some of the most typical monetization methods include charging for entry to the game server, promoting cosmetics, asking for donations, and providing sponsorships for third events.

Players who aren’t digicam-shy might record or stream and monetize their gameplay on YouTube and Twitch. In 2020, the top five Minecraft gamers made over $8,000,000/yr from ads, sponsorships, and tournaments.
After you have made a reputation for your self, different forms of monetization like promoting merchandise and affiliate marketing online will change into available to you.

Remember the fact that Mojang Studios forbid selling in-recreation advantages for real cash. These embrace in-sport commands, items, and plugin performance.

Jordana Alexandrea

Jordana is a Digital Content material Writer at Hostinger. Together with her Data System and website growth information, she goals to assist aspiring builders and enterpreneurs construct their technical abilities. Throughout her free time, she travels and dabbles in freestyle writing.

Created: 07/07/2022 18:35:30
Page views: 15