Close

Raspberry Minecraft Server

Back to overview

A self hosting LAN party Minecraft server that doesnt require an internet connection.

Discussions

timmjack786 wrote 11/06/2023 at 18:39 point

While setting up a Raspberry Minecraft Server, it's assumed that those following the tutorial are already comfortable with booting a Raspberry Pi. If you're new to this, feel free to reach out for assistance. Begin with a clean Raspbian installation on your SD card and boot up. When you reach the Raspi-Config screen during the initial boot, certain configurations will be necessary. Similarly, when considering the cost of  Minecraft for PC Download it's important to have a clear understanding of the requirements and setup process to make the most of your gaming experience.

  Are you sure? yes | no

Thomas wrote 09/02/2015 at 15:17 point

pifi.sh is a bash script that will walk you through setting up the wireless access point on the raspberry.  It needs to be run as root so it can change the appropriate files in the system.  Setup is another bash script that sets up the Minecraft server. Run this as a normal user. Running it as root will cause errors later when you start it up. It wont be able to write to its own files because they will be owned by root instead of the user.  The version of Raspbian shouldnt matter. The version I used was the current version as of when I wrote the tutorial.  It comes preinstalled with java, which is the important thing.  If I remember correctly, I have had 3 playing at the same time on a B+.  I havent installed this on the Pi 2 yet, but after seeing how much faster it is than the B+, I feel sure it can handle a few more people as well.

The network question can get complicated.  If the system isnt hooked up to anything, then you can only play over the wifi network it is broadcasting (192.168.42.1).  If it is also hooked up to a router, then you can connect to it by the IP address the Raspberry has on the routers network as well (192.168.1.X for example).  At that point both will work. You can have friends connect wirelessly over the router, wired through the router, and wirelessly from the Raspberry access point, all at the same time.  If friends want to play from somewhere that isnt connected to your network (like their house), then router configurations will need to be changed (port forwarding) to enable them to connect.  There are forums about that as well. It isnt hard.

  Are you sure? yes | no

owen.sziber wrote 09/01/2015 at 14:56 point

So I have tried to set up a server with instructions before, and none have worked. I think the main reason is because i running the newest version of Raspbian with Minecraft pre-installed. Will this work on that version of Raspbian?

  Are you sure? yes | no

Thomas wrote 09/01/2015 at 19:42 point

The version of Minecraft that comes on Raspbian is an altogether different thing from the mainstream version.  It doesnt require java, and is ported from the Android  version of the game (Minecraft Pocket Edition).  This tutorial is purely to create a server that you will connect to with a client computer that has the normal version of Minecraft installed.  In this case, we wont be using the pre-installed version of Minecraft at all.  Let me know if that doesnt makes sense.

  Are you sure? yes | no

owen.sziber wrote 09/02/2015 at 13:11 point

Okay, yes that makes sense. I do have somethings that I do need clarified. When I type 'sudo ./pifi.sh', it will prompt me for a WiFi name and password for me to setup? And when I type './setup', do I need to run as a root, or can I run it in standard user. And how many people can play on this, and can they play on a different network than the server is on? Finally what version of Raspbian are you running? Would you post the download link in the next comment please? 

Sorry if i am annoying you. :

  Are you sure? yes | no