These instructions will provide you with a list of requirements and steps for configuring your own Minecraft server using the Raspberry Pi. Once complete, you will be able to access and play with your friends from across the world on your Raspberry Pi.

Step 1: Materials

Raspberry Pi: Model B

USB Power Adapter

Ethernet Cable

SD Card(At least 4GB)

Soft-float Debian "wheezy"( Can be found here: http://www.raspberrypi.org/downloads )

Imaging software (ex: Win32DiskImager: http://sourceforge.net/projects/win32diskimager )

SSH Client ( ex: Putty: http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html )
<p>A few comments:</p><p>1. These basic <br>instructions work well with a Raspberry Pi 2 model B running raspbian <br>jessie. I suggest using the flags &quot;-Xms256M&quot; and &quot;-Xmx 768M&quot; or larger <br>on the java command to start the server.</p><p>2. These instructions DO <br>NOT WORK with Minecraft PE. To setup a Minecraft PE server on a <br>raspberry pi, you will need to install &quot;pocketmine&quot; which is not <br>affiliated with Mojang and is done at your own risk.</p><p>3. Minecraft <br>(especially Minecraft PE) servers are sensitive to which version of <br>Minecraft (PE) you are running on your computer/device. Be sure that <br>your device software version is compatible with the server software version you are <br>using.</p>
<p>lolz </p>
<p>You can now just do</p><p>sudo apt-get install oracle-java7-jdk</p>
<p>Thank you for this.</p>
<p>thank you saved me</p>
<p>i know for bukkit its port 95565 (or atleast it works for me) pe is differnt</p>
<p>And that will suffice?</p>
I'm thinking of running this on a newer Pi, then I can dedicate my Gaming/Render tower to personal use only.<br><br>Thanks for sharing! - Sam
<p>I'm getting this error while trying to install server.... can someone please help.</p><p>2015-05-06 23:52:15 [INFO] Preparing spawn area: 97%<br>2015-05-06 23:52:16 [INFO] Preparing spawn area: 98%<br>2015-05-06 23:52:17 [INFO] Preparing spawn area: 99%<br>2015-05-06 23:52:19 [INFO] Done (181.468s)! For help, type &quot;help&quot; or &quot;?&quot;<br>2015-05-06 23:52:23 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?<br>2015-05-06 23:54:19 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?<br>2015-05-06 23:54:21 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?<br>2015-05-06 23:55:05 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?<br>2015-09-08 12:53:26 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?</p>
<p>have you changed the setting and saved them (in server properties) while the launcher is open? </p>
It just means that the server is having a lot of lag. Its not detrimental in any way. If it happens too often its because too many chunks are loaded. You can try restarting the server. In severe cases you may have to disable the nether or the end.
<p>Can I run spigot on it?</p>
<p>it worked!!!!!!!!!!</p>
<p>is it minecraft 1.5.2</p>
Be sure to forward port 25565 on you router with both TCP and UDP. If for some reason you can't use port 25565 you can change the port the server binds to in the server.properties file.
<p>I was just wondering..... does the pi have to be forever connected with an Ethernet cable? Or can we just keep it on with an adapter after step 5?</p>
<p>you can set up portforwarding on your router</p>
<p>Ok, port forward what? Which port?......</p>
<p>how can i connect in a minecraft server from pi</p>
<p>At step 7 how do you know the &quot;Name of your Java package file&quot;?</p>
<p>You can do this instead to get java, it's new and easier: https://www.raspberrypi.org/blog/oracle-java-on-raspberry-pi/</p>
<p>No way. This the vanilla will hardly run on any RPi </p><p>Spigot will outperform any other server here (search for spigotMC)</p>
<p>I tested it on my B+ and it works fine. Just don't try it on an A/A+. (remember to change the heap to 496M to maximize ram usage)</p>
<p>I have also rpi b+ but when i run server it say :</p><p> [WARNING] Can't keep up! Did the system time change, or is the server overloaded?<br><br><br>and i cant conect in from minecraf? can you help me</p>
<p>^ It's blank??????</p><p>Anyway, how do I run this thing on LAN?</p>
<p>whether there can only play premium user?</p>
<p>Is rasp b+ strong enough for 3 players server?</p>
<p>I recently made a 10 player server with 30 plugins on my Raspberry Pi 2.</p><p>The only thing I notice is that it lags a little if you switch between worlds but apart from that it works pretty well.</p><p>Please check it out if you got the time: </p><p></p><p>Don't forget to add the port number otherwise you will be redirected to my other server.</p>
Hi djchewmacca,<br>Yesterday I tried to play on your server, it work fine !<br>I've got a raspberry 2 and I dont have the same result :( (very laggy when 2 players connected).<br>Can you details me the steps, servers you use (pm if you want)<br>Thanks a lot<br>G.
<p>I've tried both Spigot and CraftBukkit (built on a Windows 7 box with BuildTools and FTP'ed) on the new Raspberry Pi 2. Both run pretty well (especially compared to my old Raspberry Pi B. I've tried a couple of FTB's but the big ones have problems with Java. The FTPlite2 runs pretty well.</p><p>I must say though, I haven't had anyone but myself on the server.</p>
If you could test I would like to know how many players can be on a minecraft server on the pi 2.
<p>According to canihostaminecraftserver.com, unless you have really bad internet, you should be able to have about 12 people on at a time, assuming the OS doesn't take too much RAM. Hope this helps!</p>
<p>You're welcome!</p>
<p>I've tried running minecraft on my B+ and it just crashes all the time, one person connects and crash. Pretty sure the CPU isn't strong enough, even over clocked at 1Ghz turbo.</p>
<p>Is there anyway I could string several of these up to make a more powerful server??</p>
yes you can, there are people that dtacked 30-60 pies and connected to interact with each other but it gets expensive
<p>thi was sooo helpful thx</p>
<p>I did the <em>&quot;wget https://s3.amazonaws.com/MinecraftDownload/launcher/minecraft_server.jar</em><em>&quot; </em>command and after a few lines it says <em>&quot;Connecting to s3 (s3)||:443... failed: Connection refused.&quot; </em>What should I do?</p>
<p>the URL format has changed:</p><p><a href="https://s3.amazonaws.com/Minecraft.Download/versions/1.8.3/minecraft_server.1.8.3.jar" rel="nofollow">https://s3.amazonaws.com/Minecraft.Download/versio...</a></p><p>You can find it by examining the link on the Minecraft web page for the server jar file download </p>
<p>try the 1.8 version </p><p>&quot;https://s3.amazonaws.com/Minecraft.Download/versions/1.8.1/minecraft_server.1.8.1.jar&quot;</p>
<p>Nice Tutorial! For the Banana Pi it works also after install an current version of the g++ compiler:</p><p>http://www.bananapi-kaufen.de/banana-pi-minecraft-server-installieren/</p>
<p>Would be great for the new raspberry pi 2!</p>
<p>I am installing it right now, but Java instruction above did not work, i used these:<br><br>sudo apt-get update</p><p>sudo apt-get install openjdk-7-jdk</p><p>To install Java, it worked</p>
<p>We (my son and I) did some testing with a custom made MineCraft server called MCServer - and it works great on the Raspberry Pi B (Classic). It performed well, and has a WebAdmin interface as well.</p><p>According to developer, It's written completely in C++, should be fast, lightweight and awesome replacement for Vanilla.</p><p>Try search for MC-Server.</p>
<p>when i to get 1.7.10 it gives me error 403 forbidden , i think its 'cause of Microsoft buying Mojang </p>
<p>why would that have anything to do with that Mojang and Microsoft haven't even done it yet</p>

About This Instructable


1,085 favorites


More by chrisgoad3882: Raspberry Pi: Minecraft Server
Add instructable to: