• Creating a Minecraft server. How to create a local server on a computer? Create a server for minecraft without downloading

    Before I start talking about the technical details, I want to clarify the situation at the expense of creating a “live and visited” server. These steps are divided into three parts:

    1. Server creation;
    2. Setting up and installing plugins;
    3. Attracting players.

    If the first point takes 30 minutes, the second - you can spend the whole day (due to plugins, you can make your own, unique "world" of minecraft), and the third - an occupation for an indefinite time.

    Creating your own server, inviting friends to it, playing a couple of evenings is not a difficult task, but in order for your server to become famous and visited, you will need to work hard, and this work will be far from the game - buying a dedicated IP, creating a server site, its advertising, promotion, purchase of a dedicated server for the game, etc.

    In this article, I will only talk about the first, most simple point - creating your own server on a personal computer, without a dedicated IP.

    Server types

    There are several "packages" of servers - the original, so to speak "clean", and immediately with some package of mods. The instruction is based on the example of installing the official version. Deal with her and deal with others.

    Instruction

    1. Go to the page http://www.minecraft.net/download.jsp

    Download Minecraft_Server.exe. The official website always contains the latest version of the server.

    Note: as of today (November 5, 2011), the official server has version 1.8.1, while most players already have . Download server part for 1.9.5: (downloads: 32767)

    2. Transfer the downloaded file Minecraft_Server.exe (or minecraft_server.jar) to the folder where you will have the server (do not run it on the desktop).

    3. If you have port 25565 open, you will see the following window:

    Wait for the process to finish. Then close the window.

    If the port is closed, or something is blocking Minecraft_Server.exe or Java, the following message will appear:

    What to do if nothing works?

    I myself suffered when I made the server for the first time (especially with this port 25565), and I tried to write all the conclusions in this instruction. But if something still doesn’t work out for you, then go to our forum in the minecraft section (don’t be afraid that it’s empty there for now - we just opened the section), and create a topic where write in detail: your operating system, the antivirus / firewall that is installed on the computer, what you are doing, and what errors occur, preferably with screenshots.

    AND we will deal with each separately(determine what is the cause of the error, and how to fix it), and then supplement this instruction with new conclusions. It is useless to write about errors in the comments - because. Many comment, but you need to deal with each individually.

    In the comments to this instruction, it is better to write not about problems, but about how you solved a problem. In this case, the comments will be helpful.

    Offers to go to Skype or connect via TeamViewer and “solve everything” there - I reject, because firstly, I can leave / be busy, and other participants can help you on the forum, and secondly, because my task is to write instructions so that you can start the server.

    In this tutorial, I will teach you how to create your own minecraft server without the help of Hamachi and other applications. So, let's get started!

    To create a server, you need to meet several requirements. For the most part, they depend on the provider providing you with their services. Your IP must be static otherwise they won't be able to connect to you. If it is dynamic, then you can use third-party sites to third level domain registration. Also, your ports should be open.

    If you do not have a static IP or you are too lazy to open ports, you can use the instructions.

    Instruction(we do everything in order):

    1) First, download the server itself. For Windows, select file minecraft_server.exe, You can download it on the official Mojang page.

    2) After downloading this file, place it in the folder where the server will be located. Then, run it and it will create the necessary folders and server files. After the world is generated, we turn off the server and start setting up.

    (This is what the folder with the server looks like)

    3) After that, you need to find out your IP in order to subsequently enter it in the desired line of settings. You can find out the IP.

    4) The main server configuration file is server.properties, it looks like this:


    The main setting is the field: server-ip=, in which you need to enter the address of your computer (IP) after "=".

    This is how it should look like: server-ip=109.169.230.149

    In addition, here you can also set up your server by some of the parameters, for example, disable monster spawning, put your own map, whitelist, online mod and much more.

    Save the settings and start the server!

    5) The server is ready and in order to connect to it, players must simply enter your IP in the server connection box.

    6) This is what the server log will look like when you try to connect to it.

    If you want to play with friends on pirate version of Minecraft, disable authentication by replacing the line:

    online mode= true

    to value:

    online mode= false

    ================================================

    If you have problems with creating a server, then describe it in detail in the comments. Our experts will try to help you.

    Minecraft is one of the most popular online games today. In less than three years (the first official release took place in the fall of 2011), he has gained millions of fans around the world.

    Game developers deliberately focus on the best examples of twenty years ago, when many games by today's standards were primitive in terms of graphics and imperfect in terms of usability, but at the same time they were really exciting.

    Like all sandbox games, Minecraft provides the user with great opportunities for creativity - this, in fact, is the main secret of its popularity.

    The organization of servers for playing in multiplayer mode is carried out by the players themselves and their communities. Today, tens of thousands of game servers operate on the Internet (see, for example, the list here).

    There are many fans of this game among our clients, and they rent equipment for game projects in our data centers. In this article we will talk about what technical points you need to pay attention to when choosing a server for
    Minecraft.

    Choose a platform

    The Minecraft game includes the following architectural elements:
    1. server - a program with which players interact with each other over a network;
    2. client - a program for connecting to the server, installed on the player's computer;
    3. plugins - additions to the server that add new features or extend old ones;
    4. mods - additions to the game world (new blocks, items, features).

    There are many server platforms for Minecraft. The most common and popular are Vanilla and Bukkit.

    Immediately make a reservation that this section will provide tips related only to optimizing the game server. The issues of fine-tuning and optimizing the server on which Minecraft is installed are a separate topic that is beyond the scope of this article; interested readers can easily find the information they need on the Internet.

    One of the most common problems that arise when playing Minecraft is the so-called lags - situations when the program does not respond to user input in time. They can be caused by problems both on the client side and on the server side. Below we will give recommendations that will help reduce the likelihood of problems on the server side.

    Regularly monitor the memory consumption of the server and plugins

    Memory consumption can be monitored using specialized administrative plugins - for example, LagMeter .

    Stay tuned for plugin updates

    As a rule, developers of new plugins with each new version strive to reduce the load.

    Try not to use many plugins with similar functionality

    Large plugins (eg Essentials, AdminCMD, CommandBook) very often include the functionality of many smaller plugins. For example, the same Essential contains the functions of the iConomy, uHome, OpenInv, VanishNoPacket, Kit plugins. Small plug-ins, the functionality of which is completely covered by the functionality of one large one, in most cases can be removed so as not to overload the server.

    Limit the map and download it yourself

    If you do not limit the map, then the load on the server will increase significantly. You can limit the map using the WorldBorder plugin. To do this, you need to run this plugin and execute the /wb 200 command, and then draw the map using the /wb fill command.

    Drawing, of course, will take a lot of time, but it's better to do it once, closing the server for technical work. If each player draws the map, the server will work slowly.

    Replace heavyweight plugins with faster and less resource intensive ones

    Not all Minecraft plugins can be called successful: they often contain a lot of unnecessary and unnecessary functions, and sometimes they also consume a lot of memory. Unsuccessful plugins are best replaced with alternative ones (there are quite a few of them). For example, the LWC plugin can be replaced with Wgfix+MachineGuard, and the DynMap plugin with Minecraft Overviewer.

    Always clean the drop or install a plugin to automatically remove the drop

    Drops in games are items that drop out when a mob dies or some blocks are destroyed. Storing and processing drops take up a lot of system resources.

    To make the server run faster, it is advisable to delete the drop. This is best done using special plugins - for example, NoLagg or McClean.

    Don't use anti-cheats

    So-called anti-cheats are often installed on game servers - programs that block attempts to influence the game in dishonest ways.

    There are also anti-cheats for Minecraft. Any anti-cheat is always an additional load on the server. It is preferable to install protections for the launcher (which, however, do not give an absolute guarantee of safety and break easily - but this is a topic for a separate discussion) and for the client.

    Instead of a conclusion

    Any instructions and recommendations are much more effective if they are supported by specific examples. Based on the installation instructions above, we created our own MineCraft server and put something interesting on the map.

    Here's what we got:

    • Bukkit server - stable recommended version 1.6.4;
    • Statistics plugin - to collect statistics about players;
    • Plugin WorldBorder - to draw and limit the map;
    • WorldGuard plugin (+WorldEdit as a dependency) - to protect some areas.

    We invite everyone to play on it: to connect, add a new server and specify the address mncrft.slc.tl.

    Cool news: Starting August 1, the setup fee for fixed configuration dedicated servers has been reduced by 50%. Now the one-time installation payment is only 3000 rubles.

    Readers who cannot leave comments here are welcome to join us at

    So, today I will tell you how to create a minecraft server. To begin with, I will talk 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 installation is easier for him.

    In fact, there is nothing difficult here, but many beginners have a bunch of questions related to the process of starting the 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 raise the server 🙂

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

    And so, we put this file in a separate folder to make it more convenient, and run it. We are waiting for the appearance of a line like " Done (10,146s)! For help, type "help" or "?"". It took me about 10 seconds. Let's stop the server, for this, in the input box on the right-bottom, enter "stop" and press the enter key. Let's now deal with setting up the server, because this is the only way we can get to create a minecraft server exactly the way we need it. Let's look at what appeared in our server folder:

    • banned-ips.txt - list of players banned by ip
    • banned-players.txt - list of banned players
    • ops.txt - a list of ops or, more simply, a 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 files banned-ips, banned-players, ops and whitelist are the list of players. Each line should have one nickname. If you want, you can enter your nickname in ops.txt, but I recommend using the command, which I will talk about towards the end of the article. Let's dwell on the server.properties file in more detail and consider all its points. Most items can only take the values ​​"true" ("allow") or "false" ("prohibit"). Here is a list of all commands:

    • allow-nether=true - whether to allow the nether world on the server
    • level-name=world - the name of the world. Specifies the name of the folder where your world will be stored
    • enable-query=false - whether to allow requests for server statistics. Leave as is.
    • allow-flight=false - allow cheaters to fly? Flight in creative is not affected
    • server-port=25565 - server port, in most cases you don't need to change it
    • level-type=DEFAULT - server type, if you put "FLAT", then you 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, in order to take effect, you will have to make a wipe (delete the "World" folder)
    • server-ip= - in most cases, it should be left empty
    • max-build-height=256 - maximum build 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 whitelist
    • 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 set to "1", then all players will have a 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
    • motd=A Minecraft Server is the message that is displayed in the server list. 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 the 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, the command should be preceded by the symbol "/". Here is the list itself:

    • help - displays a list of available commands
    • kick<ник>- kicks the player (disconnects from the server)
    • ban<ник>- bans a player
    • sorry<ник>- unbans a player
    • ban-ip - adds an ip address to the banned list
    • sorry-ip - removes ip address from the banned list
    • op<ник>- makes the player Opom
    • deop<ник>- Downgrades Op to a regular player
    • tp<ник1> <ник2>- transfers the first player to the second
    • give<ник> [amount] - gives the player an item with the given id. Quantity is not required.
    • tell<игрок> <сообщение>- sends a private message to the player
    • stop - stops the server
    • save-all - saves the map
    • save-off - disables terrain saving, usually not used
    • save-on - enables terrain saving
    • list - displays a list of players
    • say<сообщение>- displays a message in the chat on behalf of the server
    • time set<количество>- sets the time. Game day lasts 24000. If you set the time to 0 (time set 0), then we get the morning. And if you put 12000, then the evening
    • time add<количество>- adds some amount to the current time
    • game mode<ник> <значение>- Changes the player's game type. The value can be 0 (survival) or 1 (creative)
    • toggledownfall - toggles rainfall on or off
    • xp<ник> <количестве>- gives the player a set 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!

    Everyone should at least try to play Minecraft. There is a good chance that this game will become your favorite. Of course, there are those who will not like it, because many do not like the "sandbox" genre as such, but they do not argue about tastes. The main thing - do not give up 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 the case - it has a fairly developed and intriguing multiplayer mode. Moreover, absolutely anyone can create a server, so the game becomes even more attractive from this. But in order to invite your friends, you should figure out how to make your server in Minecraft.

    Downloading the necessary files

    Naturally, you cannot create a server from nothing. 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.

    File launch

    So, you have a downloaded file that will allow you to turn your computer into a Minecraft server. But how can this be achieved? How to make your server from one file? To do this, you need to run it, but be careful - see 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. Only after making sure that it is located in the game folder, run it. In this case, the system may several times ask you for permission for certain functions - you will have to allow everything that you are asked. But don't worry - it's usually just permission to run the file itself, as well as to use Java. This is all absolutely safe, as it was downloaded from the official Minecraft website, and there is no threat to your computer.

    When the file is unpacked, you will find that there is much more content in your Minecraft folder. Congratulations - now you can create your own servers. But, of course, this also needs to be learned. 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.

    Determining and setting IP

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

    The first thing you need to do is change the server's IP address in this file. Since you create it on your computer, you must also specify your own IP address. If you do not know how to do this, then the problem is solved simply - there are a large number of services on the Internet that will tell you network information about your computer in two seconds for free. Remember - you only need the IP address, you copy and paste it into the appropriate line of the file. Save your address though, as you will need to provide it when you start your server after setup. Minecraft servers are monitored precisely by IP, so you should definitely 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.

    Important point - map

    Pay attention to the level-name line, which is set to World by default. This means that the world in which the game will take place is randomly generated. This is a standard scheme that is present in both single player and multiplayer games, and it does not matter if you tried to learn 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, then you will have to change everything yourself. To do this, you will need a map that you created or downloaded from the Internet that you would like to apply to your server. Having placed it in the "Minecraft" folder, you must copy its name and replace the world value in the level-name line with it. Only in this case you will receive not a random world in which the multiplayer battle will take place, but a specific and given one.

    Other properties that can be changed

    Don't think that these are the only two options you can change when interacting with a given 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, enable or disable flight, and so on. There are a fairly 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 fantasy 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. Here you should not have any problems, since everything is done extremely simply. You need to start the game, go into multiplayer mode, and instead of joining other servers, choose 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 in these two cells, you will enter 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 in the 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 will not need much - you only 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, and not 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 in to the server using a username that has not yet been registered. And, of course, do not forget to check the permissions for Java in the antivirus - without it, there will simply be no online play.