How To Make a Minecraft Server?

Here’s a tutorial that will show you how to make a Minecraft server in 2022- complete with information on how to host the server for free. Furthermore, we provide step-by-step instructions for setting up multiplayer games that you can play with your friends and family in addition to providing guidance on how to set up free Minecraft server hosting. Globally, Minecraft has been downloaded over 100 million times. In multiplayer worlds, kids and adults alike are mining, creating, and Minecrafting together online. When players build together, they build social skills, improve problem-solving skills, and exercise their creativity. I am amazed by the number of educational benefits that Minecraft provides.

How To Make a Minecraft Server

You won’t be able to control who connects to the public servers and, therefore, who your child interacts with online on a public server. Players can collaborate to build bigger and better things than they could have done alone. That’s great! You will be able to see who is connecting to and playing in your children’s worlds when you set up your own server. Download our Minecraft server setup instructions to help you set up your own server for your students. In order to create these, students used iD Game Plan, a learning management system. Java is the language we use to teach Minecraft Modding to tens of thousands of students every year. Have a blast!

Table of Contents

What is a Minecraft server?

It makes Minecraft a more worthwhile and enjoyable game when played in multiplayer mode, thereby enhancing the experience a great deal. It is no secret that Minecraft is a great game for helping you develop teamwork skills. Any player can create a Minecraft server to host a multiplayer experience, allowing other players to join and play together. To control who can access a server, IP addresses and usernames can be restricted, as well as commands and settings, such as rules, enabling PvP, and limiting the number of players. The hardware that Minecraft servers run on is an expense, of course – and if you’re planning to host your server, there will be a fee for renting the hardware.

Top Minecraft server hosting deals

1. Hostinger

In addition to providing web hosting solutions for the perfect website, Hostinger specializes in Minecraft server hosting with plans that were specifically designed to optimize Minecraft’s performance from the ground up. We offer Minecraft Virtual Private Servers (VPS) for an affordable monthly fee of $8.95, saving you time and money. Plans are available with 2GB to 8GB memory for Minecraft hosting, dual CPUs, DDoS protection, full support, free MySQL, as well as a mobile app – and each is guaranteed to be up and running 99.9% of the time. Hosting allows you to manage your VPS with just a few clicks, prioritizes data security and privacy, and even offers money-back guarantees.

With instant setup, you can get your server ready in seconds after registering and paying for an account. It’s not just the setup that makes Hostinger convenient and time-saving, as backing up your files is as easy as clicking a button, and mod packs and plugins are easy to install from within the control panel. As well as providing handy online tutorials, the company’s support team is happy to answer any questions you may have regarding the process of setting up your Minecraft server. The company provides Minecraft hosting servers in five countries, namely the United States, UK, Netherlands, Singapore, and Lithuania.

2. Shockbyte

Aside from Minecraft, Shockbyte also hosts servers for Rust, Ark: Survival Evolved, Arma 3, and Hytale, all of which are games players can play. With server rentals starting at just $9.99, Shockbyte offers 24/7 customer support to its customers across three continents. In addition to an automated system for instant setup, 100% DDoS protection, and 100% uptime, the company’s Minecraft server hosting plan includes a free subdomain. Starting at $2.50, RAM options range from 1GB to 16GB. As one of the most recognized Minecraft hosting providers, Shockbyte offers powerful hardware, plus support for Java Edition and Bedrock Edition in all Minecraft server releases, such as Spigot, CraftBukkit, Forge, Sponge, BungeeCord, Vanilla, and Snapshots. These plans are aptly named for the high-performance levels, including 10GB, 12GB, and 16GB RAM, as well as unlimited slots, offered by Shockbyte’s premium subscription tiers. Having no downtime means a smooth multiplayer gaming experience. Alternatively, if none of Shockbyte’s plans suit your specific gaming needs, you can customize a plan to meet your needs.

3. Apex Hosting

Is it tempting to be able to install and play your mod pack of choice in just a few clicks? Minecraft hosting is made easy by Apex Hosting, which offers plugins, mods, and even mini-games and maps. You will also be able to choose from 16 different server locations with Apex Hosting, including the United States, United Kingdom, Canada, Brazil, Poland, France, Germany, Russia, Israel, Australia, China, and Singapore. By offering a variety of server location options, latency is kept as low as possible. Minecraft enthusiasts prefer Apex because of the complete server control it provides, along with high-quality support, fast connections, and tons of server versions options. Automated backups are another feature that makes Apex Hosting a popular choice for the safety of your files. Apex Hosting has earned quite a reputation as a provider of lag-free servers. Aside from being fully protected, these servers offer a simple, easy-to-navigate control panel, quality technical support, and even video tutorials for novices (if you get stuck).

4. Bisect Hosting

Due to the founders’ first-hand experience as present and past server owners, Bisect Hosting has received rave reviews for its dedication to making Minecraft server hosting as easy and low-cost as possible. Bisect’s unlimited slots won’t let you down, whether you have a small or large multiplayer community. There are many options available at Bisected Hosting in terms of Minecraft server hosting, with budget and premium packages available, starting at $7.99 per month for 1GB of RAM up to 32GB of RAM. Bisect Hosting offers easy setup, unlimited slots as part of their premium packages, free MySQL, free subdomains, mod pack updates, as well as many other features that help make it appealing as a provider. Budget and premium package options give you the flexibility to pick the features that suit your needs, and 24/7 customer support is available if you need it. There are eight server locations spread around the world, so you have good options for ensuring low latency. In addition to US servers located in California, Florida, Texas, Oregon, and New York, there are also servers located in the UK, France, Poland, Brazil, Germany, Russia, and Canada. It’s also worth mentioning that your server will be protected against DDoS attacks for free.

5. ScalaCube

ScalaCube offers affordable yet reliable Minecraft server hosting that offers 768MB RAM and supports up to 10 players for just $2.50 for the first month and $5 from then on. You can use it to install any mod pack you wish, and you can even create your own Minecraft launcher using a custom Forge server. In just a few clicks, you can configure your server’s settings – a convenient feature you can’t get anywhere else. ScalaCube also boasts a well-designed, easy-to-navigate interface, excellent support, and lag-free service. Furthermore, ScalaCube helps you use BungeeCord and modpacks, as well as provides full file access, free MySQL, backups, a website/forum, and more. Moreover, this provider is an excellent value for money. To optimize your gaming experience, our servers offer a 99.9% uptime guarantee, as well as unlimited slots within servers. The fact that there are servers throughout the US, UK, Europe, Asia, and Australia helps as well. The Minecraft game server offered by ScalaCube includes Forge, Snapshot, ATLauncher, FTB, Void’s Wrath, Cauldron, Bukkit, PaperMC, Spigot, and many others.

PC Setup Instructions:

1. Verifying the Latest Version of Java 

We recommend you make sure you have the latest Java version installed because Minecraft is a Java-based game. Download Java here if you do not have it.

Need Help Troubleshooting? 

Refer to the Wiki article on setting up a Minecraft online server. It is important to note that some server-related issues require you to adjust certain computer settings. You could damage your computer if this is not handled correctly.

2. Minecraft_Server.jar 

Your first step will be to download the server files.

  1. Get the minecraft_server.1.11.jar file from the Minecraft Server Downloads page.
  2. As soon as the download is complete, copy minecraft_server.1.11.jar into a new folder on your desktop and call it “Minecraft Server”.
  3. Run minecraft_server.1.11.jar by double-clicking it.

The folder will also include some new files.

3. Version of Minecraft

You can still follow the directions above if Minecraft updates to a new version, but you will need to replace the “1.11” with whatever the new version is!

4. Batch File to Run Server 

  1. Select the Minecraft_Server.1.11.jar by right-clicking inside the Server folder.
  2. From the New menu, select Text Document.
  3. Change the name of the document to “Run”.
  4. Paste the following line inside the Notepad document: 1 cmd /k java ‐Xms1G ‐Xmx1G ‐jar minecraft_server.1.11.jar

Using the Save As an option, you will be able to create a batch file that Windows uses to run command-line commands.

  1. From the File menu, select Save As.
  2. Select All Files in the Save as Type field.
  3. Specify “Run.bat” as the file name.

5. Agreeing to the EULA

Before launching a Minecraft server, you must agree to the license agreement provided by Mojang. To indicate your agreement, you will need to edit eula.txt.

  1. Open eula.txt by double-clicking.
  2. You need to change eula=false to eula=true.

6. Launching Your Server

Now that your server has been built, you’re ready to launch it!

Run.bat will be launched when you double-click it.

You will see some information about your server in a window. Your server will run as long as you leave this window open. Players can connect as long as you do!

7. The Server Window

You can keep track of what’s going on even if you are not in-game because your server provides some information.

  1. In the Stats panel, you can view how much memory is being consumed by the server.
  2. The Players panel allows you to see who is connected to the server at the moment.
  3. In the Log and Chat panel, you will find server messages and player chats.
  4. Server commands can be entered in the bottom-right field.

Server Commands

Advanced users can control their servers through server commands. Here are all the available commands.

8. Joining Your Server 

Your Minecraft server is now ready for you to join.

  1. Install and run Minecraft.
  2. Click Multiplayer in the main menu.
  3. Click the Add Server button.
  4. Fill out the Server Name field with your server name.
  5. Fill out the Server Address field with “localhost”.
  6. Click the Done button.
  7. Click Join Server after selecting your server.

Playing on your home server should now be possible. In the next step, we will connect the server to the internet, so that others can play.

9. Port Forwarding

In order to allow other users to access your computer, you have to adjust your router’s settings. You will experience this process differently based on the type of router you are using.

  1. Take a look at this page on portforward.com to learn some basic information about port forwarding.
  2. You can find port forwarding guides at this link.
  3. You can choose the make and model of your router from the list and follow the instructions.

Is Your Router Not on the List?

There are a couple of things you can try if your router isn’t listed on that site:

The closest number to your model can be found by following the directions for your manufacturer but not the model itself. Many of the methods are the same.

Go to the web and type in your router’s model and “port forwarding”.

You can ask your router’s customer support about forwarding ports.

10. Finding Your External IP Address

To find your external IP address, you’ll need to forward your ports.

  1. Access Google.com by opening a browser
  2. In the search bar, type “external IP” and press Enter or Return.
  3. Google will display the external IP address of your computer.

You will either have an IPv4 or IPv6 external IP address. Below are examples of IPv4 or IPv6 external addresses:

12.34.456.789 is an example of an IPv4 address

The following is an IPv6 address sample: 2001:0db8:0a0b:12f0:0000:0000:0000:0001

You’ll need this number for other people to connect to your server if you find your external IP address.

11. Connecting to Your Server 

You can now connect to external IP addresses using your port-forwarded connection. Here are the steps to add players to your server:

  1. Click Multiplayer on the Minecraft menu.
  2. Then click the Add Server button.
  3. Type the name of the server.
  4. Type the address of the server.

The address in the image on the right represents your external IP address followed by port number 25565.

In the case of a IPv6 address, attach the characters [ ] as in the following example: [2001:0db8:0a0b:12f0:0000:0000:0000:0001]:25565

  1. Press the Done button. This will connect Minecraft to the server. To join the server, select the one you wish to play.

Inviting Players to Join 

Players will be able to play on your Minecraft server if you give them your external IP address. If you invite anyone, be sure that they are trustworthy. Having friends over is the best option. Make sure your parents know you are inviting new players.

12. Server. Properties File 

A file called Server. properties are also in the Server folder, where you can adjust some game settings.

You can edit the lines of the file with any text editor to change the properties of your Minecraft world.

You might change the following properties most commonly:

To put your server in creative mode, change gamemode=0 to gamemode=1.

If max*players=20, you can change it to increase or decrease the number of people who can join your server at once.

On the Minecraft Wiki, you can find a reference to all the options available.

Editing Server Properties

To make your server work, you won’t need to change anything in this file. Make sure you understand the changes you’re making before you make them.

Make a Minecraft server on your Mac

1. Make sure you have Java installed.

Java is included by default in the latest versions of macOS. Apple’s website suggests downloading the legacy version of Java if you are using an older version of macOS (OS X).

2. Choose a location for your Minecraft server files.

To store Minecraft server files, create a folder on your computer. The folder could be created on your desktop, for instance, but the choice is yours.

3. Download the Minecraft server software.

From the Minecraft website, download the server software. It is in a Java .jar format. Store it in the directory you selected previously.

TextEdit should be open. Select plain text as the format. The following should be entered:

#!/bin/bash

Cd “$(dirname “$0″)”

Execute the following commands: java -Xms1G -Xmx1G -jar {server file name} nogui

You must replace [server file name] with the actual file name of the server.

The file should be saved as the start. Command in the same directory as the server’s .jar file.

Start the Terminal and allow the start. Command file to be run by granting permissions. With a space after chmod a+x, type that command. Dragging and dropping the start. command file into the terminal should do the trick. Click the Enter key.

4. Enable port forwarding on your router.

Note: Port forwarding can be a security risk.

You do not need port forwarding if you are only running a local server. Here you should, however, enable port forwarding on your router if you wish to make your server available to the entire world. You can find tutorials to learn more about port forwarding.

You can find specific instructions for configuring port forwarding for your device in the documentation of your router. If you want to play Minecraft, you must forward TCP port 25565.

Additionally, you’ll need to enter the local IP address of your server as the Output IP or Server IP. By doing so, the router knows where to point. Enter if config in the Terminal to discover your server’s local IP.

5. Start the Minecraft server.

The file “start. command” you created in Step 3 should now appear. Click on it twice. You should now be in a Terminal window. The first time you run the server, you will probably see an error message. Nothing to worry about.

Your server will be available to others after it’s been started. They can connect to your server via your local IP address if they’re on your home network, or via your external/public IP address if they aren’t.

Connecting to your server is as simple as following these steps.

Make a Minecraft server on a Linux host

It’s possible to set up a Minecraft server using a Linux hosting plan instead if you don’t want to host it at home. Moreover, you don’t have to deal with any hardware management, plus your home network is protected from prying eyes. If you’re experimenting or don’t expect many players on your server, a Linux VPS hosting plan from GoDaddy is a lightweight option. When you expect many players, however, you might want to consider a dedicated Linux server instead. You will need SSH access to your hosting in order to complete these steps. Please refer to this Help article for additional information if you are not familiar with the process.

1. Install Java.

Enter the following command while SSH’d into your host as the root user:

Apt-cache search OpenJDK

Here you can find a list of the OpenJDK packages you can install Java with. We will use OpenJDK-7-JDK for this example, which is the OpenJDK 7 Development Kit.

Check the remote repositories for new packages:

Apt-get update

After you have selected a software package, install it as follows:

Apt-get install openjdk-7-jdk

When prompted, click “Y” to authorize the installation of the required storage space. When the installation has been completed, make sure Java was successfully installed as follows:

Java -version

It should show you which version of Java is currently installed.

2. Create a location for your Minecraft server files.

Make a directory that will be used to save the Minecraft server files on your host, then change into it.

Create the Minecraft directory

Minecraft CD

3. Download the Minecraft server files.

You can download the Minecraft servers from the Minecraft directory by running the wget command:

wget -O minecraft_server.jar https://s3.amazonaws.com/Minecraft.Download/versions/1.12.2/minecraft_server.1.12.2.jar

If you can’t find the latest version of Minecraft on the download page, double-check the URL.

Now that we’ve installed and run “screen”, your server will continue to run even when you aren’t connected:

Screenshot of the yum install command

Observe

4. Start your Minecraft server.

Java -Xmx512M -Xms512M -jar minecraft_server.jar nogui

(Tip: You can change the -Xmx and -Xms settings on your Minecraft server to increase the allocated memory. For example, you could enter -Xmx1G -Xmx1G to increase the memory to 1GB. The amount of RAM available will depend on your hosting plan.)

Stop your server with the following command to ensure everything is working correctly:

I’m stopping

You should then edit the “server. properties” file and set it as follows:

Query-enabled=true

Your server should be restarted after saving the “server. properties” file. To find out if your server is publicly accessible, enter your IP address into the Minecraft Server Status Checker.

5. Point a domain at your Minecraft server.

Players will find it easier to connect to your Minecraft server if you provide them with an easy-to-remember domain name instead of a complicated IP address.

It’s super easy: update your domain’s DNS records by adding an “A” record for your domain, or for a subdomain, that points to your Minecraft server’s IP address via an “A” record for your domain (using @ as the hostname).

DNS changes can take up to *24 hours to be globally effective.

Take a look at this Help article on how to add an A record if you don’t know how to change DNS records.

How to Easily Configure a Hostinger Minecraft Plan

For players who lack the hardware resources to run their own Minecraft servers, Minecraft server hosting is an excellent alternative. The hosting provider manages the server and simplifies the setup process in exchange for a monthly fee.

From choosing the best hosting plan to setting up the game panel, this tutorial walks you through the steps to configure a Minecraft server with Hostinger.

Choose a Minecraft Hosting Plan

There are seven Minecraft server hosting plans offered by Hostinger, ranging from $6.95 to $77.99 monthly. In addition to game panels, one-click Minecraft mod installs, and DDoS protection, all VPS hosting plans come with automatic off-site backups.

Besides the main Minecraft server software, we also support major modifications including CraftBukkit, Spigot, and Paper. With root access, any mod pack’s .jar files can be installed without restrictions.

Consider your needs when choosing a hosting plan. Each plan allocates a different amount of resources. RAM consumption will be greatly impacted by the number of players and mods added to the server, for example.

According to the Minecraft Wiki, 1GB of RAM should be sufficient for 1-4 players. More memory is needed if you intend to use mods that consume a lot of resources.

Choosing a Minecraft server hosting plan from our highly scalable list of options will allow you to start with the cheapest plan and upgrade later. Data will not be lost during server upgrades or downgrades since they will take place in real-time.

Setup Your Minecraft Server

You can begin setting up your Minecraft server after making the purchase by logging into the Hostinger account. The steps are as follows:

Under the Setup section, you will find your newly purchased Minecraft server. Click on the Setup button adjacent to it to get started.

Once the setup process has been completed, follow the instructions. Among the steps is setting the name and password for the server.

From your hosting account homepage, you can access your Minecraft server in the VPS section. The Server Management section can be found by clicking Manage.

In the Status section of the Server, click Start to start the server. The server can now be managed once its status has been changed from Stopped to Running.

Configure Your Minecraft Game Panel

Minecraft is supported on all Hostinger plans through the Game Panel control panel. You can access the control panel’s dashboard by following these steps:

Scroll down to Other Settings under the Server Management section of your hosting account. Select Debian 10 with Game Panel as the operating system. Change it, if necessary, and click Save.

Under Server Status, click the Notes link. In the Game Panel’s dashboard, you’ll find login information.

In the Template Details section, click the Login Details button. A login page will appear when you click the Login URL.

From the Server Management tab, enter your login information. You will see the dashboard of the Game Panel if the process has been successful.

You have now successfully set up your Minecraft server. After creating an instance, you can start playing various versions and mods.

Common Errors While Configuring a Minecraft Server

The Minecraft server may not be reachable due to configuration or internet connection issues. The best ways to fix these errors are given below.

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

An invalid server key was returned by this server indicates that the server or Minecraft launcher is out of date.

Access the local host or server address if it is your server. Consider restarting the client and seeing if that fixes the issue.

We recommend downloading the .jar file to set up the server instead of using a .exe because this error occurs frequently when Minecraft servers are started via a .exe file.

How to Fix “You Are Not Whitelisted On This Server” Error?

Whitelists contain a list of players who are allowed access to the server. Regardless of whether someone is whitelisted or not, they cannot connect to a server with its IP address.

You Are Not Whitelisted On This Server means the username of the player has not been whitelisted by the server operator. It would be easiest to add the player to the whitelist in order to resolve this error.

Start by activating the whitelist on the server console by entering the command below:

whitelist on

Adding your friend to the server is as simple as typing the following command. You must replace the player name with the user name they provided.

Whitelist add [playername]

You can view the whitelist of players with the following command:

List of whitelisted sites

Pro-Tip

You can use the following commands in-game by beginning each of them with a slash. You can use /whitelist add [playername] for example.

How to Fix “Connection Refused: Connect” Error?

Whenever a server cancels or drops a connection request, a Connection Refused: Connect error message is generated. In addition to bad network connections, incorrect Minecraft launcher versions, and firewall issues are some of the most common causes of this error.

You can fix this error by following these steps:

Use a different internet connection to join the server. Connectivity issues may exist on your end. There might be a problem with the server itself if that doesn’t work.

Make sure the game launcher and Minecraft are excluded from your firewall. To resolve this error, bypass the firewall as well as the Java executable (javaw.exe).

The client should be reinstalled and the server restarted. Only if you are not experiencing connectivity issues should you do this.

Enhance Your Minecraft Server Further

It’s time to manage and improve your own Minecraft server now that you’ve set it up.

For a Minecraft server that’s ready for the next level, consider these things:

You can allow users outside your network to join the game you host by forwarding a port for your server.

Minecraft mod installation ‒ If you would like to enhance your gameplay experience, you can install a variety of mods on your server. Other changes include new gameplay mechanics, new mobs, and performance optimizations.

Frequently Asked Questions

Players have many questions about how to host and maintain Minecraft servers. In this section, we’ll address a few of the most common questions.

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

A multiplayer server cannot be created without port forwarding, but it does make your server publicly accessible. That means the server can be accessed by anyone with the external IP address of your server hardware.

You can manage access to your Minecraft server easily by adding players to a whitelist. Instead of forwarding the default port, you can share the server IP address with your friends only in private. The only players who can join the server will have this IP address.

How Do I Protect My Minecraft Server Against DDoS Attacks?

DDoS attacks are cyberattacks that overload servers with a large amount of fake traffic so as to shut them down. This could be done to shut down the activity on the server and obtain players’ personal information.

To lower DDoS risks, it is recommended that you choose a web host that offers DDoS protection. With all Minecraft plans at Hostinger, this security measure is included by default.

Getting DDoS protection from a third-party company like Cloudflare is another way to protect your Minecraft server. It does, however, come at an additional cost.

How Much Does a Minecraft Server Cost?

Whether you run a Minecraft server locally or through a web host will affect how much it costs.

The prices of Minecraft hosting services like Hostinger, Nodecraft, and Apex Hosting range from $2.50 to $10 per month. Modpack installers and plugin support are usually included with most hosting plans, as well as security measures and customer support, making them a simple and easy solution for beginners and non-technical users.

You will need a hosting plan depending on how many players you plan to support and how many mods you intend to install. A server that hosts 20 players costs an average of $15/month. When hosting a large number of players and installing many mods, a high-tier plan may cost more.

Can I Make Money with a Minecraft Server?

If you don’t violate its commercial use guidelines, Mojang Studios, the developer of Minecraft, allows you to monetize the server.

There are several ways to monetize game servers: charging for access, selling cosmetics, soliciting donations, and sponsoring third parties.

You can monetize your gameplay on YouTube and Twitch if you are not camera shy. Among the top five Minecraft players in 2020, ad revenue, sponsorship revenue, and tournament revenue topped $8 million.

Once you are established, you will be able to monetize in other ways, such as selling products and affiliate marketing.

Mojang Studios forbids the sale of in-game benefits for real money. For example, the purchase of in-game commands, items, and plugins is not allowed.

Conclusion

Throughout the last decade, Minecraft has been a popular sandbox game among users of all ages. It is primarily a game of exploration, building whatever you want, and modifying the gameplay.

You can create your own Minecraft server and gain access to a community, as well as participate in custom multiplayer experiences. There have even been cases where players made money from their servers.

You can set up a Minecraft server to play with others using a variety of Minecraft hosting services available on the market. You can, however, run a Minecraft server locally on your computer if it is powerful enough.

We hope you have found this article helpful in understanding how to make a Minecraft server. In the comment section below, feel free to leave your questions or tips.

Leave a Reply

Your email address will not be published.