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

<img data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2022/04/echo/word-image-698.png" data-lazy- height="718" src="data:image/svg xml,” width=”1035″>

<img data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2022/04/echo/word-image-706.png" data-lazy- height="715" src="data:image/svg xml,” width=”1036″>

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.

Go to the “Interface Options”.

<img data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2022/04/echo/word-image-709.png" data-lazy- height="564" src="data:image/svg xml,” width=”1028″>

Select the second option that is SSH.

<img data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2022/04/echo/word-image-710.png" data-lazy- height="564" src="data:image/svg xml,” width=”1028″>

Enable it by choosing the “Yes” option.

<img data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2022/04/echo/word-image-711.png" data-lazy- height="597" src="data:image/svg xml,” width=”1001″>

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

<img data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2022/04/echo/word-image-712.png" data-lazy- height="310" src="data:image/svg xml,” width=”1039″>

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.

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

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

<img data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2022/04/echo/word-image-715.png" data-lazy- height="612" src="data:image/svg xml,” width=”1043″>

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

<img data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2022/04/echo/word-image-716.png" data-lazy- height="708" src="data:image/svg xml,” width=”1044″>

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

<img data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2022/04/echo/word-image-717.png" data-lazy- height="320" src="data:image/svg xml,” width=”1048″>

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.

<img data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2022/04/echo/word-image-718.png" data-lazy- height="705" src="data:image/svg xml,” width=”1039″>

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.

<img data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2022/04/echo/word-image-719.png" data-lazy- height="701" src="data:image/svg xml,” width=”1041″>

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

<img data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2022/04/echo/word-image-720.png" data-lazy- height="635" src="data:image/svg xml,” width=”1041″>

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.

<img data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2022/04/echo/word-image-721.png" data-lazy- height="522" src="data:image/svg xml,” width=”925″>

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

<img data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2022/04/echo/word-image-722.png" data-lazy- height="519" src="data:image/svg xml,” width=”912″>

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.

<img data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2022/04/echo/word-image-723.png" data-lazy- height="507" src="data:image/svg xml,” width=”868″>

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.

<img data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2022/04/echo/word-image-724.png" data-lazy- height="515" src="data:image/svg xml,” width=”905″>

<img data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2022/04/echo/word-image-725.png" data-lazy- height="502" src="data:image/svg xml,” width=”891″>

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.

<img data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2022/04/echo/word-image-726.png" data-lazy- height="480" src="data:image/svg xml,” width=”841″>

Conclusion

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

<img data-del="avatar" data-lazy-src="https://kirelos.com/wp-content/uploads/2022/04/echo/unnamesadadsasdd-150×150.jpg6258ebebd1f60.jpg" height="112" src="data:image/svg xml,” width=”112″>

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.