Create server Minecraft on the Raspberry Pi is easy although this requires careful typing of text commands. Although it won’t have power larger home server or Minecraft Realms your Raspberry Pi Minecraft The server will allow multiple people to connect and play the popular game from their own devices. Multiplayer Minecraft game is a fun way to spend time with family and friends, whether you’re a kid or just a kid at heart.

First, let’s see what hardware you’ll need to run your own servers Minecraft on the Raspberry Pi.

This will set up the server for Java version Minecraft . Procedure for mobile version of the game also known as Pocket Edition .

Required Raspberry Pi Hardware

For the purposes of this guide, we’re assuming you have some kind of Raspberry Pi kit that includes a tiny motherboard, case, keyboard, and mouse, and that you have monitor with support HDMI to connect to it. Their cost varies (you can use just about any wired mouse or keyboard you already own, which will save you some money), but we tested on starter kit Raspberry Pi 4 by CanaKit .

The mouse and keyboard variant was only $99 and included 4GB of RAM. You can also get an earlier version (Raspberry Pi 2 or 3) for less money, although if you have less experience with the Pi system and computers in general, you can opt for a kit with all the parts you need.

Software Basics Minecraft server

Once you have the Pi, you need to make sure that Micro SDHC card operating system installed . The CanaKit Pi came with NOOBS (a beginner-friendly version of Raspbian, based on linux operating system Debian, which supports Pi). If this is not the case, you can follow the instructions that came with your kit (or can be found here on the Raspberry Pi website ), to download it from the internet .

If you would like to access your server Minecraft you will also need paid copy Minecraft for your Mac or PC as well as the username and login for the game. The server provides the world you will play in, but you need a «client» on your computer to actually play the game.

You can do all of the installations below via an SSH connection to the Pi, but we found it easier to use the version Raspberry Pi NOOBS With graphical user interface (GUI) for the next steps. Troubleshooting requires only one level of technology, which makes things a little easier for beginners.

Set up your Raspberry Pi

First you will need to enter a few commands to get your Pi ready to go.

  1. First of all, make sure your Pi is connected to your home internet via Wi-Fi or Ethernet.

  2. Open a terminal window and type the following commands (with a return after each one) to make sure all your software is up to date.

    sudo apt-get обновление sudo apt-get
    Pi Terminal app with

    Depending on your setup, the second command may take a few minutes. Just wait until the lines scroll and you will see the Rasbian prompt again.

  3. Then enter the following to enter the Raspberry Pi configuration settings:

    sudo raspi-config
  4. Select » Extra options» then » Memory Sharing» .

    Memory Split option in Raspberry Pi Tweak Tool
  5. Leave it as is if it is at least 16. If it is, change it to 16 and then save the changes. This setup had 64 by default.

    Memory sharing options set to 64
  6. Then use the following command to find out your local IP address:

    имя хоста sudo -I

    Keep an eye on this number as it will allow your users to connect to server Raspberry Pi Minecraft after you have installed and configured it.

    Terminal with
  7. Next, you need to install Java. This team should do it for you. If you run into any errors, just enter the exact wording of your error and you will most likely find a solution.

sudo apt установить default-jdk

Installation Servers minecraft

Now it’s time to download and install the actual Minecraft server software.

  1. Type the following commands into your terminal with a return after each line. If you like, copy and paste them exactly from the bottom. Such commands are very specific; if you miss a single point of punctuation or spelling, it won’t work.

    sudo mkdir / home / minecraft
    Terminal with
    cd / home / minecraft
    Terminal with
    sudo wget
    Command to download BuildTools.jar in Terminal
  2. Type the following to make sure you see a file that looks like «BuildTools.jar.»

    ls command showing BuildTools.jar
  3. Now you’ll want to run the application you just downloaded (BuildTools.jar). Enter the following into Terminal on your Raspberry Pi. This will create server Minecraft on your Raspberry Pi.

    sudo java -jar BuildTools.jar
  4. When it finishes installing, you will see a message that the compilation is complete. Hooray!

How to run your server Minecraft

You are now ready to get the Minecraft server up and running.

Enter the following command in Terminal (make sure you are still in the /home/minecraft/ directory:

sudo java -Xms512M -Xmx1008M -jar /home/minecraft/spigot-1.14.4.jar nogui

If you have a Pi 4 with 4MB of RAM, you can increase the second term to give your server more «room» to work with. If you want to give it a try, use -Xmx2016 as your maximum memory limit.

Server Minecraft will try to run and then fail because it is checking the End User License Agreement (EULA) it just created to see if you agree. Since you don’t, everything stops. Oddly enough, you need to open a text document and change the wording.

  1. To open the EULA document, type or paste the following command into your terminal.

    sudo nano eula.txt
  2. Change the word «false» in the text file to «true» and «Write Out» ( control-O ) to the same file name. Then click control-X to exit.

  3. Now run the run command again and your server Minecraft should run successfully. Depending on how much RAM you have on your Pi, this can take anywhere from a few minutes to many minutes. The second time you start your server, it will run much faster since it has already done most of the work needed the first time.

  4. To stop your server Minecraft just type » stop ‘ on the cursor while the server is running.

Connecting to your server Raspberry Pi Minecraft

Now that your server is up and running, all you have to do is connect to it.

  1. Run Minecraft on your Mac or PC and sign in with your credentials Minecraft .

  2. Click play and let Minecraft run on your computer

  3. Select multiplayer button.

  4. If you want to enter server details every time you connect, click » Direct Connection» . If you want to keep the details, click Add server .

  5. Give your Pi server a name, then enter the IP address you found in the Hostname step above. Click Ready .

  6. Select the server you just created, then click Join Server .

  7. And now you have your own server minecraft, running on Raspberry Pi. Give your friends and family an IP address (if they are on your network) and they can play with you too.

Похожие записи