ModsCraft » Guides » Creating a Minecraft Server

Creating a Minecraft Server

WhatsApp
Telegram VKontakte Odnoklassniki Pinterest
Creating a Minecraft Server

Creating your own Minecraft server is awesome! You can play with friends, add unique mods, and customize everything to your liking. In this simple guide, we'll show you how to make a server yourself. There are several methods, and we'll cover each one in detail.

Navigation

Which method to choose?

The easiest method is to use specialized hosting. A similar option is to use the ready-made solution Realms from the official developers, which is a bit more expensive and allows you to download ready-made maps for Bedrock. These two options work for both Java and Bedrock.

A free but more complex option is to set up a server yourself on Windows (instructions for Java or Bedrock). To keep the server running 24/7 instead of only when your computer is on, set up a paid rented server on Linux (instructions for Java or Bedrock).

Method Free Server always available? Difficulty Specialized hosting No Yes Easy Realms No Yes Slightly harder Windows Yes No Hard Linux No Yes Hard

If you're looking for a faster way to start playing with friends, you can join an existing server. To choose a popular server, we recommend checking out the server rating at mineserv.top.

Tips for choosing a server

Ready-made solutions (Java and Bedrock)

Specialized hosting

The simplest and most convenient option. Choose a hosting provider and rent a server. The first launch requires no setup. The user-friendly interface lets you quickly configure plugins. For example, you can try the popular server hosting mcpehost.ru.

Screenshot of mcpehost server hosting

Realms

The second most convenient method is Realms from the official developers. It's a paid subscription that also requires a licensed Minecraft account. More details about Realms pricing in the table below.

Realms pricing table

Self-hosted for Java

To have full control over your server, you can use manual setup instead of specialized hosting. You can set up a server for free directly on Windows, or on Linux if you want the server to run 24/7.

Windows (without mods)

A free method that lets you play with friends, but the server will only run while your computer is on.

First, download and install Java if you haven't already. I recommend installing Java 17 right away.

Next, download the server.jar from the official website. Create a folder on your computer, e.g., "Minecraft Server", and copy the file there. Open a command prompt in that folder and enter the following command:

java -Xmx1024M -Xms1024M -jar server.jar nogui

The first launch won't succeed, but new files will appear in the "Minecraft Server" folder. You need to do two things:

1. Open eula.txt and change the eula value from false to true, thereby accepting the EULA from the developers.

2. Open server.properties and change the online-mode value from true to false, thereby allowing connections to the server without a license.

Run the command above again. If no issues arise, the server will be ready for connection.

Linux

A similar option, but this time you'll need a rented VPS or dedicated server. The game server will run even when your computer is off.

We'll cover setting up a server on Ubuntu and CentOS. Recommended OS versions:

  • Ubuntu
    • For versions below 1.17: Ubuntu 18.04
    • For versions 1.17 and above: Ubuntu Server 20.04 LTS
  • CentOS 7

Connect to the server, for example using Putty.

Check if Java is installed on the server:

java -version

If not, run the following commands for Ubuntu:

  • For versions below 1.17:
    sudo apt update; sudo apt-get install openjdk-8-jdk-headless
  • For versions 1.17 and above:
    sudo apt update; sudo apt install openjdk-16-jdk-headless

Or these commands for CentOS:

sudo yum update; sudo yum install java -y

After successfully installing Java, install Screen - a program that allows the server to run without an open console. Ubuntu:

sudo apt-get install screen

CentOS:

sudo yum install screen -y

You'll need wget, install on Ubuntu:

sudo apt-get install wget

On CentOS:

sudo yum install wget -y

Let's start installing the server. Create a separate folder for the server:

mkdir minecraftserver

Open the folder:

cd minecraftserver

Open this page from the official website and copy the link to server.jar.

Copy link from official website

Enter the following command:

wget [link]

Activate Screen and continue working in it:

screen -S "MinecraftServer1"

Try to run the downloaded server.jar file:

java -Xmx1024M -Xms1024M -jar server.jar nogui

The first launch won't succeed, but new files will appear in the "Minecraft Server" folder. You need to do two things:

1. Open eula.txt and change the eula value from false to true, thereby accepting the EULA from the developers.

2. Open server.properties and change the online-mode value from true to false, thereby allowing connections to the server without a license.

You can do this using any file editor in the terminal or via FTP connection (e.g., FileZilla).

After making the changes, try to run server.jar again. If the server starts successfully in the console, you can close the console and start playing.

Self-hosted for Bedrock

So far we've covered only the official option. The first step is to download the archive for Windows or Linux: Ubuntu from here. Note that the build is in alpha testing.

We haven't thoroughly tested these methods. If you encounter issues, ask for help in the comments.

Windows

Download the archive for Windows. Extract it to a convenient location. Run the bedrock_server.exe file.

Starting bedrock_server.exe

That's it! The server is running. Note that the server will only work while your computer is on.

For configuration, the archive contains the server.properties file and the bedrock_server_how_to.html guide.

Linux: Ubuntu

The second option, where you don't need to keep your computer on. A VPS or dedicated server is suitable, but you'll need to pay for it.

Download the archive for Ubuntu. Extract it to a convenient location. Start the server with the following command:

LD_LIBRARY_PATH=../bedrock_server

That's it! The server is running. Don't forget to use screen, as in this guide.

For configuration, the archive contains the server.properties file and the bedrock_server_how_to.html guide.

What about other options?

Yes, we haven't covered all options. In the future, this article will be updated, and we'll cover how to set up a server:

  • For Windows with mods
  • On unofficial cores
87 comments
  1. Guest avatar
    Адылхан
    13:21 27 Jan 18
    очен плохо как создат емайл
    а почему гмайд нет
  2. Guest avatar
    Юра Лунёв
    9:14 9 Jan 18
    комада /give command_block
    1. Guest avatar
      Знаток Minecraft
      19:51 21 Mar 20
      /give @s command_block 64
  3. Guest avatar
    максим
    4:22 26 Sep 17
    а какой пароль от акаун
    та скажите любой
    1. Guest avatar
      NOVKA_3D
      9:40 15 Dec 18
      /login или /register и пороль
      1. Guest avatar
        Дима
        15:53 4 Mar 20
        ты урод
        1. Guest avatar
          Древний
          20:38 10 Jul 21
          Ты бык
  4. Guest avatar
    Даша
    6:58 22 Jul 17
    Как закачать этот Майнкрафт
  5. Guest avatar
    Сева
    22:58 21 Jul 17
    Как дать себе командный блок в майнкрафте команда /command_block
    1. Guest avatar
      Арсений
      23:04 21 Jul 17
      /give @a command_block
      1. Guest avatar
        Яша
        5:37 22 Jul 17
        Командный блок СЕБЕ. /give @p command_block
        1. Guest avatar
          Альберт
          13:52 22 Jul 17
          @p ближайшим игрокам, @а всемне игрокам, @r случайном игроку и свой ник -себе /give Steve command_block
          1. Guest avatar
            VovaK PLAY_
            17:39 25 May 18
            Или @s
            1. Guest avatar
              Владислав Иванушкин
              10:40 2 Sep 18
              Даун, это только в pe 1.2.x а если ты в 1.1.х то only @p сиди, помалкивай!
    2. Guest avatar
      Vlad (ukr)
      11:17 22 Jul 17
      Не /command_block а /give @p command_block
    3. Guest avatar
      су 100 тв
      21:35 17 Feb 18
      Нафига ты это спрашиваешь здес ?!!
  6. Guest avatar
    Владик
    22:37 21 Jul 17
    моими
  7. Guest avatar
    Владик
    22:37 21 Jul 17
    кто доже ставьте на моиз коментах лайк
    1. Guest avatar
      Сева
      22:57 21 Jul 17
      Как дать себе командный команда /command_block или /137
      1. Guest avatar
        Альберт
        13:53 22 Jul 17
        137 в версиях до 1.8, а после 1.8 command_block
    2. Guest avatar
      Сева
      22:58 21 Jul 17
      Мда
  8. Guest avatar
    Владик
    22:36 21 Jul 17
    я обажаю вас
  9. Guest avatar
    Владик
    22:36 21 Jul 17
    Но я про новую полную версию
  10. Guest avatar
    Владик
    22:35 21 Jul 17
    чуваки вы просто супер просто каждый день чтото новое и знаете сколько я ждал новую версию майнкрафт 1.2 ааааа эта версия боженство но чёрт я теперь не могу скачать новую NNNNNNNNNNOOOOOOOOOOOOOмне пришла идея всяких там ютюберах ннноооо вотета долгая

Immerse yourself in a unique adventure with classic survival, anarchy, a clan system, and constant events!…

PvP, Survival
IP:Port craft.pe:19132
Online 400 / 1501
Version 1.1 - 1.26
Play