Difference between revisions of "Raspberry Pi"

From Mineserver Wiki
Jump to navigation Jump to search
−
It works!
+
Installing Mineserver (from source) on the raspberry pi is surprisingly easy!
−
 
−
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]
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 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
+
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 staying around one area is best or move around slowly (not sprinting) or else you'll read time out.
+
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 run and will spit out warnings currently which is usually normal. 
+
#The command 'make' will take a long time to compile and will spit out warnings which is usually normal.
−
#./mineserver starts the server once started
+
#the executable file will be located in /home/pi/src/mineserver/bin unless you specify something else.
−
#when running CTRL + C stops the server gracefully.
+
#./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.