Minecraft Server on Raspberry Pi
Written in C++ (rather than Java like Minecraft itself) Cuberite is a Free and Open Source (FOSS) Minecraft-compatible Game Server. It is designed with performance, configurability, and extensibility in mind, and also aims to accurately recreate most vanilla features.
Today we packaged up the server binaries with Raspbian to produce a much requested SD Card image – Minecraft On LAN. This allows you to run your own Minecraft server on your own Local Area Network and have up to 25 people connect (if want friends from outside your network to play, you will need to port forward port 25565 to the internal IP address of your server in your router, after you get your Raspberry Pi up and running. Note that we cannot support you with this).
- Download the SD Card image and once unzipped, write to a card no smaller than 4GB with your favourite method.
- Insert the card into an unpowered Raspberry Pi unit
- Connect the Pi first by ethernet cable to your router, then to the RPi Power Supply (you do not need a monitor, keyboard or mouse) so it boots
- After at least 3 minutes, scan your LAN to see the IP address of the new server
- Start your Minecraft client (ensure you have a registered account and are logged in) and navigate to the Multiplayer menu
- Rather than scan for a game, choose the Direct Connect method
- Enter the IP address reported when you SCAN MY LAN from this website. The below screenshot shows an example. Note that this is the IP for people INSIDE your network. If you setup Port Forwarding, you forward your EXTERNAL IP to this internal address on the router and then give the EXTERNAL address to your friends. Once again, we won’t be supporting you in this!
- You should immediately connect to the server and can start to play. If you see the following screen, it means you have not waited long enough and the server is still starting up!
mcrcon -H 192.168.1.218 -P 25575 -p minecraftonlan "your command here"
We’ve also left the default Raspbian login details intact for people who like to play around with the settings. Have fun!Download Now