Raspberry Pi
It works!
Here I will give a brief overview on how it performs and how to install Mineserver on the Raspberry Pi Model B.
Mineserver was first compiled on the Raspberry Pi on Wednesday 8th August 2012 NZST. Using commit e973517e24 https://github.com/fador/mineserver/commit/e973517e24ca3e30487e8bcd1dc6b42ce9197874
Gameplay and Performance[edit]
Initial generation of spawn area takes about 20 seconds and from then you can join using the Official Minecraft 1.3.1 client. By default Mineserver operates in 'online' mode and will check with the Mojang login server. You can disable session verification by setting system.user_validation = false in config.cfg
Generating chunks uses about 90% cpu so staying around one area is best or move around slowly (not sprinting) or else you'll read time out.
When initially started, it used about 47% of the raspberry pi's memory but now sits at about 18% with one player.
What Works[edit]
- Logging in
- Chat (including server console chat)
- Chunk saving
- Block breaking/placing
- Mobs - including killing and getting drops
- Crafting
- Death
Requirements to Build[edit]
Mineserver depends on the following libraries.
- libnoise - land generation
- libevent - asynchronous event notification software library.
Additionally you will need the following tools to build Mineserver
- CMake
Building Instructions[edit]
These instructions are intended for Raspbian “wheezy” - the recommended Linux distro.
Because my Raspberry Pi is not connected to the internet, I compiled all the required libraries from source [which took ages] so I cannot vouch for the correctness of these commands assuming your pi is connected to the internet.
Please run these commands under the normal 'pi' user not root.
- The command make will take a long time to run and will spit out warnings currently which is usually normal.
- ./mineserver starts the server once started
- when running CTRL + C stops the server gracefully.
sudo apt-get update
sudo apt-get install libnoise-dev libevent-dev cmake git-core
mkdir src && cd src
git clone git://github.com/fador/mineserver.git
cd mineserver
cmake .
make
cd bin
./mineserver
Pressing CTRL + C will gracefully stop the server.
