How to build a Minecraft server with Raspberry Pi 3

Minecraft Server

The usefulness of Raspberry Pi as an auxiliary server is more than proven, but that does not have to force us to always use the raspberry computer as a business server. There are other more fun utilities like use Raspberry Pi as a Minecraft server, a free server typical of the famous video game.

For this we only need a Raspberry Pi with its basic accessories, an internet connection and a fast enough microsd card as to make users not complain about the response time.

Once we have everything, we connect it and we insert the microsd card with Noobs. We configure the system and once done we open a terminal and write the following:

sudo apt-get update

sudo apt-get dist-upgrade
pi password

And now we install the libraries related to the reproduction of graphics:

sudo apt-get -y install xcompmgr libgl1-mesa-dri && sudo apt-get -y install libalut0 libalut-dev && sudo apt-get -y install mesa-utils

Now we have to open the Noobs wizard to activate the new libraries and for our Debian to start using it. So we write the following:

sudo Raspi-config

And in the configuration wizard we go to option 9, in advanced configuration and there we look for the entry called AB GL Driver. We press yes to the question they ask us and we restart the system.

Now we have to download the necessary minecraft files to obtain the Minecraft server. So in a terminal we write the following:

mkdir -p ~/Minecraft/Natives

cd ~/Minecraft/

java -jar Minecraft.jar

d ~/Minecraft/Natives

wget https://www.dropbox.com/s/4oxcvz3ky7a3x6f/liblwjgl.so

wget https://www.dropbox.com/s/m0r8e01jg2og36z/libopenal.so

cd /home/pi/.minecraft/libraries/org/lwjgl/lwjgl/lwjgl/2.9.4-nightly-20150209

rm lwjgl-2.9.4-nightly-20150209.jar

wget https://www.dropbox.com/s/mj15sz3bub4dmr6/lwjgl-2.9.4-nightly-20150209.jar

cd ~/Minecraft/

wget https://www.dropbox.com/s/jkhr58apwa7pt1w/run.sh

sudo chmod +x run.sh

cd ~/Minecraft/

./run.sh

After all these commands we will have the Minecraft server installed and configured. A server that can be used by everyone and for free, without having to pay for its use or for accessing external and uncontrolled servers. Now, remember that this server has to be on at all times and connected to the Internet so that users can access it, otherwise it will not work.


2 comments, leave yours

Leave a Comment

Your email address will not be published. Required fields are marked with *

*

*

  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   virtual switchboard said

    I've been googling a bit for high-quality articles or blog posts on this content. Googling I finally found this website. With reading this article, I am convinced that I have found what I was looking for or at least I have that strange feeling, I have discovered exactly what I needed. Of course I will make you not forget this website and recommend it, I plan to visit you regularly.

    regards

  2.   Dandy said

    How do I know it is working and how do I connect to it?
    Thank you!