Raspberry Pi

Host Minecraft Server on Raspberry Pi using SpigotMC

Minecraft is one of the most demanding games of this century, with over 122 million people playing it. The game’s main theme is to survive and arrange different items for survival, such as food, shelter, and weapons. The game also includes a multiplayer option thus allowing you to play with your friends and family members. However, the multiplayer option is accessible only when you create a server.

If you have a Raspberry Pi device, you can quickly construct a server. This guide will teach you how you can host Minecraft Server on your Raspberry Pi device to unlock the multiplayer option.

Host Minecraft Server on Raspberry Pi using SpigotMC

Here, in this guide, we will provide you the required steps to host a Minecraft Server on Raspberry Pi using the SpigotMC.

Step 1: In the initial step, execute the following commands to update and upgrade the packages to the latest version on Raspberry Pi.

$ sudo apt-get update

$ sudo apt-get upgrade

Step 2: In the next step, you will need to enable SSH on your Raspberry Pi device and for that purpose, you will be required to enter the Raspberry configuration using the following command.

$ sudo raspi-config

Go to the “Interface Options”.

Select the second option that is SSH.

Enable it by choosing the “Yes” option.

Reboot the device..

Step 3: After the reboot, you will need to build your server with the help of Spigot server which is a much-improved Minecraft server.

However, before beginning the installation of Spigot, ensure that the JDK package is installed on your Raspberry Pi. The below given command is used to install the Java package on your Raspberry Pi device.

$ sudo apt install default-jdk

Step 4: After installing the package, you will now be required to do the following task in this step.

First, make a minecraft directory using the below given command.

$ mkdir /home/pi/minecraft

Go to the created directory using the following command.

$ cd /home/pi/minecraft

Then, run the below-given command to download the jar file.

$ wget https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar

Step 5: Next, you will require to create the Spigot server and to do this the following command is used.

$ java -Xmx1024M -jar BuildTools.jar --rev 1.16.2

You can try the latest version as well but it all depends on your Java version. In our case, we are using Java 11 version, which doesn’t support the latest version of Spigot.

The setup process will take 15-20 minutes to complete the installation.

Step 6: Once the installation is successfully completed, you can then launch Spigot server using the below mentioned command.

$ java -Xms512M -Xmx1008M -jar /home/pi/minecraft/spigot-1.16.2.jar nogui

Step 7: When you launch the server, it may ask you to agree to Eula terms and conditions and to agree that, you will need to execute the following script which will open the Eula file.

$ sudo nano eula.txt

Inside the file, change the text “eula=False” to “eula= true” and save the file using the “Ctrl+X” key followed by choosing the “Y” option and then, press enter to go back to the command window.

After making the changes in the “eula.txt” file, again use the launch command.

$ java -Xms512M -Xmx1008M -jar /home/pi/minecraft/spigot-1.16.2.jar nogui

Now the Minecraft server is running.

Step 8: To connect to your Minecraft server, first you will need to open your Minecraft game. Then go to the “Multiplayer “option.

Step 9: Go to the “ Add Server” option.

Step 10: Enter “Server Name” and write your Raspberry Pi’s IP address in the “Server Address” option. Click on the “ Done” option once you complete the process.

Step 10: Now, you will be able to see your “Minecraft Server” is running and you will need to click on the “Join Server” option to run the server.

Wait until it connects you to a server and when it’s done, you can see your Minecraft world, anybody can join your server, share your server name and IP.


Minecraft is an amazing single and multi player game which is quite popular among people of any age. To play the game in multiplayers mode, you will need a Minecraft server and having your own server will let you play the game with your friends and family members. The above installation steps will be pretty useful to host Minecraft Server on Raspberry Pi device using SpigotMC and when it’s complete you can team up with other people and enjoy the gameplay.

About the author

Awais Khan

I'm an Engineer and an academic researcher by profession. My interest for Raspberry Pi, embedded systems and blogging has brought me here to share my knowledge with others.