Instructables
loading
loading
Picture of Raspberry Pi: Minecraft Server
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.
 
Remove these adsRemove these ads by Signing Up

Step 1: Materials

Picture of 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 )

Step 2: Development Environment

Picture of Development Environment
PC with Internet connection & SD card reader

Additional wired Internet connection

Extra USB Keyboard

Monitor (with HDMI port, or adapter)

HDMI cable (and adapter, if necessary)

Step 3: Download and Burn Linux Distribution Image to SD Card

Picture of Download and Burn Linux Distribution Image to SD Card
Download the Soft-float Debian “wheezy” image zip file (http://www.raspberrypi.org/downloads) and unzip it into a directory of your choice.

     Linux distribution used: 2013-05-29-wheezy-armel


Obtain imaging software that will support SD cards

     Ex: Win32DiskImager, http://sourceforge.net/projects/win32diskimager/


Burn an image of the linux distribution to SD card:

1. Open Win32 Disk Imager
2. Click on Directory icon and navigate to downloaded and unzipped image (.IMG) and select ‘Write’ … confirm “Yes” when prompted
3. When complete, a window will pop up saying “Write Successful”.  Click OK.  Click Exit.
4. Remove SD card.

Step 4: Initial Boot and Configuration of the Raspberry Pi

Picture of Initial Boot and Configuration of the Raspberry Pi
1. Insert SD card into Pi in without a power supply
2. Ensure that HDMI, keyboard and mouse are connected properly
3. Connect the 5V power supply
4. The Pi should boot as a list of processes and applications begin filling the screen
5. A blue screen appears with ‘Raspi-config’ and several menu options
6. Arrow down to Select ‘expand_rootfs’ and press Enter
7. ‘Root Partition has been resized’, press Enter.
8. Arrow down to ssh
9. Enable SSH
10. Reboot
11. If all boots correctly then you are ready to start the install.
1-40 of 107Next »
Morgo2976 days ago

At step 7 how do you know the "Name of your Java package file"?

You can do this instead to get java, it's new and easier: https://www.raspberrypi.org/blog/oracle-java-on-raspberry-pi/

dudelkingL5 months ago

No way. This the vanilla will hardly run on any RPi

Spigot will outperform any other server here (search for spigotMC)

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)

I have also rpi b+ but when i run server it say :

[WARNING] Can't keep up! Did the system time change, or is the server overloaded?


and i cant conect in from minecraf? can you help me

Zaslonska slika 2015-07-14 19:55:53.png
ZoeC31 month ago
ZoeC3 ZoeC31 month ago

^ It's blank??????

Anyway, how do I run this thing on LAN?

est raspi1 month ago

whether there can only play premium user?

gliuzzo1 month ago

Is rasp b+ strong enough for 3 players server?

djchewmacca2 months ago

I recently made a 10 player server with 30 plugins on my Raspberry Pi 2.

The only thing I notice is that it lags a little if you switch between worlds but apart from that it works pretty well.

Please check it out if you got the time:

81.99.59.115:25566

Don't forget to add the port number otherwise you will be redirected to my other server.

Berryhollow Logo.jpg
Hi djchewmacca,
Yesterday I tried to play on your server, it work fine !
I've got a raspberry 2 and I dont have the same result :( (very laggy when 2 players connected).
Can you details me the steps, servers you use (pm if you want)
Thanks a lot
G.
djchewmacca2 months ago
frankrams5 months ago

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.

I must say though, I haven't had anyone but myself on the server.

If you could test I would like to know how many players can be on a minecraft server on the pi 2.

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!

Thanks

You're welcome!

DarrenS23 months ago

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.

EthanH34 months ago

Is there anyway I could string several of these up to make a more powerful server??

jethro99 EthanH33 months ago
yes you can, there are people that dtacked 30-60 pies and connected to interact with each other but it gets expensive
dasher1244 months ago

awesome

ghost1074 months ago

thi was sooo helpful thx

I did the "wget https://s3.amazonaws.com/MinecraftDownload/launcher/minecraft_server.jar" command and after a few lines it says "Connecting to s3 (s3)|198.105.254.226|:443... failed: Connection refused." What should I do?

the URL format has changed:

https://s3.amazonaws.com/Minecraft.Download/versio...

You can find it by examining the link on the Minecraft web page for the server jar file download

try the 1.8 version

"https://s3.amazonaws.com/Minecraft.Download/versions/1.8.1/minecraft_server.1.8.1.jar"

Nice Tutorial! For the Banana Pi it works also after install an current version of the g++ compiler:

http://www.bananapi-kaufen.de/banana-pi-minecraft-server-installieren/

YourN5 months ago

Would be great for the new raspberry pi 2!

I am installing it right now, but Java instruction above did not work, i used these:

sudo apt-get update

sudo apt-get install openjdk-7-jdk

To install Java, it worked

Niels W.K5 months ago

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.

According to developer, It's written completely in C++, should be fast, lightweight and awesome replacement for Vanilla.

Try search for MC-Server.

Di Immortales7 months ago

when i to get 1.7.10 it gives me error 403 forbidden , i think its 'cause of Microsoft buying Mojang

why would that have anything to do with that Mojang and Microsoft haven't even done it yet

they already have
Ah-che6 months ago

Ok ! It's working but verry laggy with 2 players in server . Sorry but server of MC is too complicated work for raspi....

arpruss Ah-che5 months ago

I wonder if the speed might not be fine in the new pi version.

sunfish625 months ago

There are a few points that should be updated on this instruction list.

First, if you install a raspbian image from after September 2013, you do NOT need to download and install Java. It is already included.

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
comfortably on RPi. As I can see it, more recent servers use more
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.

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 "eula=false" to "eula=true". Otherwise, the server craps out.

Fourth, if you DO download a different version, the jar file will include the
version number in it (e.g. minecraft_server.1.8.1.jar). Moreover, using
the 256M figures will cause the server to bark at you. It will recommend
1024M, but I am not sure what numbers to use on the limited RPi
resources.

Finally, you are likely to see "Can't keep up" 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.

SamL36 months ago

This is ridiculous. What is the name of my "Java package file"?

Joshuay6 months ago

everything works fine until i run the actual program, then it gives me this.

Exception in thread "Thread-3" java.lang.NullPointException

at net.minecraft.server.MinecraftServer.a(SourceFile:252)

at net.minecraft.server.MinecraftServer.k(SourceFile:276)

at go.run(SourceFile:557)

jakobk16 months ago

Hi Guys, I have a problem that I hope you can help me solve.

I'm trying to run the official Mojang minecraft server on the PI B+, using the:

minecraft_server.1.8.1.jar

And following this instruction.

The newest release of Rasbian has Java installed so I skipped that part, when I do the "java -version" everything looks perfect.

I do the rest of the guide and everything looks good, but when I try to launch the server using the command: "sudo java -Xms256M -Xmx496M -jar minecraft_server.jar nogui" I get the following error:

"error occurred during initialization of vm too small initial heap"

I've tried decreasing the memory allocated to the server but no succes.

Do you have any ideas or solutions?

SahirB6 months ago

How do you make a minecraft server?

m about to start using raspberry pi but can you play minecraft by going on to the mine craft.net website and putting user and pass and downloading linux version. can u or can u not do this

1-40 of 107Next »