Difference between revisions of "Raspberry Pi"
Jump to navigation
Jump to search
| − | + | Installing Mineserver (from source) on the raspberry pi is surprisingly easy! | |
| − | |||
| − | |||
Mineserver was first compiled on the Raspberry Pi on Wednesday 8th August 2012 NZST. Using commit e973517e24 [https://github.com/fador/mineserver/commit/e973517e24ca3e30487e8bcd1dc6b42ce9197874] | Mineserver was first compiled on the Raspberry Pi on Wednesday 8th August 2012 NZST. Using commit e973517e24 [https://github.com/fador/mineserver/commit/e973517e24ca3e30487e8bcd1dc6b42ce9197874] | ||
| − | + | [[File:Mineserver_on_raspberry_pi.png]] | |
== Gameplay and Performance == | == Gameplay and Performance == | ||
| − | Initial generation of spawn area takes about 20 seconds | + | Initial generation of spawn area takes about 20 seconds. Connect 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 | + | Generating chunks uses about 90% cpu so try not to sprint into new areas quickly because your client will issue a "Read Timed Out" message. When chunks are not being generated approximately 1.6% cpu is used with one player walking, digging etc. |
When initially started, it used about 47% of the raspberry pi's memory but now sits at about 18% with one player. | When initially started, it used about 47% of the raspberry pi's memory but now sits at about 18% with one player. | ||
*libnoise - land generation | *libnoise - land generation | ||
*libevent - asynchronous event notification software library. | *libevent - asynchronous event notification software library. | ||
| + | *libssl - For secure network communication | ||
| + | *libncurses - For the curses interface | ||
Additionally you will need the following tools to build Mineserver | Additionally you will need the following tools to build Mineserver | ||
Please run these commands under the normal 'pi' user not root. | Please run these commands under the normal 'pi' user not root. | ||
| − | #The command make will take a long time to | + | #The command 'make' will take a long time to compile and will spit out warnings which is usually normal. |
| − | + | #the executable file will be located in /home/pi/src/mineserver/bin unless you specify something else. | |
| − | + | #./mineserver starts the server once successfully compiled. | |
| + | #When running CTRL + C stops the server gracefully. | ||
<code> | <code> | ||
sudo apt-get update | sudo apt-get update | ||
| − | sudo apt-get install libnoise-dev libevent-dev cmake git-core | + | sudo apt-get install libncurses-dev libnoise-dev libevent-dev libssl-dev cmake git-core |
mkdir src && cd src | mkdir src && cd src | ||
</code> | </code> | ||
| + | |||
| + | Pressing CTRL + C will gracefully stop the server. | ||
