Creating a server in Minecraft. Creating and setting up a Minecraft server How to start your own Minecraft server

Every person should at least try to play Minecraft. There is a high chance that this game will become your favorite. Of course, there will be those who won’t like it, because many people don’t like the “sandbox” genre as such, but there’s no arguing about tastes. The main thing is not to give up on this game until you try it in all variations. For example, some people mistakenly believe that Minecraft is an exclusively single-player game that cannot be played online. But this is not so - it has a fairly developed and intriguing multiplayer mode. Moreover, absolutely anyone can create a server, so this makes the game even more attractive. But in order to invite your friends, you should figure out how to make your own server in Minecraft.

Downloading the necessary files

Naturally, you cannot create a server out of thin air. You do not have the necessary files on your computer that would allow you to generate a multiplayer world and keep other players connected to it. But how to make your own server? To do this, you will need a special file that will improve your game client and allow you to make multiplayer games. It is called minecraft_server, but it can have different extensions - both .jar and .exe. When you download it, you will take the first step towards becoming a Minecraft host. But there is still a long way to go, and you will need a lot more knowledge to figure out how to make your own server.

Running a file

So, you have a downloaded file that will allow you to turn your computer into a Minecraft server. But how to achieve this? How to make your own server from one file? To do this, you need to run it, but be careful - look where you downloaded this file. It should be in the "Minecraft" folder. If it is located in any other place on your computer, then do not run it, but move it to the desired location. Just make sure that it is located in the game folder and launch it. In this case, the system may ask you for permission several times for certain functions - you will have to allow everything that is asked of you. But don't worry - this is usually only permission to run the file itself, as well as to use Java. This is all absolutely safe, since it was downloaded from the official Minecraft website, and there is no threat to your computer.

When the file is unzipped, you will find that there is much more content in your Minecraft folder. Congratulations - now you can create your own servers. But, of course, you also need to learn this. You know how to download and install a server on your computer, and now you need to understand how to make a server in Minecraft in the game itself.

Defining and setting IP

You might definitely be intimidated by the number of files that will appear after unpacking. Questions about the Minecraft folder may immediately arise: how to make a server out of all this? But you don't have to worry - you only need one file called server.properties, which is where you will make all the changes that will affect how your server will function. You can open it with regular Notepad, because the changes will be exclusively text.

The first thing you need to do is change the server IP address in this file. Since you are creating it on your computer, you need to indicate your own IP address. If you don’t know how to do this, then the problem can be solved simply - there are a large number of services on the Internet that will tell you network information about your computer for free in two seconds. Remember - you only need the IP address, you copy and paste it into the appropriate line of the file. Make sure to save your address as you will need to provide it when you launch your server after setup. Minecraft servers are monitored by IP, so you should be sure to enter it correctly - moreover, an incorrect address will lead to a game error, and you will not be able to try yourself as an admin.

An important point - the map

Pay attention to the level-name line, for which the default value is World. This means that the world in which the game will take place is created randomly. This is a standard scheme that is present in both single-player and multiplayer games, and it does not matter whether you tried to find out how to make a server without Hamachi, using other software, and so on.

By default, the world is always created randomly, and if you want something different, you will have to change everything yourself. To do this, you will need a map that you created or downloaded from the Internet, which you would like to apply to your server. Having placed it in the "Minecraft" folder, you must copy its name and replace it with the world value in the level-name line. Only in this case you will not get a random world in which a multiplayer battle will take place, but a specific and specified one.

Other properties that can be changed

You should not think that these are the only two parameters you can change when interacting with this document. It contains absolutely all the properties of the Minecraft world, and you can change all of them. For example, you can enable or disable the Nether, allow or disable flight, and so on. There are quite a large number of settings, each item among which is very important. Don't skip the line that sets the maximum number of players if you don't want your server to be too busy. Enable PvP if you want players to be able to damage each other. In general, the scope for imagination is very wide, and you can customize your world as you please. You should also figure out how to make a server with mods to give your players even more options.

How to add a server to the game

You already know how to download the necessary files, install the server on your computer, and configure it. The final step remains - launch. You shouldn’t have any problems here, since everything is done extremely simply. You need to start the game, go into multiplayer mode and instead of joining other servers, select the option to create your own. There you will need two items - its name, as well as your IP address, which you should have remembered even when you edited it in a text file. After filling these two cells, you will be taken to the game world, which will become the basis of your server. Here you can already build, extract resources, hunt animals and fight mobs, that is, do everything that you can do in a standard game. But why do you need a server for one?

Adding new players

If you have already created your server and are ready to host guests on it, then you won’t need much - you just need to invite a couple of friends to create the appearance of activity. Then other players will also become interested and join. Moreover, many Minecraft fans prefer to play in those worlds where nothing has happened yet, rather than where various events have already happened. So you are unlikely to be left without players.

Common Mistakes

You should always remember that the version of the game for everyone must match the installed version of the server. If they differ, then the player simply will not be able to connect to the server. This is the most common mistake in the multiplayer environment. You will also receive an error message if you try to log into the server using a login that you have not yet registered. And, of course, do not forget to check the permissions for Java in your antivirus - without it, playing online simply will not work.

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 the release of the 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: High optimization 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 along 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(formerly MCPC+) - Spigot based kernel that includes pre-installed Forge. 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.

Creating a server based on Vanilla

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

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


3) Launch the server file (for a file with the *.jar extension, you need to right-click on the file -> Open with -> Java) and immediately the console window will be closed (* for versions above 1.6), a couple of new ones have appeared in the server folder files we are interested in" eula.txt", which you need to open and change the value 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 (Of course, if you don’t have a license), to log in from a pirated site, open the server.properties file and find the online-mode parameter 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) You can enter the game, into a network game, add a new server, you can use IP "127.0.0.1" (Without quotes) or "localhost"


Creating a server on Spigot

1) Download the Spigot kernel of the required version:

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

if you don’t understand, then download it

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


3) Run our “start.bat”, you should see the following (* for servers above version 1.6):


A couple of new files have appeared in the server folder; we are interested in “eula.txt”, which we need to open and change the value false to 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.

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.


5) To log in from a pirated site, open the server.properties file and find the online-mode parameter 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.

Your own server is the most convenient way to play together with friends. In addition, once you understand all the features of its creation, you can even make money from it. There are several options to create your own server, and this guide will help you choose the most convenient one.

Each of these methods has certain advantages and disadvantages. Check them out to find the best option for you.

Ready solution on PlayVDS

If you want to quickly create a server of the highest level, then just use PlayVDS hosting. Here, even inexperienced users can quickly launch their own servers with mods, plugins, and even a donation system. The service is paid, but prices start from only 200 rubles per month. For this price you will get a virtual server with 768 MB of RAM and 10 GB of disk space. This will be enough for a comfortable game with at least 10 players and connection of even the most demanding mods.

If you want more, just use other tariff plans that allow you to get up to 12 GB of RAM and up to 120 GB of SSD storage. Moreover, all tariff plans include hosting of your own website with a ready-made forum and donation store. This will allow you not only to have fun in Minecraft with your friends, but also to earn money from your project. You will also receive a fully working launcher, with which players can quickly log into the server with their username and password.

To use all the features of PlayVDS, you don't need programming or administration skills. After registering on the site, you can select the appropriate server assembly and install it in one click. You can also add the necessary plugins or mods at any time by downloading them yourself.

You can start creating a server by choosing the most suitable tariff plan. The minimum hosting cost is 200 rubles (or about $3). It will be quite enough for playing with friends on proven versions of Minecraft (from 1.7.10 to 1.10.2).

Having decided on the tariff and clicking the “Create your server” button, you will be taken to the assembly selection menu. Here you can choose a pure server, modifications like Bukkit or BungeeCord, and even ready-made builds with pre-installed mods, for example, Pixelmon. At this stage you can see how much memory each assembly requires, which is very convenient. If necessary, you can immediately change the tariff plan to a more suitable one. One hosting can accommodate as many servers as the total amount of RAM allows.

In the next step, you can select the server address. This can be an IP with a port (free) or a dedicated IP without a port (this option costs 400 rubles). In addition, you can set the server address as a subdomain. In this case, you can choose the name yourself, and it will be very easy to remember. This option is also free.

At the last stage, you can enable additional features. For example, you can get your own website with a beautiful design, which you can use to publish server-based news or organize a donation store. All additional functions are included in the hosting price, you can enable them at your discretion.

After completing the registration process, you will receive full access to all files, as well as to the site admin area. You can install any mods and plugins on all versions.

Advantages

  • creating a server as quickly and easily as possible;
  • ready-made assemblies, including the official one, Bukkit, Cauldron, PixelMon and many others;
  • the ability to modify the server by adding any plugins and mods;
  • support for multiple servers on one account;
  • the number of slots for players is unlimited;
  • ready-made website, donation store and launcher included;
  • online 24/7.

Flaws

  • monthly payment for hosting services.

Minecraft Realms Service

The Minecraft Realms feature was introduced in 2017. This is a virtual server that can be launched directly from the game. It is not intended for commercial use, but is suitable for a small circle of friends. With its help, you can create a world that will always be available to a selected group of people. The whole procedure takes place right in the main menu of the game, literally in a few clicks.

This service is paid, the minimum cost for the Java Edition is about $3, and only three slots will be available for players. In addition, you will need a licensed version of Minecraft and a Mojang account. To create your own world in Realms you need to perform the following steps:

  1. Launch Minecraft from the official launcher;
  2. In the main menu, select Minecraft Realms;
  3. Follow simple step-by-step instructions;
  4. Create a new map or upload a ready one;
  5. Invite friends from the list.

If you are not sure whether this service is right for you, you can use the free trial version for 30 days.

Advantages

  • ease of creation and use;
  • online 24/7;
  • high-quality technical support from Mojang;
  • no need to download and install any third-party software.

Flaws

  • quite high subscription price;
  • limit on the number of players (no more than 10);
  • inability to use mods or plugins;
  • the need to use a licensed version.

Creating a server manually

You can create a Minecraft server yourself on your PC or use hosting services. In the first case, you need to connect to a static IP service from your provider. Depending on the OS you choose, you will need to perform a certain sequence of actions.

Ubuntu

Linux servers are the most reliable and stable, so we recommend using this OS. Below is a guide to help you create a server on Ubuntu.

First you need to install Java. If you are sure that you already have the latest version, then you can skip this point. First you need to check the lists of available updates by running the command:

sudo apt-get update

After this, you can start downloading and installing the latest version of Java:

sudo apt-get install default-jdk

If you want the server to work in the background, you can also download screen first. Installation is performed using the following command:

sudo apt-get install screen

You will also need the wget downloader, if it is not already installed then just run the command:

After this, you can download server files. If you chose the official server build, you can get it with the command:

After downloading, read the user agreement and accept it:

echo "eula=true" > eula.txt

Now you are ready to launch your server. If you want it to work in the background, then first run screen:

screen -S "My Minecraft Server"

Instead of My Minecraft Server, you can use any name you want.

To start, you need to decide how much memory to allocate to Java. It is recommended to allocate at least 1 GB, but you can give much more, depending on the characteristics of the PC and the planned number of players. The following command is responsible for starting the server:

java –Xmx2048M –Xms2048M -jar minecraft_server.jar nogui

The selected number (2048) displays the amount of RAM in megabytes and corresponds to 2 GB. After executing the command, the download will proceed and if after its completion you see the inscription Done, it means that the server has started successfully. You can connect to it using your static IP or virtual server address. To access the settings use the command:

nano ~/minecraft/server.properties

CentOS

For this Linux distribution you will also need to install screen and Java. This can be done with one command:

yum install java screen –y

mkdir minecraft
cd minecraft

While inside the folder, you can start downloading the server file. To do this, run the command:

wget -O minecraft_server.jar https://s3.amazonaws.com/Minecraft.Download/versions/1.xx.x/minecraft_server.1.xx.x.jar

Instead of X's, substitute the desired version of Minecraft; at the time of writing this guide, the latest one available for download was 1.13.2.

Here you will also need to accept the license agreement. To do this, open the eula.txt file using the command:

In the line eula=false, replace false with true and save the file.

screen -S "My Minecraft server"

Now everything is ready to start the server, you just need to run the downloaded file, allocating it the desired amount of RAM. To do this, enter the command:

java -Xmx1024M -Xms1024M -jar minecraft_server.jar nogui

Memory capacity is indicated in megabytes, 1024 MB corresponds to 1 GB. You can allocate any amount, depending on the power of your PC and the expected number of players.

To access the file with server parameters, write in the command line:

nano server.properties

Windows

As with Linux, you first need to install or update Java. To do this, you need to download the file from the official website and follow simple instructions.

Here we will look at installing the official server from Mojang. Today there are several alternative assemblies, but we will look at them in a separate guide. First of all, you should download the latest version of the server from the official website. The file will be named server.jar. You can also download earlier versions of servers in . We recommend placing it in a special folder to avoid confusion. Launch the file by double-clicking, after which several files and folders will appear next to it.

Open the eula.txt file and in the line eula=false replace false with true:

After that, run the server.jar file again and wait for it to start. As a result, the following window should appear:

Now you can connect to your server, but if it was launched on your PC, it will be unavailable after you turn it off.

Advantages

  • no need to pay for hosting;
  • quick access to all files.

Flaws

  • it will be quite difficult for beginners to understand;
  • the need to purchase a static IP;
  • disabling the server when the computer is turned off;
  • if you want to run a server and play from one computer, then it must be powerful enough.

Launching a server is just the beginning. We will talk about its setup and support in detail in the following guides.

Whatever one may say, a beginner cannot create a high-quality Minecraft server. Yes, he may be good, but he will be far from quality. You will have to develop the project long and hard before it becomes like this. And you may need to go through several projects before a good, unique idea appears that people will like and gather its own regular audience. Because there are a lot of subtleties and diversity in this matter, but it wasn’t created > promoted. Players are becoming more impudent and more demanding; nothing will surprise them. Competitors are also constantly fussing. New versions, new plugins, new mods are coming out. You need to keep up with the times and be aware of events.

Newbies don't like being pushed around. After all, experience does not guarantee great knowledge and many skills; some remain stupid. You can figure everything out and create a good project the first time as a beginner. And it's true.

You can prepare very well for the launch by experimenting for a long time and in detail at home. But to check everything, we need live players. And their interests also need to be taken into account. The configuration of a home PC and a purchased server will be different, something may not work there. In general, improvements will be required after the start.

Experience is a really important thing. If there are convolutions of the correct form, it turns into valuable knowledge and skills.

Creating a server: action plan

Stage 1: idea

To do this, you will need to play on a dozen servers and read descriptions of hundreds more, chat on forums (RB is best). To be aware of what types of servers there are.

After that you need to come up with something of your own. In no case imitating another server!

For example, Health Bar is popular. Moreover, they are too lazy to customize it and it looks the same on dozens of servers. We need to fix this! Or don't use it at all.

Stage 2: idea development

Coming up with an idea is not enough. This is just the basis, something like a slogan. In order for it to take on a finished form, it needs to be worked on. It is necessary to think through in detail the entire world of the server, all the interactions of the players.

The economy must be especially thought out. It can make the game too easy or too difficult. Not only the desire to purchase a paid service depends on it, but also the love for the server and the time spent on it.

Stage 3: implementation of the idea

The most important stage! It is here that you can turn a brilliant idea into slag and rotten meat into a masterpiece.

Team Recruitment

It is highly advisable to have assistants, because one person cannot do everything. Even if he doesn't study or work, it will still be difficult. There must be faithful comrades with assigned roles.

And these should be people who will play often! Because players regularly ask for help. If no one is online, you can lose money or create anarchy.

Creating an Assembly

Select the necessary plugins, configure them, translate them. It will take a lot of time. After all, they all must carefully interact with each other, creating a holistic game world.

What assembly is the same server.

Construction

The bigger and more beautiful the spawn, the better. There should be a lot of entertainment on it, because this is the capital of your server. At the same time, it should not be too built up and confusing: it is not uncommon to encounter such creations from which players cannot find a way out.

Testing

This is the moment when the assembly and buildings become full-fledged. Shortcomings are clarified only during the game. And a player familiar with the matter finds holes better than usual!

Website creation

Now it is fashionable to tie it to the server so that there is a single authorization. And this thing is really convenient.

The site will have a detailed FAQ, various news and other useful information. There must be a detailed description of the server with pictures and preferably a video.

We also need a forum so that players can fully communicate with each other.

Security development

Now we need to think about security and fault tolerance. This includes: restarting the server in case of an emergency shutdown; protecting accounts from password guessing; protection against bot attacks (special plugins, connection limit).

Stage 4: starting the server

The hour has come when strangers will see the server. Now it has become publicly available.

Everything should be completely ready by the time of launch. The worst case scenario is when the assembly changes frequently. Players really don't like instability.

You will still have to make some adjustments, the main thing is that they are minor.

Server support

After the server has lived its life, it needs constant care.

Moderation

Someone from the ruling team must always be in the game. So that such situations do not arise when no one is there all day. Otherwise, this leads to permissiveness of the players.

The worst consequence is that good people leave. Those for whom no one helped in time or did not respond to the desire to buy a paid service. Not all of them prefer to look for other means of communication than game chat.

Repelling attacks

Whatever one may say, there will still be some kind of attack. Nowadays, attacks by bots are common, causing massive loads of registration and filling up slots.

There will be DDoS of the site and attempts to hack administration nicknames. We must be prepared.

Constant development

New versions of Minecraft and plugins are released, new ideas appear. You have to keep up with all this, otherwise the server will die. The number of antique lovers is very small.

Winner of seven gaming awards, the video game Minecraft 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 and by several players. However, to play it with multiple players, you need to rent or set up and maintain a server. Server hosting requires downloading and installing a special file on the server computer, and then connecting to that server. The following steps describe the features of Minecraft server hosting for Windows and Mac operating systems.

Steps

Preparing your computer

    Check your computer's capabilities. If you plan to use your computer as a server for Minecraft, you need a powerful processor and enough RAM so that it can handle requests from the number of people you plan to 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 latest version is 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 bring together a large number of players or want to set up a Minecraft server in your game room, you can rent a server instead of setting it up 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

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