This is a guide on how to create a Minecraft server on various platforms. By the end of the guide, you will know how to install a Minecraft server on operating systems. Linux systems, Windows and Mac.

Overall, Minecraft is a sandbox video game developed by Mojang. It consists of ranking the most popular games on streaming sites such as Twitch. The game can be played independently, but there is also a multiplayer mode with a large community of players.

To enjoy multiplayer mode, players will need to either set up their own Minecraft server or use a hosting provider. In this guide we will focus on the solution to installing your own Minecraft servers on Linux, Windows and Mac. If you have it on Hostinger, you can use these instructions and play with your friends and family!

How to create a Minecraft server on Linux

Let's see how to create a Minecraft server on two best distributions Linux OS – Ubuntu and CentOS (English). Although the process is very similar on both systems, there are some differences in the process of installing the required packages.

Setting up a Minecraft server on Ubuntu

First of all, we will create a Minecraft server using a VPS running Ubuntu 16.04 OS. The whole process is three simple steps.

Before you begin, you need to connect to your server via SSH. To log into the server, open a terminal (or use if you're on Windows) and enter these commands:

Ssh username@ipaddress

As soon as you log in, you can begin installing your Minecraft server. Please note that installing a Minecraft server requires Java installed on your system. Java may already be installed on your system. To check this, run the following command:

Java -version

If you receive a message that says Java was not found on your system, you can continue to follow these instructions. Otherwise, you can end the current section and move on to step 2.

Run these commands in your terminal to download the latest software packages to install on your system, including Java:

Sudo apt-get update

Now you need to install Java. We are installing Java 7 for this tutorial:

Sudo apt-get install openjdk-7-jdk

If you need the latest version of Java, you can run this command instead of the previous one:

Sudo apt-get install default-jdk

Here we also need to install screen, which will keep your server running in the background even if the connection is lost. To do this, enter the following command:

Sudo apt-get install screen

Now you have installed in your Java system and Screen.

Step 2 – Install Minecraft Server on Ubuntu

Let's now see how to create a Minecraft server on Ubuntu VPS. It's always best to keep your files and programs clean and organized. To avoid chaos, let's create a new directory in which all Minecraft files will be stored. This step is optional, although for clarity we highly recommend it. To make a new directory, run:

Mkdir minecraft

Once created, go inside the directory:

Sudo apt-get install wget

Now download and install your own Minecraft server:

Wget -O minecraft_server.jar https://s3.amazonaws.com/Minecraft.Download/versions/1.11.2/minecraft_server.1.11.2.jar

At the time of writing the latest available version was 1.11.2. You need to replace this number with the version that is most recent at the moment. You can check the version using the link.

Accept the Minecraft User License Agreement:

Echo "eula=true" > eula.txt

First, let's run screen so that we can start the server in the background:

Screen -S "Minecraft server 1"

We named the current session 'Minecraft server 1', but you can use any other name.

That's all - you have successfully installed your custom Minecraft server on Ubuntu.

Now you only need to run installed server. To do this, run the following command in the terminal:

As you can see, Minecraft requires 1024MB or 1GB of RAM available to run the server. Since this minimum requirements, we recommend that you have more in stock RAM(RAM) for better performance. To allocate more memory for the server, simply replace 1024 in -Xmx And -Xms parameters for 2048 (2GB) and so on. This is what you will see after running the command:

And now there you have it: your own Minecraft server in just a few minutes. The server is running in the background since we are using screen. To turn off screen, click CTRL + A, Then D. You can roll back the operation and open the screen window again by typing screen -r in the terminal. You can experiment with the server settings in the properties file:

Nano ~/minecraft/server.properties

Installing a Minecraft server on CentOS 7

Let's see how to create a Minecraft server on a VPS running CentOS 7. The process is not too different from Ubuntu.

Step 1 – Install Java and Screen

First, you need to install Java, since Minecraft is completely built on it. Next screen , since it is required for the Minecraft server after logging off the SSH session. Connect to your VPS server via SSH ( Windows users can use the client for this) and run the installation of these two packages:

Yum install java screen -y

Step 2 – Install Minecraft Server on CentOS 7

To streamline the installation, let's create a new directory:

CD minecraft

Download Minecraft server packages:

Wget -O minecraft_server.jar https://s3.amazonaws.com/Minecraft.Download/versions/1.10.2/minecraft_server.1.10.2.jar

Run screen with the correct name:

Screen -S "Minecraft server"

Accept the EULA by changing the value from false to true in the eula.txt file:

Nano eula.txt

Step 3 – Starting the Minecraft Server

Now you can start the server using this command:

Java -Xmx1024M -Xms1024M -jar minecraft_server.jar nogui

The result should be something like this:

Server Minecraft has been successfully launched, you can exit screen using the keyboard shortcut CTRL - A + D.

Server settings can be changed by editing this file:

Nano server.properties

How to create a Minecraft server on Windows

You can also install the Minecraft server on your Windows PC. We will try to cover everything you need for this in three steps.

Step 1 – Install the latest version of Java

Since Minecraft is based on Java, you need to install the latest version and make sure everything is running correctly. You can use the command line to check compliance. Run the following command:

Java -version

Then make sure that your version matches the latest Java version on the official website. Download and install if your current version more outdated or if you don't have Java at all.

Step 2 – Install Minecraft Server on Windows

Now you need to select the location where you want to install your Minecraft server. To properly organize the storage of all necessary files, we recommend that you create a special directory. Once you create it, download the latest Minecraft server software installation from the official website.

Move the file .jar to the directory you created earlier and double-click on it.

Before you continue installing the Minecraft server, you must agree to the terms and conditions license agreement EULA. This can be done by editing the file eula.txt and changing the parameter eula=false on eula=true.

You can start a Minecraft server using the command line Windows strings. Use this to navigate to your Minecraft directory. For example:

Cd Desktop/MinecraftServer

Start the Minecraft server by running the command:

Java -Xmx1024M -Xms1024M -jar minecraft_server.jar nogui

Or you can double-click the left mouse button again on the file with the extension .jar and this will lead to the same result. You will need to allow access to the Minecraft server through the Windows firewall.

If you see a screen like this, it means your Minecraft server has started successfully:

How to create a Minecraft server on Mac

Last but not least, let's look at installing a Minecraft server on MacOS. Solving the problem in three steps.

Step 1 – Install Java and Screen

Java enabled default, if you are using the latest version of MacOS. You can double-check this by entering this command in your terminal:

Java -version

If you find that it is not available, you can download traditional versions of Java from Apple's website.

Step 2 – Install Minecraft Server on Mac

To keep everything neat and organized, best choice will create a directory for your Minecraft server. Once you have created it, download the Minecraft server setup from the official website.

Download it to the created directory. Then open a text editor and set the format to plain text: Format › Make Plain Text. Paste the following into the file:

#!/bin/bash cd "$(dirname "$0")" exec java -Xms1024M -Xmx1024M -jar minecraft_server.jar nogui

Save the file as startmc.command V in the same directory,where are installation files Minecraft servers. To make it work, you need to change the access rights. You can assign them from the Terminal, which can be found in ApplicationsUtilities. Once the terminal opens, go to your Minecraft directory. For example:

cd Desktop/MinecraftServer

You can assign access rights with the following command:

Chmod a+x startmc.command

Step 3 – Starting the Minecraft Server

If all steps were completed correctly, you will be able to start the Minecraft server double click by file startmc.command. After this, a new terminal window will appear.

You may notice warnings about several missing files or directories when you first run it. Don't worry about this, it's completely normal!

In conclusion

Congratulations! With the completion of this tutorial, you have learned how to create a Minecraft server on various platforms and operating systems Oh.

Every Minecraft player wants to play with his friends on servers, but it is very difficult to find a decent server, and you want to be the admin yourself, so you can create your own Minecraft server. We wrote this article and filmed a video in which we sorted out everything that relates to the server and after it, you are unlikely to ask the question how to create a Minecraft server on Windows.

Video instructions:


There are many Minecraft server cores, we will tell you about the four most popular ones.


Vanilla- official core from the developers. Pros: Released immediately after release new version; Cons: Not many plugins; Low optimization of resource use; You will have to install Forge separately if mods are needed.


Bukkit- Core based on Vanilla. Pros: Highly optimized compared to the standard kernel; Lots of written plugins from third party developers. Cons: You will have to install Forge separately if mods are needed; The project was completely closed at version 1.6.4, there is no support on the official website. Exists now with Spigot.


Spigot- More optimized core based on Bukkit. Pros: Many improvements over bakkit; All plugins written in Bakkit work smoothly on this kernel. Cons: For a beginner, installation may seem complicated; You will have to install Forge separately if mods are needed.


Cauldron(previously MCPC+) - A core based on Spigot that includes Forge pre-installed. Pros: Since Forge is already pre-installed, if you want to install mods, you don’t need to install it yourself; All plugins written in Bakkit work smoothly on this kernel. Cons: New versions of Minecraft have to wait quite a long time for the build, since first the developers are waiting for the release of the updated Spigot.

Now you need to decide for what purposes you need a server and, based on this, choose the kernel on which you will develop the server. We will show the creation of a server using the example of each core.

1) First, download the server itself of the version you need:

(downloads: 18825)

(downloads: 9776)

(downloads: 46287)


(downloads: 366)

(downloads: 20540)

(downloads: 14599)

(downloads: 958)

(downloads: 16891)

(downloads: 238)

(downloads: 744)

(downloads: 391)

(downloads: 115)

(downloads: 219)

(downloads: 124)

(downloads: 9649)

(downloads: 7972)

(downloads: 12174)

(downloads: 343)

(downloads: 194)

(downloads: 180)

(downloads: 187)

(downloads: 553)

(downloads: 227)

(downloads: 507)

(downloads: 4354)

(downloads: 5433)

(downloads: 253)

(downloads: 296)

(downloads: 253)

(downloads: 1436)

(downloads: 1085)

(downloads: 260)

(downloads: 181)

(downloads: 1730)


2) Create for the server separate folder and copy the downloaded file.


3) Launch the server file (for a file with the extension *.jar, you need to click right click to the file -> Open with -> Java) and the console window will immediately close (* for versions above 1.6), eula.txt false on true. Save the modified file.


4) We start the server again, wait a few seconds and see that many files have appeared in the folder, including the world folder, which means the server has started normally. But you won’t be able to log in yet (unless you have a license, of course), to log in from a pirated site, open the file " server.properties" and find the parameter " online-mode=" and change the value from true on false.


5) You can enter the game, into a network game, add new server, you can use IP "127.0.0.1" (Without quotes) or "localhost".



1) Download the server version you need:

(downloads: 59859)


(downloads: 347)

(downloads: 18606)

(downloads: 14061)

(downloads: 805)

(downloads: 1451)

(downloads: 14981)

(downloads: 620)

(downloads: 237)

(downloads: 8536)

(downloads: 7168)

(downloads: 408)

(downloads: 186)

(downloads: 409)

(downloads: 190)

(downloads: 266)

(downloads: 7014)

(downloads: 7183)

(downloads: 252)

(downloads: 378)

(downloads: 1849)

(downloads: 1676)

(downloads: 165)

(downloads: 1773)

(downloads: 334)

(downloads: 290)


2) Create a separate folder for the server and copy the downloaded file there. Create a file start.bat(The simple .txt file must be renamed with the extension start.bat) with the following content:
@echo off
java-jar spigot.jar
pause

Download this file, if you don’t understand exactly how to create:

(downloads: 111384)

2.1) Next, copy this file to the server folder.
Attention: Be sure to replace the line in the file spigot.jar to your server name, for example spigot-1.8.8-R0.1-SNAPSHOT-latest.jar !
To edit a file start.bat, you need to: right-click -> "Edit".


3) Launch our " start.bat", you should see the following (* for server versions higher than 1.6):


A couple of new files have appeared in the server folder, we are interested in " eula.txt", which you need to open and change the value false on true. Save the modified file.
What kind of file is this? This user agreement between Mojang and you, by setting the value to true you agree to all the terms of this agreement.


But you won’t be able to log in yet (unless you have a license, of course), to log in from a pirated site, open the file " server.properties" and find the parameter " online-mode=" and change the value from true to false.


What kind of online-mode parameter is this? He is responsible for checking the license of the player trying to connect to the server; if the player logs in from a pirated client, the server will not let him through.

5) We go into the game, into the network one, add a new server, entering as IP - " localhost" (Without using quotation marks).


1) Download the version of the server on which you want to play:

(downloads: 238339)

2) Unpack the downloaded archive into a separate folder.

3) Run the file start.bat and you will see the following (* for version above 1.6):


A couple of new files have appeared in the server folder, we are interested in " eula.txt", which you need to open and change the value false on true. Save the modified file.
What kind of file is this? This is a user agreement between Mojang and you, by setting the value to true you agree to all the terms of this agreement.

4) Start the server again. We wait for the launch to complete and see the word “Done” at the end, which means everything is ok.

So, today I will tell you how to create a minecraft server. To begin with, I will tell you about a regular server, and in the next article we will look at running a server on bukkit. That is, today's server will not support mods, but it is quite enough for playing with friends, and its installation is simpler.

In fact, there is nothing difficult here, but many beginners have a lot of questions related to the process of starting a server, which I will try to answer today in a form that will be accessible even to those who are not particularly computer friendly.

We will install a server for Windows, since I have not met a single person with Linux who could not set up a server :)

In order to create a server on your home computer(or not on it), we will need software, available at this link. This version is best for beginners, as it is the most visual, if you just want to play with friends online, then this is a great solution.

And so, we place this file in a separate folder to make it more convenient, and run it. We are waiting for a line like “ Done (10,146s)! For help, type “help” or “?”". It took me about 10 seconds. Let's stop the server; to do this, enter “stop” in the input window at the bottom right and press the Enter key. Let's now look at setting up the server, because this is the only way we can create a minecraft server exactly the way we need it. Let's look at what appears in our server folder:

  • banned-ips.txt - list of players banned by ip
  • banned-players.txt - list of banned players
  • ops.txt - list of ops or, more simply put, list of admins
  • server.log — server log. Any information that you are unlikely to need is recorded here.
  • server.properties - server settings
  • white-list.txt - list of players who have access to the server

Let's take a closer look. The banned-ips, banned-players, ops and whitelist files are a list of players. There should be one nickname on each line. If you want, you can enter your nickname in ops.txt, but I recommend using the command that I will talk about towards the end of the article. Let's take a closer look at the server.properties file and consider all its points. Most items can only accept the values ​​“true” (“allow”) or “false” (“deny”). Here is a list of all commands:

  • allow-nether=true — whether to allow the nether world on the server
  • level-name=world — world name. Defines the name of the folder in which your world will be stored
  • enable-query=false — whether to allow server statistics queries. Leave it as is.
  • allow-flight=false — should cheaters be allowed to fly? This does not apply to creative flight
  • server-port=25565 — server port, in most cases there is no need to change it
  • level-type=DEFAULT - server type, if you put “FLAT”, you will get a flat map
  • enable-rcon=false - allows you to get remote access to the console. Don't ask, I don't know how.
  • level-seed= - level seed, for it to take effect, you will have to wipe (delete the “World” folder)
  • server-ip= - in most cases should be left empty
  • max-build-height=256 — maximum construction height (one of: 64, 80, 96, 112, 128, 144, 160, 176, 192, 208, 224, 240, 256)
  • spawn-npcs=true - whether to spawn villagers
  • white-list=false — whether to enable the white list
  • spawn-animals=true — whether to spawn animals
  • online-mode=true - if false, then pirates will be able to enter
  • pvp=true — whether to allow pvp
  • difficulty=1 difficulty level (0 - Peaceful, 1 - Easy, 2 - Normal, 3 - Hard)
  • gamemode=0 - if you set “1”, then all players will be creative
  • max-players=20 — number of slots on the server
  • spawn-monsters=true - whether to spawn hostile monsters
  • generate-structures=true - whether to generate villages, treasuries, fortresses...
  • view-distance=10 — visibility range in chunks, I recommend not changing it
  • motd=A Minecraft Server - a message that is displayed in the list of servers. Must be no more than 60 characters

Actually, after changing the settings and saving them, you can start the server and enjoy the game. Oh yes, here is a list of commands that is available from the server application itself (where we wrote “stop”). These commands are also available from the game if you are Op. In this case, you should add a “/” character before the command. Here is the list itself:

  • help - displays a list of available commands
  • kick<ник>— kicks the player (disconnects from the server)
  • ban<ник>- bans the player
  • pardon<ник>- unbans a player
  • ban-ip — adds an IP address to the list of banned ones
  • pardon-ip — removes the IP address from the list of banned ones
  • op<ник>- makes the player Op
  • deop<ник>- demotes Opa to a regular player
  • tp<ник1> <ник2>- transfers the first player to the second
  • give<ник> [quantity] - gives the player an item with the specified id. The quantity is not required.
  • tell<игрок> <сообщение>— sends private message to the player
  • stop - stops the server
  • save-all - saves the map
  • save-off - disables landscape saving, usually not used
  • save-on - enables saving the landscape
  • list - displays a list of players
  • say<сообщение>— displays a message in the chat on behalf of the server
  • time set<количество>— sets the time. A game day lasts 24,000. If we set the time to 0 (time set 0), we get morning. And if you put 12,000, then evening
  • time add<количество>— adds a certain amount to the current time
  • gamemode<ник> <значение>- changes the player's game type. The value can be 0 (survival) or 1 (creative)
  • toggledownfall - enables or disables precipitation
  • xp<ник> <количестве>- gives the player a specified amount of experience (0-5000)

That's all, now you know how to create a server in Minecraft, have a good game on your server!

Winner of seven gaming awards, Minecraft video game was developed by Markus Personn in 2009 and released as a full-fledged computer game in 2011. Also available for Macintosh, Xbox 360 and Playstation 3, Minecraft has become a global game that can be played alone or with multiple players. However, to play it with multiple players, you need to rent or set up and maintain a server. Server hosting requires download and installation special file on the server computer and then connect to that server. Next steps describe the features of Minecraft server hosting for operating Windows systems and Mac.

Steps

Preparing your computer

    Check your computer's capabilities. If you plan to use your computer as a server for Minecraft, you need powerful processor and enough RAM so that it can handle requests from the planned number of people who will log into the server to take part in the game. This is especially important if you want to simultaneously use the computer to play yourself and as a server for other players.

    Check your Internet connection speed. You need fast download and upload speeds so players can interact in real time.

    Make sure you have the latest version of Java installed on your computer. The software that allows you to set up a Minecraft server requires Java. At the time of writing this article, the most latest version was Java 7.

  1. Determine your external IP address. You will have to share this address with anyone outside your immediate local network so they can connect to the Minecraft server. You can find out your external IP address by performing the Internet query "what is my IP."

    • The last two steps apply if you are playing Minecraft with players who are physically located in a different location than you and your server. In the case of a local network or game room where all players will be in the same room, you do not need to know the external IP or configure port forwarding in the router.
  • If you want to combine large number players or want to set up a Minecraft server in your gaming room, you can rent a server instead of configuring it yourself. You can search the Internet for suitable hosting servers or search for them in the hosting section of Minecraft forums.
  • You can also use the .jar version of the Minecraft server program on Windows, but for this you need to create a bat file in the same directory where you have saved the .jar file. You can create a bat file using Notepad by pasting the following line (without quotes): "java -Xms512M -Xmx1G -jar minecraft_server.jar". Save this file with a .bat extension and an appropriate name, such as "startserver." (This bat file plays the same role as the .command file on a Mac.)
  • To change the amount of RAM available when running Minecraft, change "1G" (for 1 GB) in the .bat or .command file to a higher value, such as "2G."
  • If you have a small number of players, you can set up a virtual private network (VPN) instead of setting up a server as described above. The VPN will require all players who want to connect to the server to install special software on their computers.
  • Use your desktop computer as your Minecraft server if you don't have the option to use a dedicated server. Although high-end laptops are suitable for gaming, their hardware does not have the same capabilities as desktop computers or dedicated servers.

Warnings

  • Demon wired networks are not recommended for connecting a large number of players to a Minecraft server. Either use wired networks or configure your router to forward to the server.

Minecraft is a cubic, limitless 3D world, waiting for its creator to survive in its sometimes harsh conditions. Here you are free to do what you want, whenever you want.

Explore a limitless world; get to the bottom of it, extracting as much as possible large number resources; go on a journey across a vast ocean full of secrets and unexplored lands; or simply settle in one place, creating your own city, or an entire empire. The game is already full of content, but it can be diversified by installing various types modifications. But the most wonderful thing is the opportunity to plunge and immerse yourself in this world together with your comrades. To do this, you just need to create your own server and find yourself a company.

If you want to know how to create your own server in Minecraft, then this article is just for you.

So, how to install a minecraft server?

1. Creating a Minecraft server begins with downloading the archive with the version of the server you need. They exist for absolutely all versions of the game. For the newest one, you can find the server on the official website.

2. Launch the downloaded file and wait until the program conducts a test run and generates all the files necessary for the server to operate. They will appear at the same address as the launched file, so it's best to create a separate folder for this.

3. In order for your friends to be able to play with you, you need a local network connection, for this you need to be connected via one wire, or download the Hamachi program.

4. In the program we create local network, then copy her name and IP and tell them to your friends so that they connect to your local network.

5. We return directly to the server. In the folder where the new files were generated, a document called “properties” appeared. Open it using any of your installed text editors and carefully study every line.

How to set up a minecraft server?

Setting up a Minecraft server is a very important and crucial moment. If you do it incorrectly, the server may not let players in, or may not work at all. We configure the name, IP, port (here it is very important that your computer is connected to the Internet directly, that is, without a router, or the server port must be specified in the network block settings).

Another quite a few important point: if you are using a pirated version for the game (which is, of course, very bad), then in order for the server to let you into the game, the line called “online mod” was set to “false”.

The method is quite simple if you do not have any complications with the router.

But if they suddenly arise, then how can you make a server in Minecraft even simpler, without conflicts with the network?

A program for creating a server in Minecraft will help you, which itself will solve problems with ports and licenses. Everything is described there quite clearly and simply.

You can also use the site to create Minecraft servers, which will also not have network problems or other difficulties. The server will operate in online mode. Creating a Minecraft server for free through the website is the most affordable solution, which does not require you additional programs and skills. Simply specify the desired server settings and start playing.

For owners of a licensed version of the game, creating your own Minecraft server for free is even easier

Recently, the game has added a feature to open your world to multiplayer. Once you have done this, you will be shown your IP, and any owner license key will be able to calmly and without unnecessary problems enter your world. That is, as such, creation is not required here at all.

How to install modifications on the server?

1. First, of course, you need to select and download the desired add-ons in .zip format

3. Open the folder of the created server (instructions for creation are given above), on which you need to install the mod.

4. Find a file that has the name: “minecraft_server.jar.”

5. You need to open it using any archiver installed on your PC and transfer the contents of the downloaded mod there.

6. There is no need to delete the folder called META-INF, as when installing modifications for a single game.

7. Actually, now we start the server and enjoy.

We also take into account the fact that modifications installed on the server must be installed on the client of any visiting player, otherwise they simply will not be able to connect to you.

If you have problems with the creation process, you can watch the Minecraft training video on how to create your own server. There are a great many of them on the Internet, and especially on YouTube. You can find the process of creating any server, any version, in any way. All that remains is to wish you a pleasant game with nice people.