How to add a server file for minecraft. Creating and setting up a Minecraft server

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 release new version; Cons: Not many plugins; Low optimization of resource use; You will have to install Forge separately if mods are needed.


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


Spigot- More optimized core based on Bukkit. Pros: Many improvements over bakkit; All plugins written in Bakkit work smoothly on this core. 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: 6695)

(downloads: 6842)

(downloads: 30288)


(downloads: 233)

(downloads: 20230)

(downloads: 14446)

(downloads: 799)

(downloads: 16740)

(downloads: 215)

(downloads: 683)

(downloads: 336)

(downloads: 101)

(downloads: 191)

(downloads: 104)

(downloads: 9476)

(downloads: 7579)

(downloads: 11945)

(downloads: 312)

(downloads: 178)

(downloads: 162)

(downloads: 169)

(downloads: 506)

(downloads: 205)

(downloads: 470)

(downloads: 3932)

(downloads: 4478)

(downloads: 206)

(downloads: 267)

(downloads: 223)

(downloads: 1320)

(downloads: 962)

(downloads: 227)

(downloads: 159)

(downloads: 1566)


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


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


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


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



1) Download the server version you need:

(downloads: 35937)


(downloads: 231)

(downloads: 18320)

(downloads: 13919)

(downloads: 702)

(downloads: 1265)

(downloads: 14882)

(downloads: 561)

(downloads: 217)

(downloads: 8386)

(downloads: 6813)

(downloads: 385)

(downloads: 175)

(downloads: 381)

(downloads: 180)

(downloads: 249)

(downloads: 6427)

(downloads: 6081)

(downloads: 230)

(downloads: 348)

(downloads: 1747)

(downloads: 1533)

(downloads: 145)

(downloads: 1685)

(downloads: 299)

(downloads: 254)


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

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

(downloads: 90557)

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

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.

Hello friends.

In this article we will install local server to your computer for subsequent development and configuration of sites on it.

To do this, we will use a program called Denwer. Its installation is simple and does not require any technical knowledge. Moreover, the installation process is accompanied by prompts.

How to install a local server and whether it is needed at all, read on. Let's start by looking at the importance of a local server.

Do I need a local server?

For beginners, I’ll start by defining the concept of “local server” - this is a server (hosting) that is located on your computer (not on the Internet) and allows you to create and configure websites on it.

I believe that it is necessary to create and further configure the site on a local server, so that then in one fell swoop you can place a fully functional site with all the settings on the Internet. And then immediately fill it with content.

This is what truly professionals in website creation do. Even if we look at people who constantly work with creating websites on various engines, we will see that almost each of them first installs the site on a local server, then configures it, and only then transfers it to real hosting.

As an example, I’ll show you the menu from Sergei Patin’s course "Joomla 3 - professional website in one day". Look at the sequence in which the website is created.

As you can see, from the very beginning the site is installed locally, configured, and at the end the completely finished resource is transferred to hosting.

Placing a website on the Internet and then setting it up when you need to promote it is unwise.

What if you already have a website? Do you need a local server?

Let's imagine the situation that you already have a website and you are a very avid techie, that is, you like to always delve into all sorts of technical issues and constantly experiment with something.

So, you already have a website and there are already some visitors on it. Even if not a large number of, but they exist. Put yourself in their shoes.

You go to a website and constantly see that the owner of the site or blog is constantly changing something. It changes the location of blocks on the site, the structure, and sometimes the design is new every day. Would you like this? So visitors wouldn’t really like this situation.

Developing, setting up websites, as well as creating designs on a website that is already posted on the Internet is, at a minimum, not professional. Not to mention the fact that it has a very adverse effect on his development and approval in the eyes of search engines and your audience.

Therefore, you need to do all such things on your local computer.

Now we will start installing it, after which you can install it on local computer your website and do whatever you want with it. Visitors will not see these frauds, because... This is your personal computer and no one has access to it. And after you bring everything to its final state, you can easily transfer it in a completely finished form to a real website.

By the way, I also talk about the importance of a local server when creating a blog in my mind map “Plan for creating a quality blog from Konstantin Khmelev,” which you can get by leaving your 1st comment.

Let's move on to the installation process itself.

Install a local server on your computer

The local server is a program. Therefore, you need to download it. We will use the web for this Denwer server.

Go to the official website program and click on the big button.


After clicking, you are prompted to select the program version. Choosing a version old PHP 5.2 and press the button Download.


In the next window we need to enter the data where the link to download Denwer will be sent. Enter your real data and click on the “Get download link” button.


After clicking the button, you will immediately receive an email with a link to download the program. The sender and subject lines of the letter will be as follows (see screenshot below).


After downloading, in the location where you saved the program you will have an installer that will look like this.

To start installing the local server, run the installer.


It asks us if we want to install the base package? We agree.


The unarchiving of the data will begin and will proceed very quickly.

After unpacking the data, the installation of the local server will begin, which will be carried out on the command line. Immediately when it starts, we will be asked to close the browser.


Automatically, when the command line appears, the browser will open with a message that you must close the browser to continue or cancel the installation.


You should also close other browsers if the command line installation will not continue.

After closing all Internet browsers, installation will continue. You just need to follow the prompts that the command line gives.

To continue the installation, press Enter.


I'll install it in another place. In my case it's a disk E folder host.



In the next step, press Enter again.


The next step is to select a virtual disk letter. By default, the program prompts you to select drive Z, since this letter is the last in the English alphabet and it is unlikely that any drive is occupied by it.

I'll leave it like that. You can enter another letter, but make sure that no drive is occupied by it.

After selecting and entering the letter, press Enter to continue installing the local server.



After copying is complete, you must select the Denwer launch option.

There are 2 launch modes, but the program itself recommends choosing option 1. That’s what we do. Enter the number 1 in command line and press Enter.


  • launch;
  • stops;
  • reboot.

We need these labels. Therefore, enter the letter Y and press Enter.


It was final stage installing a local server, after which the browser will automatically open with the words “Denver installed successfully”, and it will also be written that Denwer works with the same ports as Skype.

Therefore, if you have Skype installed, then do what is written in the browser window.


It will also create the desktop shortcuts that we wanted so much.

  1. Start Denwer - start Denver;
  2. Stop Denwer - stop;

All. Our local server is installed. Now all that's left to do is check it out a little. Launch and see if our virtual disk, which will act as a local server, actually starts.

Before we launch, let's go to the directory where we installed Denver and see what's there.

Since I installed on drive E in the host folder, now there should be such a folder on my drive.


The way it is. And inside the folder there should be the Denver files themselves. We go inside the folder, where we should see the following picture.


There are files. This means everything was successfully copied during installation.

Now let's check whether Denwer itself starts. Let's use the shortcut to launch.

After launching the shortcut, 2 command lines will quickly flash. When they disappear, 2 shortcuts will appear on the taskbar.

If such shortcuts appear, then Denwer is running. A virtual disk with the letter Z should also appear in my case. In your case, with the letter you assigned. Also, this disk should be named similarly to the disk in which you installed Denver itself.


As you can see, there is drive "E", which I installed in, as well as drive "Z", which appeared after launching Denver. They have the same names. Both disks are named "Local Disk". Only the letters are different.

If we go to the virtual disk (Z), we should see the same files and folders in Denver that we looked at earlier.


All friends. This completes the installation of the local server. Now you can start creating a website on it and do any manipulations with the site.

In the next article I will show. You will also find a detailed article with images and a video tutorial there.

By the way, about the video lesson. If someone doesn’t understand something from the text version, then here’s a video lesson that I specially recorded for you.

With this I will say goodbye to you. I look forward to your comments and any ideas for new blog articles. If something doesn’t work out or you have any questions, write them in the comments.

All the best.

Best regards, Konstantin Khmelev.

Due to the fact that my blog is absolutely devoid of any chronology, I decided to correct this. The next series of articles will be devoted to creating your own website.
In this article we will look at: what is a local server, where to download it, how to install, how to setup, how to make a local server accessible on the Internet.

What is a local server?

Local server– software that allows you to debug a website on a local (home) computer, without access to the Internet. A local server completely imitates the work of hosting and has similar functionality.

Those who have been involved in website building using only html and css know that there is no need for a local server, since the browser perfectly processes and understands the language hypertext markup and cascading style sheets. But, as soon as you add some PHP script, you will immediately be embarrassed - the browser will not produce the result PHP work. This happens because browsers do not understand PHP. And in order for the user to see the site page in the form in which this page should be, it is necessary for the server to process and convert the PHP code into html.

All CMS a la WordPress and Joomla contain PHP scripts. Accordingly, so that sites created using content management systems can work on home computer, a local server is required.

My site was created with using WordPress, you constantly have to test some plugins, extensions, delve into PHP code. It is quite logical that sooner or later, such actions can lead to the loss of functionality of the site due to an error. Of course, most hosting providers support recovery (back-up) of the site and database. Yes, and competent web masters keep a spare one on their computer, just in case. I'm generally paranoid, in addition to hosting and my computer, I also recorded it on a flash drive. We'll have to go somewhere else cloud service throw =).

And we shouldn’t forget that not all plugin developers care about the correct deletion of their products, and often, even after deleting a product, you can see traces of an incompletely erased plugin in the database. And the longer the site lives, the more such rubbish will hang in the database.

As a matter of fact, a local server will help you cope with the listed tasks and problems (and more).

How to create a local server?

In fact, you don’t need to create a server, everything has already been created, you just need to download and install the ready-made set necessary components. We'll look at installing and configuring one of the popular local servers below.

How to install a local server?

One of the most popular and stable local servers – Denver. The name stands for: gentleman's web developer kit - D.N. V. R. We'll look at its installation.

Basic package contains:

  • Installer.
  • Apache server.
  • PHP 5.
  • MySQL5, which supports transaction.
  • phpMyAdmin - system MySQL management, allowing you to work with databases through a browser.
  • Sendmail and SMTP server emulator - simulating the function of sending mail. All sent letters will be located in the Z:\tmp\!sendmail directory in .eml format, and will not be sent to the specified email.

One of the advantages is that the server can be installed on a flash drive. And wherever you find yourself, you can work on your projects.

And, of course, the most important plus is that Denwer is absolutely free.

Denwer installation

    1. Run the downloaded file and agree to install the base package.

    2. Then, a browser window will open, which must be closed to continue or cancel the installation.
    3. To continue the installation, press Enter.

    4. Then, you need to specify the directory in which the files will be located. Default: C:\WebServers. Feel free to press Enter and continue.

    5. Following the instructions, press Enter.
    6. Next, the installer will prompt you to select a virtual disk letter. By default, the letter Z is suggested. If there is no disk with that name on the computer, then you can safely continue the installation by pressing Enter, but if there is, then select another one.

    7. After all the distribution files have been copied, you will be offered a choice of 2 options for creating a virtual disk:
    1. A virtual disk is created when the computer is turned on.
    2. Create a virtual disk only when explicitly called, that is, when you click the start shortcut on the desktop (I chose this option).

That's all, this completes the installation of Denver.

Now you can test the local server. If everything is done correctly, then 3 shortcuts will appear on the desktop: Start Denwer, Stop Denwer, Restart Denwer.

Click Start Denwer to launch. If you go into my computer, you can see that the selected local disk. And in the tray (near the clock) 2 icons will appear in the form of a hat and a feather.

Open a browser window and enter the following in the address bar: http://localhost/

A window will open with the message: “Hurray, it’s working!”, symbolizing that everything was done correctly and you can safely start working with a local server.

The page that opens contains a lot of useful information:

  1. You can find the necessary documentation for PHP, MySQL, Apache, Perl, PostgreSQL using the appropriate search.
  2. Since Denver is free software, to support the project, the creators accept donations from grateful users. Well, I noticed affiliate link to Gino's hosting.
  3. You can check the functionality of the components by clicking on the following links:

subdomain.localhost/ssl.php - check if SSL is active.

subdomain.localhost/ - we check “non-Internet” second-level domains, as well as SSI

test1.ru/ - checking second-level domains.

subdomain.test1.ru/ - checking subdomains (subdomains)

localhost/Tests/phpnotice/index.php - you can test PHP Notice interception.

localhost/Tests/PHP5/index.php5 - information on PHP 5.

localhost/Tools/phpMyAdmin - access to phpMyAdmin and MySQL.

custom-host:8648 - check a host with a different IP address and port (127.0.0.2:8648)

localhost/Tests/sendmail/index.php - checking the operation of sendmail (sending mail).

Denver site displayed in hieroglyphs

The problem with hieroglyphs sometimes happens if the utf-8 encoding is used. In Opera and Chrome, creepy rock inscriptions were displayed instead of my text. A Internet Explorer, oddly enough, he showed everything as it should. But be that as it may, the problem must be solved. And you can do this in the following way:

Create a .htaccess file in the root directory of the site (in the www folder) and write the following there: AddDefaultCharset UTF-8

If the file already exists, then simply add this line there.

How to remove Denver?

Uninstall through the control panel - uninstalling Denver programs will not work, since it does not write files to the Windows directory and does not leave entries in the registry, so an uninstaller is not needed. Therefore, we simply delete the folder with the local server files (after stopping Denver using a shortcut on the desktop): C:\WebServers, delete the shortcuts from the desktop and from Startup.

How to make a local Denwer server accessible on the Internet.

The first thing to understand is that Denver is for... local use. And the developers warn that by making a local site visible on the Internet, you can expose local machine the danger of being hacked, since Denwer is not a reliable and full-fledged server.

Denver runs with administrator rights, so unfinished scripts can pose a potential danger, namely, opening a “hole” through which a hacker can harm the computer.

If you are a competent administrator and fully understand what you are doing, then to open access to a local site you should:

  1. First of all, you need to have a static IP address. Dynamic IPs will change when the machine (router) is rebooted.
  2. Windows has a built-in antivirus - a firewall that blocks access from external computers. In order to make the local site accessible, this blocking must be disabled in Start - Windows Firewall. It should be understood that this will also reduce the protection of your computer.
  3. Well, the last thing you need to do is create virtual disk Denver has such a hierarchical folder structure: /home/192.168.0.1/www

Instead of what is indicated in previous paragraph IP address, you must indicate your own, issued by your Internet provider.

If the provider provides, in addition to the IP address, a domain linked to it, then the site will be accessible through it.

In the next article we will look at WordPress installation to the local server.

HAPPY NEW YEAR 2014 EVERYONE!!!

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

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 client Minecraft starts, this is an indicator that this package is already installed on the computer. (Minecraft can now be installed through an installer that downloads Java for itself. In this case, you still need to install Java.)

In order to download the server, you need to go to the download page of the official website. 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 the command 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 #Thu Jul 07 16:45:52 MSK 2016 generator-settings= op-permission-level=4 allow-nether=true level-name=world enable-query=false allow-flight=false announce-player- achievements=true server-port=25565 max-world-size=29999984 level-type=DEFAULT enable-rcon=false force-gamemode=false level-seed= server-ip= network-compression-threshold=256 max-build-height =256 spawn-npcs=true white-list=false spawn-animals=true snooper-enabled=true hardcore=false resource-pack-sha1= online-mode=true resource-pack= pvp=true broadcast-console-to-ops =true difficulty=1 enable-command-block=false player-idle-timeout=0 gamemode=0 max-players=20 max-tick-time=60000 spawn-monsters=true view-distance=10 generate-structures=true motd =A Minecraft Server

Description of parameters

Parameter Values Default Description
allow-flight true/false true Allows the player to fly around Minecraft world. This option only applies to flights in Survival and only has an effect if there is a corresponding 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.
announce-player-achievements true/false true This parameter determines whether the server should send chat messages about achievements.
difficulty Number (0-3) 0 Difficulty level: 0 - Peaceful 1 - Easy 2 - Normal 3 - Difficult
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.
force-gamemode true/false false If true, then when connecting to the server the player’s game mode will change to the standard one specified in gamemode.
gamemode Number (0-3) 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 - Creativity 2 - Adventure 3 - Observation
generator-settings No Line This line specifies the template for generating a superflat world. See superplane for details.
generate-structures true/false true Whether to generate structures (treasuries, fortresses, villages...)
hardcore true/false false Enables Hardcore mode on the server. After death - transition to observer mode.
level-name Folder name world The name of the folder with map files that the server will use during the game. This folder placed 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 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 / AMPLIFIED DEFAULT Defines the world type.
max-build-height Multiple of 16 (64 - 256) 256 Indicates maximum height buildings 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 (error).
max-players Number (0-2147483647) 20 Indicates the maximum permissible quantity players on the server.
motd Line no more 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, this server“pirates” and players who have faked their nicknames will be able to enter, 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 local network and without Internet access.
op-permission-level Number (1-4) 3 Allows you to change operator rights. 1 - Operators can break/place blocks within the protection radius of the spawn area. 2 - Operators can use the commands /clear , /difficulty , /effect , /gamemode , /gamerule , /give , / , and can modify command blocks. 3 - Operators can use the /ban , /deop , /kick , and / commands. 4 - Operators can use the /stop command.
player-idle-timeout Number 0 If not set to zero, players will be automatically disconnected from the server if they have not done anything for the specified time (in minutes).
pvp true/false 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 Line No 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 .
resource-pack File name No The location of the resources that the server will offer to download to the player upon connection. In this field you need to indicate direct link to a zip archive.
server-ip Any valid IP address No 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 defines the port value in TCP protocols and UDP, which the game server will use. Standard for Minecraft port - 25565. It is recommended not to change the value, because to log into a server using a standard port, the player will only need to dial IP or DNS address, without specifying a port, or 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 23000 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 spawn eggs. 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). Radius 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.
view-distance Number (3-15) 10 Adjusts the radius of updated chunks to be sent to the player. For reference: draw distance Far in versions before 1.7, displays an area within a radius of 10 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 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.
max-world-size Number (1-29999984) 29999984 Sets the world boundary at the selected radius, starting from the zero coordinate. Setting a boundary that goes beyond the boundaries of the world will not do anything.

For example

  • If a radius of 1000 blocks is specified, then you will get working space 2000 x 2000 blocks.
  • If a radius of 4000 blocks is specified, then you will get a workspace of 8000 x 8000 blocks.
network-compression-threshold Number 256 By default it allows packets that are n-1 bytes big to go normally, but a packet that n bytes or more will be compressed down. So, lower number means more compression but compressing small amounts of bytes might actually end up with a larger result than what went in. -1 - disable compression entirely 0 - compress everything

Note: The Ethernet spec requires that packets less than 64 bytes become padded to 64 bytes. Thus, setting a value lower than 64 may not be beneficial. It is also not recommended to exceed the MTU, typically 1500 bytes.

resource-pack-sha1 Line blank Optional SHA-1 digest of the resource pack, in lowercase hexadecimal. It"s recommended to specify this. This is not yet used to verify the integrity of the resource pack, but improves the effectiveness and reliability of caching.
use-native-transport true/false true Linux server performance improvements: optimized packet sending/receiving on Linux true- Enabled. Enable Linux packet sending/receiving optimization false- Disabled. Disable Linux packet sending/receiving optimization
max-tick-time Number (0 - (2^63 - 1)) 60000 The maximum number of milliseconds a single tick may take before the server watchdog stops the server with the message, A single server tick took 60.00 seconds (should be max 0.05); Considering it to be crashed, the server will forcibly shutdown. Once this criteria is met, it calls System.exit(1). -1 - disable watchdog entirely (this disable option was added in 14w32a)
broadcast-console-to-ops true/false true Send chat messages about using op commands such as give or gamemode. true- send false- do not send

The first line "#Minecraft server properties" is necessary for the server to determine that this is the correct one server file.properties that it will use in this moment.

The second line "#Thu Jul 07 16:45:52 MSK 2016" describes the dates of the last change by the server this file. It is important to remember that the server takes the date and time that are set by the operating system.

"#" <Первые три буквы дня недели на английском языке> <Первые три буквы месяца на английском языке> <Число> <Время ЧЧ:ММ:СС> <Часовой пояс> <Год>

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. 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 to exceptions Minecraft Server and port 25565.

Server on local network

The process of setting up a game server over a local network is much more easier to create accessible from the Internet, and is easier in terms of errors 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 most the easy way Determining the type of address is to reconnect the modem and compare external IP addresses. If after reconnection modem IP address has changed, this means that you have 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). Nevertheless, static address- an optional condition for the server to work.

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 in local subnet. Your router or modem may be blocking the port that the game server is trying to use. For different models This procedure works a little differently.

There are 2 ways to open ports:

  • The website portforward.com presents an assembly of special software that is designed to open ports on various models modems. 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 colour, which means the procedure was a complete success. 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 correct operation 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 used random access memory, a graph of the used RAM volume is dynamically constructed, 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 access some useful opportunities, and operators monitor the state of the server.

FAQ

Q: Players cannot destroy blocks; everything broken comes 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 exactly as many blocks in any direction as is set in spawn-protection in the server configuration file.

Q: The message “Can’t keep up!” appears in the server log all the time. Is server overloaded or system time changed?" 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 everything 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: Your Internet connection may not be fast enough, or Hardware the computer 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 own server, check whether you have determined your own IP address correctly. 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 in the directory installed game (.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 backup copy. 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 happen on operating system Windows XP SP3. Try starting the server on virtual machine(for example, VirtualBox) or change the operating system.

Q: When starting the server I get an error that my Java version outdated. How do I know what version of Java I have?
A: The game requires Java 8 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 internal or external team, executable program or batch file (Windows) bash: java: command not found(Linux & OS X)

then this means that Java is not installed or configured for you Environment Variables(the latter is usually Windows only). 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.1 or you do not have Java installed, go to the Java download page and download the latest version.

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

As fun as single-player is Minecraft mode, multiplayer where you can play with friends is much more interesting. There are several ways to play Minecraft in multiplayer. One of them is to create a Minecraft server that you and your friends can connect to. Of course, existing servers can also be used for this purpose.

In this guide, we'll show you how to create a Minecraft server for you and your friends on your home PC.

First you need to download the .jar version of the server

Place the downloaded jar file in a folder. It doesn't matter where she is. Next, you need to prepare the file that will launch your server.

Creation batch file

Create a new one Text Document and add to it following lines:

@echo off
title run-minecraft
java -Xms1024M -Xmx2048M -jar minecraft_server.jar nogui
pause

This means we want java to run our server "minecraft_server.jar" with 1024 megabytes (1 gigabyte) of RAM. If an error appears, reduce the RAM values ​​to 512 MB, it helped me and the server started!

To run the server with more memory, simply change the -xms and -xmx values. Moreover, they must be equal to the numbers 64, 128, 256, 512, and so on.

To save a file in .bat format, click the File button in the upper left corner of the screen, select Save As, then under the “File name” field, select All files. It is very important. Name your file start or start server and click Save. Then change the file extension from .txt to .bat

Or you can download my bat file here: (to change it, right-click on the file and select “Edit”).

User agreement and server launch

After completing the previous step, start your server. First, it will close instantly as you need to accept the user agreement. To do this, open the text document with the agreement that appears in the folder, change the line eula=false to eula=true, save it and start the server again.

Your server should start normally and start generating the world and creating other important files like server.properties, whitelist, banned-players and so on.

Connecting to the server

To connect to the server we just created, you, as the owner, just need to go to multiplayer and add a server, specifying “localhost” as the IP address.

As for your friends, you can give them your external IP address, to find it out, go to the website 2ip.ru. In addition, your router must have ports 25565 to 25566 forwarded. Great video on the topic of port forwarding can be found below.

I hope this quick guide will help you create a Minecraft 1.8 server for yourself and your friends, and then have a good time together! If you still have any questions, ask them in the comments below!