Sooner or later, to every player in Minecraftthe idea is to create your own server. The reasons for this may be completely different: someone is trite tired of playing alone, and someone, on the contrary, wants to narrow down the circle of communication and secure their creations from inadequate players. This article will detail how to run the Minecraft server, configure it for a comfortable game, and give some advice for those who have problems with the launch. All the information below is only relevant for Windows computers.
The first step is to install the server files,for this you need to go to the official site of the game and click on the link "download / downloads", where are the distributions of the game and the server. The downloaded executable file with the "exe" extension should be placed in a separate folder (its name can be anything). Then run the installation file and wait a couple of minutes. At this time, the necessary files will be unpacked, and the server configuration file will be created - later we will look at how to configure the Minecraft server with it. After the first server launch, a random world for the game will be generated in the World folder. If you want to play with friends in an already created world, then delete the contents of this folder and transfer your saveings from a single game (as a rule, the saveers are located in the users / AppDataroaming.minecraftsaves path).
After the above steps, you do not needperform any operations other than how to start the server. Minecraft uses the default settings. What if you want to play in non-standard mode or remove some restrictions? Proceed as follows: before you start the Minecraft server, change the settings manually. To do this, you must stop the server and open the folder in which its files are stored. The operations will be performed with the file server.properties (do not forget to make a backup copy), which opens with any text editor, for example, a standard notepad.
Enumerating all variables does not make sense, thereforewe'll focus on the most important and often used: the server name is entered in the level-name string, the gamemode line changes the game mode (0 - survival, 1 - creative). If desired, you can turn off damage to players by each other (pvp = false). In case you intend to play on the local network, change the parameter to false in the online-mode line. Now there is nothing left but to start the Minecraft server and check the correctness of its operation.
If after performing the necessary actions you haveThe Minecraft server does not start, there are several ways to fix the situation. First, remove all the mods from the server folder and check the stability of the clean server. If it starts, then you will have to connect the mods in turn and find out which of them disrupts the server's performance. If the clean server does not start, then you should update Java on the computer. Very often, disabling the Java auto-update causes the server to fail to start. It will not hurt to check the antivirus in case the server is blocked for reasons of system security. If this does not help, try to delete the server with the game and reinstall them. Now that you know how to run the Minecraft server, you can enjoy the game in a circle of friends, setting your own rules of the game.