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>is it minecraft 1.5.2</p>
<p>You can now just do</p><p>sudo apt-get install oracle-java7-jdk</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>
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'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>
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>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>
they already have
<p>Ok ! It's working but verry laggy with 2 players in server . Sorry but server of MC is too complicated work for raspi.... </p>
<p>I wonder if the speed might not be fine in the new pi version.</p>
<p>There are a few points that should be updated on this instruction list.</p><p>First, if you install a raspbian image from after September 2013, you do NOT need to download and install Java. It is already included.</p><p>Next, the server download listed is for server 1.5.2. I note that MC is at 1.8.1. However, it is not clear whether 1.5.2 is the only version that will run <br> comfortably on RPi. As I can see it, more recent servers use more <br>resources, but I could be totally wrong about that. Readers can go to mcversions.net to find different server releases. If you do use this server, your players have to know to use the older client settings.</p><p>Third, as of December 2013 Mohjang has implemented an EULA agreement process that you MUST handle. You have to edit eula.txt (in the folder to which you downloaded the jar file) and change the line that says &quot;eula=false&quot; to &quot;eula=true&quot;. Otherwise, the server craps out.</p><p>Fourth, if you DO download a different version, the jar file will include the <br>version number in it (e.g. minecraft_server.1.8.1.jar). Moreover, using <br>the 256M figures will cause the server to bark at you. It will recommend <br> 1024M, but I am not sure what numbers to use on the limited RPi <br>resources.</p><p>Finally, you are likely to see &quot;Can't keep up&quot; errors on the console. It is not clear whether these are problematic or not (searches online led me to different opinions on the matter), but readers should at least be prepared for them. </p>
<p>This is ridiculous. What is the name of my &quot;Java package file&quot;? </p>
<p>everything works fine until i run the actual program, then it gives me this.</p><p>Exception in thread &quot;Thread-3&quot; java.lang.NullPointException</p><p>at net.minecraft.server.MinecraftServer.a(SourceFile:252)</p><p>at net.minecraft.server.MinecraftServer.k(SourceFile:276)</p><p>at go.run(SourceFile:557)</p>
<p>Hi Guys, I have a problem that I hope you can help me solve.</p><p>I'm trying to run the official Mojang minecraft server on the PI B+, using the: </p><p>minecraft_server.1.8.1.jar</p><p>And following this instruction.</p><p>The newest release of Rasbian has Java installed so I skipped that part, when I do the &quot;java -version&quot; everything looks perfect.</p><p>I do the rest of the guide and everything looks good, but when I try to launch the server using the command: &quot;sudo java -Xms256M -Xmx496M -jar minecraft_server.jar nogui&quot; I get the following error:</p><p>&quot;error occurred during initialization of vm too small initial heap&quot;</p><p>I've tried decreasing the memory allocated to the server but no succes. </p><p>Do you have any ideas or solutions?</p>

About This Instructable


1,057 favorites


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