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.
-
First of all, make sure your Pi is connected to your home internet via Wi-Fi or Ethernet.
-
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-getDepending 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.
-
Then enter the following to enter the Raspberry Pi configuration settings:
sudo raspi-config
-
Select » Extra options» then » Memory Sharing» .
-
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.
-
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.
-
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.
-
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
cd / home / minecraft
sudo wget https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar
-
Type the following to make sure you see a file that looks like «BuildTools.jar.»
Ls
-
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
-
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: