How to make a private server in Minecraft. How to create your own server

Over time, the single-player game ceases to arouse the same interest and the moment comes when an irresistible desire appears to take part in an online game.

But what if you don't want to play with strangers that you don't know at all, but just want to play with your friends? Then you can create your own small server to play through. And perhaps in the future you will want to create your own large project, designed for a huge number of people. In both cases, you will need to know how to make your own server for Minecraft.

In fact, creating Minecraft servers is very simple. First, you will need the necessary kernel that will keep your game server running. Today, the most current kernels for game servers are Vanilla Server and BUKKIT. The first type of kernel is intended for those cases when a player wants to create a home server to play with friends. The second type is intended for very serious projects. This type of core supports all the most necessary plugins, from creating spawn points and protecting territories to global plugins that create their own unique features on the server.

Having chosen a suitable kernel, we need to figure out how to run it. To do this, you need to follow several steps to help you do this:

  • We create a folder in the right place where our server will be located.
  • We move our kernel, which we will use, to this folder.
  • Create a .bat file called “start.bat”. We enter the following there:

For 32-bit versions of Windows:

@ECHO OFF
SET BINDIR=%~dp0
CD/D "%BINDIR%"
java -Xincgc -Xmx1G -Dfile.encoding=UTF-8 -jar craftbukkit.jar

For 64-bit versions of Windows:

@echo off
"%ProgramFiles(x86)%Javajre7injava.exe" -Xms1024M -Xmx1024M -jar -Dfile.encoding=UTF-8 craftbukkit.jar nogui

Where craftbukkit.jar is the name of our kernel. If you wish, you can change the name of the kernel.

After you have launched the kernel, the console will appear. In it you can observe all the processes currently occurring on the server. When starting for the first time, you should wait a while as the map is created and the first settings are made. Don't be alarmed if new files and folders appear after the first launch of the kernel - these are the main files of your server. There is no need to delete them under any circumstances; each file is responsible for a specific part of the server. If you know English, then you can figure out what this or that file does. Thus, the Plugins folder allows you to upload plugins there for their operation on the server, and a .log file makes it possible to carefully study its logs in order to identify errors and eliminate them in time.

So, the files are installed, and now you need to turn off the console. You won't be able to log into the server and play on it yet. Now we need to figure out the game settings. To do this, you need to open the server.properties file and look at it carefully. Again, if you more or less know English, you will probably be able to understand where everything is written and what it is responsible for. For now, the best way to get started is to know a few basic parameters that will help you quickly set up your server. Each parameter can be either true or false, or a specific variable.

server-por t= 25565 - this parameter is responsible for the server port. We strongly do not recommend changing it, because... port 25565 is standard for Minecraft servers. It may be different on hosting sites, but it is best to leave it as it is.

level-name=world - the name of your world. Rename your world folder to the name you choose.

pvp = true - this parameter is initially enabled on the server. It allows normal players to damage others. They will be able to arrange various duels, but it may also happen that stronger players begin to kill civilians without their consent, so this parameter should be disabled, that is, set the value false instead of true.

difficulty = 1 — difficulty level. Can take 4 values ​​simultaneously, ranging from the simplest level (0) to the most complex (3).

white-list = false - if you enable this parameter, then only those who are on the so-called “white list” will be able to access the server. For this purpose, there is a special whitelist.txt file in the root folder of your server. By specifying all the player nicknames in this file, separated by a line, they will be able to get to the server, while others will not. This parameter is best used when technical work needs to be done on the server.

online-mode = true - it is because of this parameter that you may encounter the problem that you cannot access your server. He is responsible for ensuring that only licensed accounts can play on your server. By setting the value to false, the server will be available to absolutely all players.

server-ip= — IP of the game server. Leave it blank because... the server itself will determine its address. This is usually your computer's IP. You can find it on any site that allows you to do this.

max-players = 20 - the maximum number of players who can play on your server. The more powerful the computer, the larger the number you can make.

motd = A Minecraft Server - a short description or name of the server that will be displayed in the list of servers. Typically, such text can be decorated with various symbols, and you can even change the color using some plugins.

Having configured the settings file, we can save it and start our server. When the server starts, you can already start promoting it, but here another problem arises. This problem is that the server does not have a single plugin, without which there will be a huge number of . This problem can be fixed in several ways: enable on the game server the ability to log in only to a select few, namely those who are on the white list, or finally download normal plugins that will limit the server from intruders.

The server is ready, the plugins are installed and everything seems to be configured. You can start the server and log into it. How can I access it? Just add it to the list of game servers and enter the required IP address. Where can I find it? The easiest way is to enter the localhost address if you are running the server on a local machine. Usually this method works with high probability. However, if nothing happens, it is enough to enter the IP of the computer, which is recognized through special services, for example 2ip.ru.

I think that in this tutorial I described all the basic possibilities in terms of creating a server. All that remains for you is to develop it, add more and more useful plugins, update the core, and of course, promote your server and make it very popular.

The server in the Minecraft game allows the user to play with other people in the world he created. However, for many players, especially beginners, creating their own server sometimes becomes a problem.

Server capabilities in the game Minecraft

  • The player who created his server completely controls the new space. In this virtual entity, it is possible to place cards on which you can play games with other users.
  • Experienced players who come up with something interesting can enter their developments into the race.
  • Basically, users create their own dimensions and invite outside players through the server to play together.

The process of creating a server in Minecraft

The procedure for inventing and programming your own server in a game is not at all difficult. To do this, you just need to perform the following sequence of actions.

  • Open any browser.
  • Go to the page with the following address: http://www.minecraft.net/download.jsp.
  • Find the file named Minecraft_Server.exe in the list.
  • Download it to your computer's hard drive.
  • After the download is complete, you need to open the folder intended for unpacking the server.
  • Then you will need to transfer the saved file to it.
  • When you double-click on the file, a window will appear that can be closed only after all server installation processes have been completed. In any case, the start of unpacking will begin only when the game port 25565 is connected. After this, the creation of the server will be completed.
  • If during installation the computer port is closed, you need to allow java access to your PC. If some program, for example, antivirus or java, blocks the downloaded file, then you will need to reinstall it on your computer. When re-unpacking, you must remember to indicate the access rights permission value in the firewall message.


Starting a server in Minecraft

After the server has been created, it needs to be launched in Minecraft. This is not difficult to do by following a strict sequence of steps.

  • Run the processed file and wait for the download to complete.
  • Enter the Minecraft game. Here, entering a password and login will be optional.
  • Select Multiplayer mode.
  • Go to Add Server.
  • In the field provided, enter the IP address and name that will be indicated in the lists. Click the Done button.
  • If green bars appear on the right, then the server is working well and is currently online.
  • The next step is to follow the Join Server link.
  • Next, the game will launch from the already created space.

Often, determining your IP address becomes a problem for players, due to its ignorance by ordinary network users. It's actually very easy to recognize. One of the simplest methods is to go to the website www.2ip.ru, where the information you need will be displayed on the screen immediately after going to the resource. Users with a constantly changing IP address will need to update the server-ip= line every time they start the game.

This article introduces the reader to the operating features of a clean (without modifications) Minecraft server of the current version. The server, unlike the client, is distributed free of charge through the official website of the game. The information in this article has been updated to reflect version 1.4.7.

Preparing for work

For the server to work, you need to install the Java package on your PC. It can be downloaded from this page. But if the Minecraft client starts, then this is an indicator that this package is already installed on the computer.

In order to download the server, you need to go to the download page of the official website, to the “Multiplayer Server” section. You can select the server version - .exe (Only for Windows OS users, without console mode) or .jar (universal). Click on the appropriate link and save the file in a separate directory, which will be the main one for your server. When creating a server on Linux or OS X, the main directory of the server is the working directory - use cd /path/to/server/ .

Creating and setting up a server

Introducing Server Settings

When the downloaded file is in the future server folder, run it and wait until the level generation process finishes. You will see that several new files and subfolders have appeared in your folder.

Let's look at the file server.properties. This file contains all the main server parameters. Open this file using any suitable text editor. You will see content something like this:

#Minecraft server properties #Sat Jan 19 19:41:50 MSK 2013 generator-settings= allow-nether=true level-name=world enable-query=false allow-flight=false server-port=25565 level-type=DEFAULT enable -rcon=false level-seed= server-ip= max-build-height=256 spawn-npcs=true white-list=false spawn-animals=true texture-pack= online-mode=true pvp=true difficulty=1 gamemode =0 max-players=20 spawn-monsters=true generate-structures=true view-distance=10 motd=A Minecraft Server

Description of parameters

Parameter Values Default Description
allow-flight true/false false Allows the player to fly around the world of Minecraft. This option only applies to flights in Survival and only has an effect if you have the appropriate plugin (for example, Flight). Flights in Creative mode are not affected in any way.
allow-nether true/false true This parameter determines the possibility of transition to the Lower World. If disabled, all players who were in the Nether will be moved to the normal one. Does not affect the transition to the Edge.
difficulty Number (0-3) 1 Difficulty: 0 - Peaceful 1 - Easy 2 - Normal 3 - Hard
enable-command-block true/false false Allows the use of a command block. This option is not generated on first boot, but appears the first time you try to use a command block.
enable-query true/false false Allows you to activate the GameSpy4 protocol to listen to the server (obtain information about the server).
enable-rcon true/false false Allows you to use remote access to the server console.
gamemode Number (0-2) 0 Standard game mode, automatically installed for all players who log into the server for the first time. The mode of an individual player is changed with the /gamemode command.
0 - Survival 1 - Creative 2 - Adventure (available starting 12w22a) generator-settings No Line
This line specifies the template for generating a superflat world. See superplane for details. true/false true generate-structures
Whether to generate structures (treasuries, fortresses, villages...) true/false false hardcore
Enables Hardcore mode on the server. After death - ban, you cannot reconnect. level-name Folder name world
The name of the folder with map files that the server will use during the game. This folder is located in the same directory where the server is located. If it is not there, the server will automatically generate a new world and place its files in a folder with this name. level-seed generator-settings Any acceptable grain
Input data (grain) for the level generator. If you want to create a random world, leave this field blank. level-type DEFAULT/FLAT/LARGEBIOMES DEFAULT
Defines the world type. Multiple of 16 (64 - 256) 256 Specifies the maximum building height on your server. Above this level it will not be possible to break or place blocks. Terrain can be generated above this level, and blocks can also be destroyed using TNT and fire. In addition, buckets work above the border (bug).
max-players Number (0-2147483647) 20 Specifies the maximum number of players allowed on the server.
motd String shorter than 60 characters A Minecraft Server Description of the server, displayed when connecting in the list of servers. Supports text formatting.
online-mode true/false true This setting allows you to enable/disable authentication of premium accounts of users who connect to this server. If false- the program will not check player accounts and players whose accounts do not have the “premium account” status will be able to log into the server. If the parameter value true, only users with a premium account will be able to access the server. If account verification is disabled, “pirates” and players who have faked their nicknames will be able to access this server, which is somewhat unsafe. An administrator who creates a server in this mode does not violate the terms of the user agreement, since this option was added to the list of configurable server parameters intentionally - by disabling the check, you can, for example, play on a local network without access to the Internet.
pvp true/false true Enables/disables players receiving damage from attacks of other players on the server. At true players will be able to “fight” among themselves, killing each other. If set to false, players will not be able to deal direct damage to each other.
query.port Number (1-65535) 25565 Port for obtaining information about the server. Appears automatically when enable-query=true .
rcon.password No generator-settings Password for remote access to the server. Appears automatically when enable-rcon=true .
rcon.port Number (1-65535) 25575 Port for remote server control. Appears automatically when enable-rcon=true .
server-ip Any valid IP address generator-settings Specifies the server IP address that will be used by other players to connect to this server. It is recommended to leave this field blank, but if you want to give the server a special IP address, you can use this parameter to set it.
server-port Number (1-65535) 25565 This parameter determines the value of the port in the TCP and UDP protocols that the game server will use. The standard port for Minecraft is 25565. It is recommended not to change the value, because To enter a server using a standard port, the player will only need to type the IP or DNS address without specifying the port, and when using other ports, there is a possibility that this port will already be occupied by another network resource. If you still want to specify the port manually, choose larger numbers and avoid popular ports: 80 and 8080 (web server), 21 (ftp server), 22 (ssh server), 143 (imap), 6969 and 6881-6889 (bittorrent), etc. For example, port 25000 is suitable.
snooper-enabled true/false true Allows the server to send some statistics and data to developers.
spawn-animals true/false true Likewise spawn-monsters, but for friendly mobs (cows, pigs, sheep...).
spawn-monsters true/false true If the parameter value true, then, as in a single-player game, at night and in dark caves hostile mobs will appear on the map and will try to harm players on the server. If the value false, hostile mobs (e.g. skeletons, zombies) will not automatically spawn during the game, however they can be spawned using modifications. All mobs on the map will remain.
spawn-npcs true/false true Allow NPCs to appear in villages.
spawn-protection Number (1-100) 16 The radius of protection of the spawn territory in blocks (only operators can change this territory). A radius of 0 gives protection to a single block, 1 to a 3x3 zone, and so on. This option is not generated on first boot, but appears when the first player joins the server. After 1.4.2, spawn protection is automatically disabled if the server does not have any operators.
texture-pack File name generator-settings The location of the textures that the server will offer to download to the player upon connection. In this field you need to specify the name of the zip archive located in the server folder.
view-distance Number (3-15) 10 Adjusts the radius of updated chunks to be sent to the player. For reference: draw distance Far displays an area within a radius of 9 chunks.
white-list true/false false Allows you to enable/disable the use of whitelist on the server. At true The server administrator will need to manually add player nicknames to the white list. If set to false, any player will be able to access this server, knowing its IP address and port. Server administrators have the ability to log into the server regardless of the white list.

Immediately before starting to play on the server, you can configure the above server parameters.

  • Field server-ip It is best to leave it empty - the game itself will determine and configure this parameter. But if you want to assign a special IP address to the server, you can change this setting.
  • Field gamemode indicates a game mode that will be automatically enabled for all players who log into the server. The game mode for a specific player can be changed during operation.
  • If you have enabled white-list, make yourself an operator or add yourself to the whitelist.
  • When filling out the field max-build-height If the number is not suitable, the server automatically selects the closest number possible to use.

Any change to the settings in this file requires a server restart. In addition, the server can sometimes write changes to this file, so it is better to reconfigure when the server is offline.

Setting up a connection to the server

It is worth noting that players from both the local network and the Internet can play on the server at the same time.

Connect to your own server

If you keep the server on the same computer you are going to play on, all you need to do to connect is enter the address 127.0.0.1 or localhost . This address uses a virtual network interface (loopback), which is always available, even if the computer does not have a network card.

If you cannot connect even through the loopback interface, this is a reason to check your antivirus and firewall settings. Add Minecraft Server and port 25565 to the exceptions.

Server on local network

The process of setting up a game server over a local network is much simpler than creating one accessible from the Internet, and is easier in terms of errors occurring when connecting to the server.

In addition, your address may be permanent, static, or change every time you reconnect to the provider, that is, be dynamic. The easiest way to determine the type of address is to reconnect the modem and compare external IP addresses. If after reconnecting the modem the IP address has changed, this means that you have a dynamic IP address. Dynamic addresses are more common than static ones, but when creating a game server, it is recommended to have a static IP address, since the dynamic address changes every time you reconnect to the ISP (and you will have to constantly communicate the new address to your players). However, a static address is not a necessary condition for the server to operate.

In addition, there are services (including free ones) that provide third-level domains, for example, dyn.com/dns/. Address updating is usually done using a special program that you will need to install on your computer, but some modems and routers can perform this function themselves (look in the router interface for Dynamic DNS). Many providers offer a static IP address as an additional service.

Connecting to the server

To connect to your server, players must enter your server IP address in the game client. external IP address or domain (website address) and click the connect to server button. The external IP address can be found out by the server owner and told to players who want to connect to his server. The following sites can help you find out your external IP address: SpeedTest.net, 2IP.ru, Smart-IP.net.

If players cannot connect to your server, see the section.

Server via VPN

If you are having problems with internal IP address, you can try Hamachi, P2PLauncher, EasyVPN, Garena or similar services. The most popular of them is Hamachi. The server creator and those connecting must download and install Hamachi. Further:

For the server:

  1. Create a room.
  2. leave server-ip empty.
  3. Start the server.
  4. Communicate your IP in Hamachi (next to the connect button) to those connecting.

For players:

  1. Enter the room with the server.
  2. Try to connect using the received IP.

The easiest to use is the P2PLauncher program, which connects computers through a peer-to-peer network. Just put it in the game folder and run it. On server:

  1. Enter a nickname (aka the future name of the server) and the name of the room, click “Start server”.
  2. Tell the name of the room and your nickname to those who want to join you.

On the client:

  1. Launch P2PLauncher. Enter your nickname and room name, click “Launch client”.
  2. For the server name, use the nickname of the player who created the server.

Opening ports

Opening, or port forwarding (Port Forwarding) allows clients connecting from the Internet to access a server that resides behind a router or modem. The problem with opening ports often occurs when creating a server on a local subnet. Your router or modem may be blocking the port that the game server is trying to use. For different models, this procedure occurs slightly differently.

There are 2 ways to open ports:

  • The website portforward.com presents a collection of special software that is designed to open ports on various modem models. Go to this site and find the model of your modem or router in the list. Go to your model's page and download from there a utility designed to open ports. Use it to open the port that your server uses (by default 25565 ).
  • Log into the web interface of your modem or router through a web browser. As a rule, to enter it, in the web address input line you need to enter 192.168.1.1 or 192.168.0.1 . Once you are in the web interface menu, find the item Port Forwarding or NAT. Once this menu opens, you will need to enter some parameters. Parameters that may be required: Start Port - 25565, End Port - 25565, IP adress - local IP address of the computer on which you are creating the server (for example, 192.168.1.2), Protocol - first enter TCP, and then repeat the entire procedure again for the UDP protocol. Examples of opening ports for many modem models can be found at portforward.com.

Example of using the PFPortChecker program

To check if the port opening procedure was successful, ask someone outside your local network to connect to the server using the external IP address (you can also try to connect to yourself using the external address yourself, but failure in this case does not always mean the server is unavailable) . Or download and install the PFPortChecker program. In field Port enter the port number you tried to open. In field Protocol select UDP first and then TCP. Then click the check button. After the check is completed, the program will display 3 totals for TCP and 3 for UDP. If the text of all 6 test results is green, then the procedure was completely successful. For an example, see the screenshot on the right.

Server administration

This section describes the elements of server administration - the process of managing and maintaining the correct operation of the server while it is running using the command line and graphical interface elements.

GUI Description

The GUI of the server window consists of the following elements:

  1. Information window. This window displays information about the amount of RAM used, dynamically builds a graph of the amount of RAM used, etc.
  2. List of players. This window displays a list of nicknames of all players who are connected to the server.
  3. Log and chat. This displays information about the state of the server, errors, the outcome of operations, the use of server control commands by players, etc. All messages sent by players in chat are also displayed here. All information that is in the log window is automatically written to a file server.log, located in the same directory where the server is located.
  4. Command line. This panel is the most important part of the GUI. From it, the administrator can administer the server: add to the whitelist, ban, give players items or operator powers (see below), save the map, stop the server, etc.

Console mode

In console, or nogui, mode there is only a log and a command line. They perform the same functions as the corresponding graphics mode windows.

You can only run the .jar version of the server in console mode ( minecraft_server.jar). To do this, you need to specify the nogui parameter in the launch command:

Java -Xmx1024M -Xms1024M -jar minecraft_server.jar nogui

Description of available commands

Commands in the game are divided into two groups: for operators and players. With their help, you can gain access to some useful features, and operators can monitor the state of the server.

FAQ

Q: Players cannot destroy blocks; everything broken is returned back. How to fix it?
A: Near the spawn point there is a protected area in which only server operators can place and destroy blocks. That is, players just need to move about 30 blocks in any direction.

Q: The message “Can"t keep up! Is server overloaded or system time changed?” appears in the server log all the time. What does it mean?
A: This means that the server is currently overloaded and its operation may not be entirely correct. You can reduce the load on the server by closing all third-party programs, thereby reducing the load on the processor and freeing up additional RAM. You can try restarting the server. The speed of the server greatly depends on the number of players playing on it.

Q: Players are complaining that the server is terribly laggy. How can I fix this?
A: Perhaps the Internet connection speed is insufficient, or the computer hardware is too weak. Try to minimize the use of Internet traffic (close Internet browsers, torrent clients, etc.) and reduce the load on the use of computer resources. Add Minecraft_Server.exe to the exclusion list of your firewall/antivirus, or better yet, turn them off. Try restarting the server. Ask players experiencing lag to reconnect to the server - it may be a client-side lag issue.

Q: Players cannot connect to my server. What to do?
A: First, try connecting to it yourself, using the server IP address localhost. If you were unable to connect, the server was created completely incorrectly. You may have made a mistake when configuring the file server.properties, or your antivirus is aggressively blocking the game server. If you managed to connect to your own server, check whether you have correctly determined your own IP address. Perhaps you forgot to open the ports that the game server uses. Review the server log for errors - they may indicate to you the cause of the problem.

Q: When connecting, players receive the message "Outdated server!" / "Outdated client!"
A: Server and client must be the same version, check this carefully.

Q: I want to run my single player map on the server. How can I do it?
A: From folder saves, which is located in the installed game directory ( .minecraft), move the folder with your map (for example, New World) to the folder where the game server is located. Don't forget to change level-name in file server.properties, if your folder is named differently than the current server folder. The transfer must be carried out with the server turned off.

Q: How can I create a new world?
A: Delete all files from your server world folder or specify a new world name in the parameter level-name in file server.properties.

Q: I want to update the server. What is needed for this?
A: Make a backup first - if something goes wrong, you can restore the server from the backup. Then download the server executable file from the official website again and replace your old one with it. Then start the server - all settings, maps and players should be saved.

Q: How can I add functions to the server? /home /warp /spawn and others?
A: Look in Bukkit plugins. For example, there is a great CommandBook plugin.

Q: When creating a server, a message appears in the log: “FAILED TO BIND TO PORT. Perhaps a server is already running on that port?”. What to do?
A: This means that the port the server is using is already occupied, or access to it is blocked. Disable your antivirus and firewall, programs that use the Internet. You probably specified a port that is used by another program (for example, a web server or torrent client) or you forgot to open the ports on the modem/router before creating the server. To find out how to do it, see the last section of this article.

Q: A message appears in the server log: “%username% lost connection: End of stream.” What should I do?
A: This problem can sometimes occur on the Windows XP SP3 operating system. Try running the server on a virtual machine (for example, VirtualBox) or change the operating system.

Q: When starting the server I get an error that my version of Java is out of date. How do I know what version of Java I have?
A: The game requires Java 6 to run. To check your version, do the following:

  1. Open a command line (console, terminal):
    • Windows: -> cmd ->
    • Linux: Menu placement varies depending on the shell, usually Applications -> System / Accessories -> Terminal
    • OS X: In the Dock or Finder: Programs -> Utilities -> Terminal
  2. At the command prompt, type java -version and press Enter
  3. In the response, find the line starting with java version. The number next is the Java version.

If you receive a message like this in response:

Java is not an internal or external command, executable program or batch file (Windows) bash: java: command not found (Linux & OS X)

this means that you do not have Java installed or the environment variables are not configured (the latter is usually only for Windows). Try the following:

  1. Right click on My Computer
  2. Click on Properties
  3. Click on Advanced system settings
  4. Click on Environment Variables
  5. In the list of system variables, find the Path variable
  6. Click Edit and add to the end: ;%ProgramFiles(x86)%\Java\jre6\bin
  7. Reopen Command Prompt and try again

If your version is lower than 1.6 or you do not have Java installed, go to the Java download page and download the latest version.

Q: I have a dynamic IP! But I don’t want to buy a static address for the sake of a Minecraft server....
A: Using services like DynDNS or No-IP, you can get a static third level domain (myminecraft.dyndns.org, serverminecraft.zapto.org...)

  • Tutorial

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 gained millions of fans around the world.

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

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

Servers for multiplayer games are organized by the players themselves and their communities. Today there are tens of thousands of game servers operating on the Internet (see, for example, the list here).

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

Choosing a platform

Minecraft includes the following architectural elements:
  1. server - a program through which players interact with each other over the 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 functions or expand old ones;
  4. mods are 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.

Let’s immediately make a reservation that this section will provide tips related only to optimizing the game server. Issues of fine-tuning and optimization of 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 a timely manner. They can be caused by problems on both the client side and the server side. Below we will give recommendations that will help reduce the likelihood of problems occurring on the server side.

Regularly monitor 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 strive to reduce the load with each new version.

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 plugins, 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.

Restrict the map and load it yourself

If you do not limit the map, 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 run 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 is better to do it once, closing the server for technical work. If each player draws the map, the server will work slowly.

Replace heavy-duty plugins with faster and less resource-intensive ones

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

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

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

To make the server work 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 anti-cheats for Minecraft as well. Any anti-cheat is always an additional load on the server. It is preferable to install protection for the launcher (which, however, does not provide an absolute guarantee of security and is easily broken - but this is a topic for a separate discussion) and for the client.

Instead of a conclusion

Any instructions and recommendations turn out to be much more effective if they are supported by specific examples. Based on the installation instructions above, we created our own Minecraft server and put some interesting things on the map.

Here's what we got:

  • Bukkit server - stable recommended version 1.6.4;
  • Statistics plugin - to collect statistics about players;
  • WorldBorder plugin - 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 enter the address mncrft.slc.tl.

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

Readers who cannot leave comments here are invited to join us on the blog.

Tags:

  • selectel
  • minecraft
  • dedicated server
  • game server
  • selectel
Add tags

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 instruction:


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: 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: 8562)

(downloads: 7412)

(downloads: 32867)


(downloads: 263)

(downloads: 20282)

(downloads: 14473)

(downloads: 824)

(downloads: 16766)

(downloads: 217)

(downloads: 692)

(downloads: 346)

(downloads: 102)

(downloads: 194)

(downloads: 106)

(downloads: 9506)

(downloads: 7654)

(downloads: 11992)

(downloads: 316)

(downloads: 178)

(downloads: 165)

(downloads: 169)

(downloads: 508)

(downloads: 207)

(downloads: 474)

(downloads: 4029)

(downloads: 4629)

(downloads: 213)

(downloads: 270)

(downloads: 229)

(downloads: 1340)

(downloads: 978)

(downloads: 229)

(downloads: 160)

(downloads: 1592)


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 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 a new server, you can use IP "127.0.0.1" (Without quotes) or "localhost".



1) Download the server version you need:

(downloads: 39693)


(downloads: 250)

(downloads: 18346)

(downloads: 13956)

(downloads: 718)

(downloads: 1312)

(downloads: 14897)

(downloads: 574)

(downloads: 222)

(downloads: 8409)

(downloads: 6894)

(downloads: 387)

(downloads: 175)

(downloads: 386)

(downloads: 181)

(downloads: 250)

(downloads: 6536)

(downloads: 6256)

(downloads: 231)

(downloads: 352)

(downloads: 1763)

(downloads: 1562)

(downloads: 146)

(downloads: 1697)

(downloads: 307)

(downloads: 257)


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 how to create it:

(downloads: 93905)

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 is a 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) Go to the game, to 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: 211611)

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.