How to create your own server in minecraft. Creating and configuring a Minecraft server: step by step instructions. Adding new players

Many players eventually become the creators of Minecraft servers. Where do they start? How to create your own Minecraft server from scratch? What are the pros and cons of each approach? Read about it in our article.

Let's start with how to create your own Minecraft server using the Realms service - this is the easiest way. You open the licensed version of the game, click "Minecraft Realms" and get into the menu for managing your servers. Next, you need to subscribe to the service and invite friends.

The screenshot shows the third button "Minecraft Realms" - it will allow you to get into the menu for managing your Realms server.

The Realms service is supported by the official developer of the game, Mojang, which means you are waiting for high-quality support and all the features of licensed network gameplay. Let's look at the pros and cons of such a solution.

  • you can quickly raise the server
  • backups are automatically created
  • Mojang official mini-games and packs available
  • the server is always online, regardless of your personal computer and Internet channel
  • automatic server updates when new versions are released
  • this is a paid service (about 479 rubles per month from the server owner)
  • All players must have a licensed version of the game
  • installation of own plugins and mods is not available
  • maximum online only 20 people
  • no dedicated IP address (the connection is made strictly through the Realms interface)

How to create your own Minecraft server using specialized hosting

How else can you create your own Minecraft server? The next way is with the help of specialized hosting. We will not advertise specific companies, you can easily find them using the search. The idea is to create your own Minecraft server through the site. You register, specify the desired settings, and after 10 minutes you can invite friends to your project.

These are the opportunities that one of the well-known hostings of Minecraft servers promises us. Tempting, isn't it? :)

  • fast
  • backups are automatically created in case of an accident
  • free small configurations (few slots and few plugins)
  • installation of your own plugins and mods is available
  • there is a dedicated IP address that can be shared with friends to connect
  • built-in protection against DDoS attacks and hacking
  • the server is always available, regardless of your computer and Internet channel
  • you need to configure the server (slots, plugins, mods, motd, etc.)
  • you have to pay for a large number of slots and plugins
  • tuning is not available for big online
  • many hostings in free mode will show their ads on your servers

Now let's see how to create your own Minecraft server based on your home computer. To do this, you first need a static (fixed) IP address. To obtain such an address, contact your ISP. Usually it is inexpensive - about 100 rubles a month. After that, it is enough to launch your single-player version of the Minecraft game and click the "Open for the network" button in the menu - after that, your world will become available at the IP address given to you from anywhere in the world.

This is how the menu of the most ordinary world in Minecraft looks like. In the lower right corner, you can easily see the "Open for the web" button - it is this that turns your personal world into an open Minecraft server.

  • fast
  • for free
  • with a sufficient level of knowledge, you can tune such a server for a big online
  • you can set up login from pirated versions
  • you will need a dedicated IP address (ISPs charge extra for this)
  • you will be responsible for the maintenance
  • when you turn off your home computer, the server will go offline
  • when using the home Internet in parallel, there will certainly be lags on the server

How to create your own Minecraft server on a dedicated server

And finally, the most difficult thing: let's see how to create your own Minecraft server on a dedicated server. To do this, we need to contact any hosting that provides hardware for rent. We need to take a decision in which there are more random access memory, SSD drives and a powerful processor. Next, you should install an operating system on the rented machine - Linux is best. Download the server version of the Minecraft game on the official website or in any other place and run it. The difficulty with this approach is that you will need serious remote server administration skills. But as a plus, you get unlimited freedom to customize and tune!

  • any configuration of mods and plugins to your taste
  • you can tune such a server for a very large online
  • the server is always available, regardless of your personal computer
  • The server's Internet channel is occupied only by game traffic (there will be no lags associated with the Internet)
  • dedicated IP address
  • you can set up login from pirated versions
  • slowest and longest way (needs a lot of manual tweaking)
  • knowledge is required to carefully configure the OS and software on rented hardware
  • you need to pay for the lease of a dedicated server
  • you will have to make backups on your own, protect the project from DDoS attacks and hacking
  • you will have to deal with software updates and patches yourself

We looked at 4 ways to create your own server in Minecraft, as well as their pros and cons. This will help you navigate in order to choose the most suitable one. It remains to get down to business and stubbornly move forward until the arrival of the first visitors. Good luck!

Hi all! In this article, I want to tell you about how to create a server from scratch, how to properly configure it, what is right ( in my opinion) and what not ( in my opinion).

Also, I want to note that I will tell about everything from my bell tower, not always correctly, not always definitions from the Wiki. I'm just a server developer who shares experience with newbies.

So, you are required to:
1) Desire. Without the desire to create a server, I believe that little will come of it.
2) Minimum finance. Without finance, neither in a puddle nor in a river.
3) A minimum of knowledge about how things work. I'll tell you a little about this and that, the rest you'll have to do yourself.
p.s I'm not going to talk about the need to install Java, where to download Minecraft and so on. If you do not know the basis - this article is not for you, sorry ((

So, we have a desire to create a server! Where to begin? With a plan, of course! What is the plan? Well ... I think that everyone makes it differently, someone thinks through everything, from A to Z, someone makes sketches and strategy, someone only the name and finances, but everyone has it. We will do something between all this.
Plan:
1) What do we want from the server?

I create servers for the sake of an idea, which are not aimed at making money at all, I like to create servers (I enjoy it). Of course, we need a donate, the so-called donate, to cover at least the costs of the server, but more on that later.
What do we want? Make a server for yourself? For earnings? Everyone decides for himself, I can not help you.

2) We decide on the choice of version.

SpoilerTarget"> Spoiler: Versions

Only after studying the basic plugins, you can proceed to the plugins that fit our theme. Since we have an RPG vinyl, we need: quests and character leveling. There are many plugins on spigotmc.org that implement the systems we need, but most of them are either paid or do not work on the latest versions ( alas and ah). Well, let's go look...
After spending some time in the search engine, we find:
1) - plugin for the implementation of quests.
2) - plugin for character leveling and combat ( This is a "premium" plugin and costs some money. You can find alternatives from free plugins, but in this case we will use it).
We install it on the server, restart the server and see if everything has loaded by typing the "pl" command into the console.
DeluxeMenus is highlighted in red, which means that it is not working. Let's figure out what happened. Open the server logs - "logs/latest.log" and find the moment when the plugin is enabled " Enabling DeluxeMenus v1.10.5*".
Having studied the logs, we understand that we do not have the "PlaceholderAPI" plugin installed. .
Restart and check if all plugins are loaded with "pl" command
Great! Everything is working! What's next, chief? So what is next...

You will need the latest version of Java Java Download and the Minecraft server file - the current release can be found on the official website of the developer DOWNLOAD MINECRAFT JAVA EDITION SERVER. Java needs to be installed and the server file placed in a separate folder, for example C:/Games/Minecraft Server.

Run server.jar file. If the "Open with" window appears, select the Java application. The eula.txt document will appear in the server folder - open it and change the value from false to true in the last line. This will indicate that you have accepted the license agreement. Otherwise, the server will not work.

Run server.jar again. The server window will appear. The box on the right is the console, which lists all the actions performed by the program. On the top left is statistics, and below it is a list of players who are currently on the server.

After the Done message appears in the console, close the window. Using any text editor, open the server.properties file located in the server folder. This is a list of program settings. Set the desired parameters by changing the values ​​after the = sign in the corresponding lines.

Here is a description of some useful options.

Parameter Values ​​(default) Description
game mode Number from 0 to 3 (0) Game mode:
  • 0 - survival;
  • 1 - creativity;
  • 2 - adventure;
  • 3 - observation
force-gamemode true / false (false) If set to true, the server switches the game mode of each new member to the one specified in gamemode. If false - does not switch
allow-nether true / false (true) If set to true, players can move to the Nether, if set to false, they cannot
player-idle-timeout Number (0) If a player is idle for the minutes specified here, they will be kicked from the server. A value of 0 disables this feature
difficulty Number from 0 to 3 (1) Game difficulty:
  • 0 - peaceful;
  • 1 - light;
  • 2 - normal;
  • 3 - difficult
spawn-monsters true / false (true) Controls the automatic spawning of zombies, creepers and other monsters in gaming world. true - monsters appear, false - no
pvp true / false (true) true - players can damage each other, false - not able to
level-type DEFAULT / FLAT / LARGEBIOMES / AMPLIFIED (DEFAULT) world type:
  • DEFAULT - normal;
  • FLAT - flat;
  • LARGEBIOMES - large biomes;
  • AMPLIFIED - extended
hardcore true / false (false) Activates the "Hardcore" mode. true - it is enabled, false - disabled
max-players Number from 0 to 2147483647 (20) Maximum number of players on the server
spawn-npcs true / false (true) Controls the automatic spawning of villagers. true - they appear, false - they don't
allow-flight true / false (false) true - players can fly in survival mode if they have the appropriate plugin. false - cannot
spawn-animals true / false (true) Controls the automatic spawning of chickens, pigs and other peaceful animals. true - they appear, false - they don't
generate-structures true / false (true) true - there are castles, villages and other buildings in the game world. false - none
online mode true / false (true) true - players with pirated versions of Minecraft cannot connect to the server. false - possible
max-build-height A number from 64 to 256 that is a multiple of 16 (256) The maximum building height in blocks. Above this value, blocks cannot be created or destroyed.
level-seed Any grain The grain that regulates the generation of the world. If left blank, a random world will be created

After all settings are set, run server.jar. When "Done" appears, you can connect to the server. To do this, you need to select "Multiplayer Game" in the Minecraft main menu, click "Add Server", enter the desired IP address and click "Start".

If the server is running on the same computer as the game, then just enter "localhost" or "127.0.0.1" in the IP field. If not, then you need the actual IP of the device.

4. Manage the server

Use console commands to manage the server. Here are the ones you might find useful.

Team Description
give name item quantity Gives the player the specified item.
ban name Prevents the player from joining the server
teleport destination destination Moves the target (player, item or creature) to the destination (coordinates or player)
summon target coordinates Creates a target (item or creature) at the specified coordinates
op name Makes the player a server operator
kill name Kills the player
spawnpoint coordinate name Sets the player's spawn point
save-all Saves the server to disk. The process is gradual. If you add the parameter through a space, then saving will happen immediately, but the server will hang for a few seconds
stop Turns off the server

A complete list of available commands can be seen by typing the word help into the console.

Probably, I would not write a single article on this topic, if it were not for too frequent requests to tell how to make your own website server. That is turn an ordinary home computer into a server, where you can host your sites and which people can access from anywhere in the world. The task is very difficult, but I will try to briefly describe the procedure.

Before thinking about your server, you need to understand if your computer meets the minimum requirements? Here is their list:

  • Static IP. It depends on the provider, as a rule, they require static IP address money.
  • good speed. The minimum allowed speed is 10mbps. I can safely say that such a speed at the moment is a rarity even for Moscow, I am already silent about the regions where they still often sit on modems. In general, the norm is 100mbps, which only a few have, and even in Moscow is very, very expensive.

From these two requirements, it becomes clear that it will be cheaper and easier to rent a physical server. What I always write about to all those who want to.

But for those who do not want to trust other people to maintain the server and who fulfill both requirements, for those I will write what needs to be done:

  1. Install Unix system. For example, linux. Indeed, it is possible to Windows to do everything, but I would recommend it Unix system for the server.
  2. Install Apache. About installation Apache Lots of stuff on the internet. There is nothing complicated in the installation: download the archive, unpack it via the command line, and then start the installation (again, via the command line).
  3. IN /etc/httpd/conf/httpd.conf(configurations Apache) should be written: listen 80:Your_IP.
  4. Open port 80 to enter the Firewall. How to do this depends on the specific OS which you choose.

Now when you type in the address bar: http://Your_IP, - should open Apache. You can also change the root directory for sites in httpd.conf.

If you want the site to be available not only on IP, but also by domain, then you need to raise DNS.

You can also install more PHP and MySQL, and PHPMyAdmin. If you plan to have access from another computer, you will also need FTP server.

Installing each of these elements is a separate article, and quite a large one. Therefore, think again whether you really need create your own server for the site? If so, then look at the sequence of actions from this article and, using search engine, learn more about each step and put it into practice.

And, finally, do not forget that the computer must always be on, otherwise your sites will be inaccessible.

This guide is about how to create a Minecraft server on various platforms. By the end of the guide, you will know how to install a Minecraft server on OS Linux, Windows and Mac.

All in all, Minecraft is a sandbox video game developed by Mojang. It is ranked among the most popular games on streaming sites like Twitch. The game can be played on its own, however there is also a multiplayer mode with a large community of players.

To enjoy the multiplayer mode, players need to either set up their own Minecraft server or use a hosting provider. In this guide, we will focus on the solution of installing our own Minecraft server on Linux, Windows and Mac. If you have it on Hostinger, you can use these instructions and play with your friends and family!

How to create a Minecraft server on Linux

Let's see how to create a Minecraft server on two best distributions Linux OS - Ubuntu and CentOS. Although the process is very similar on both systems, there are some differences in the process of installing the necessary packages.

Setting up a Minecraft server on Ubuntu

First of all, we will create a Minecraft server using a VPS running Ubuntu 16.04. The whole process is in three simple steps.

Before you begin, you need to connect to your server via SSH. To login to the server, open a terminal (or use if you're on Windows) and enter these commands:

ssh [email protected]

Once you're logged in, you can start installing your Minecraft server. Please note that installing a Minecraft server requires Java to be installed on your system. Perhaps Java is already installed on your system. To check this, run the following command:

Java-version

If you receive a message that says Java was not found on your system, you can continue to follow these instructions. Otherwise, you can finish the current section and go to step 2.

Run these commands in your terminal to download the latest software packages to install on your system, including Java:

Sudo apt-get update

Now you need to install Java. We install Java 7 for this tutorial:

sudo apt-get install openjdk-7-jdk

If you need the latest version of Java, you can run this command instead of the previous one:

sudo apt-get install default-jdk

Here we also need to install screen, which will keep your server running in the background even if the connection is lost. To do this, enter the following command:

sudo apt-get install screen

You now have Java and Screen installed on your system.

Step 2 – Installing Minecraft Server on Ubuntu

Let's now see how to create a Minecraft server on an Ubuntu VPS. It's always best to keep your files and programs clean and tidy. To avoid chaos, let's create a new directory where all Minecraft files will be stored. This step is optional, although for the sake of clarity, we highly recommend it. To make a new directory, run:

Mkdir minecraft

Once created, move inside the directory:

sudo apt-get install wget

Now download and install your own Minecraft server:

Wget -O minecraft_server.jar https://s3.amazonaws.com/Minecraft.Download/versions/1.11.2/minecraft_server.1.11.2.jar

At the time of writing, the latest version available is 1.11.2. You need to replace this number with the version that is the most recent at the moment. You can check the version from the link.

Accept the Minecraft User License Agreement:

echo "eula=true" > eula.txt

Let's start screen first so we can start the server in background:

Screen -S "Minecraft server 1"

We named the current session ‘Minecraft server 1’, but you can use any other name.

That's it - you've successfully installed your custom Minecraft server on Ubuntu.

Now you only need to start the installed server. To do this, run the following command in the terminal:

As you can see, Minecraft requires 1024MB or 1GB of RAM available to run the server. Since these are the minimum requirements, we recommend that you have more random access memory (RAM) available for better performance. To allocate more memory for the server, simply replace 1024 with -Xmx And -Xms parameters to 2048 (2GB) and so on. Here is what you will see after running the command:

And now you have it: your own Minecraft server in just a few minutes. The server is running in the background because we are using screen. To disable screen, click CTRL+A, Then D. You can roll back the operation and reopen the screen window by typing screen -r in a terminal. You can experiment with server settings in the properties file:

Nano ~/minecraft/server.properties

Installing a Minecraft Server on CentOS 7

Let's see how to create a Minecraft server on a VPS running CentOS 7. The process is not too different from Ubuntu.

Step 1 - Installing Java and Screen

First, you need to install Java, since Minecraft is completely built on it. Next screen , as it is required for the Minecraft server after logging out of the SSH session. Connect to your VPS server via SSH (Windows users can use the client for this) and install these two packages:

Yum install java screen -y

Step 2 – Installing Minecraft Server on CentOS 7

To streamline the installation, create a new directory:

cd minecraft

Download the Minecraft server packages:

Wget -O minecraft_server.jar https://s3.amazonaws.com/Minecraft.Download/versions/1.10.2/minecraft_server.1.10.2.jar

Run screen with the correct name:

Screen -S "Minecraft server"

Accept the EULA agreement by changing the value from false to true in the eula.txt file:

Nano eula.txt

Step 3 – Starting the Minecraft Server

Now you can start the server using this command:

Java -Xmx1024M -Xms1024M -jar minecraft_server.jar nogui

The result should be something like this:

Server Minecraft was launched successfully, you can exit screen using the keyboard shortcut CTRL-A+D.

Server settings can be changed by editing this file:

Nano server.properties

How to create a Minecraft server on Windows

You can also install the Minecraft server on your Windows PC. We will try to reveal everything that you need for this in three steps.

Step 1 - Installing the latest version of Java

Since Minecraft is based on Java, you need to install the latest version of it and make sure everything is running correctly. You can use the command line to check for compliance. Run the following command:

Java-version

Then make sure your version matches the latest Java version on the official site. Download and install if your current version is older or if you don't have Java at all.

Step 2 – Installing Minecraft Server on Windows

Now you need to choose the location where you want to install your Minecraft server. To organize the storage of all the necessary files well, we recommend that you create a special directory. Once you create it, download the latest Minecraft server program installer from the official site.

Move file .jar to the directory you created earlier and double click on it.

Before proceeding with the installation of the Minecraft server, you must agree to the terms of the license agreement EULA. This can be done by editing the file eula.txt and changing the parameter eula=false on eula=true.

Step 3 – Starting the Minecraft Server

You can start a Minecraft server with the command Windows strings. Use it to navigate to your Minecraft directory. For example:

CD Desktop/MinecraftServer

Start the Minecraft server by executing the command:

Java -Xmx1024M -Xms1024M -jar minecraft_server.jar nogui

Or you can double-click the left mouse button again on the file with the extension .jar and it will lead to the same result. You will need to allow the Minecraft server access through the Windows firewall (firewall).

If you see a screen like this, it means your Minecraft server has successfully started:

How to create a Minecraft server on Mac

Last but not least, consider installing a Minecraft server on MacOS. Problem solving in three steps.

Step 1 - Installing Java and Screen

Java enabled default if you are using the most latest version macOS systems. You can double check this by typing this command in your terminal:

Java-version

If it doesn't appear to be available, you can download traditional versions of Java from the Apple website.

Step 2 – Installing Minecraft Server on Mac

To keep everything neat and organized, the best bet is to create a directory for your Minecraft server. Once you've created it, download the Minecraft server installation from the official website.

Download it to the created directory. Then open a text editor and set the format to plain text Format › Make Plain Text. Paste the following into the file:

#!/bin/bash cd "$(dirname "$0")" exec java -Xms1024M -Xmx1024M -jar minecraft_server.jar nogui

Save the file as startmc.command V the same directory where the Minecraft server installation files are located. To make it work, you need to change the permissions. You can assign them from the Terminal (Terminal), which can be found in ApplicationsUtilities. Once the terminal opens, navigate to your Minecraft directory. For example:

cd Desktop/MinecraftServer

You can assign access rights with the following command:

Chmod a+x startmc.command

Step 3 – Starting the Minecraft Server

If all the steps have been completed correctly, you can start the Minecraft server by double-clicking on the file startmc.command. After that, a new terminal window will appear.

You may notice warnings about several missing files or directories when you first start it. Don't worry about it, it's quite normal!

Finally

Congratulations! With the completion of this tutorial, you have learned how to create a Minecraft server on various platforms and operating systems.

 
Articles By topic:
How to find out the bitness of the operating system and processor in Windows
After buying a new laptop or assembling a desktop computer, many users face the question: 32 or 64 bit, which system to install? The topic is very interesting, and in this publication we will consider in detail all the nuances related to
Convert from djvu to pdf
How to convert djvu to pdf so that the text of the document remains as readable as possible? To do this, you need to use proven programs and services. Such documents can be viewed on computers, phones, smartphones, because there are a large number of
Russian cpa networks.  CPA networks - what is it?  Affiliate programs CPA networks: rating, description and reviews.  What are CPA networks
Almost every user comes across the cherished words CPA on the Internet, but not everyone knows what it is. In this article, I will tell you what CPA is and what it is eaten with, and here you will also find out the TOP 13 best CPA networks in Runet. What is CPA and CPA
How much do youtube bloggers earn
It's no secret that YouTube has slowly begun to replace the TV. This is especially true for today's young people. They do not want to watch on TV what is shown to them and imposed on them. People themselves choose: what, when and whom they should watch. Who uh