Install your own Minecraft Server (including the 256Mb version)

Today I present to you a tutorial that you've already certainly all seen, read and reviewed ! Je viens un peu après la guerre mais ça pourra peut être servir à certains 😉

Minecraft

You've certainly all seen that Raspberry Pi has a version of Minecraft who is clean and who is free. This version is based on the same functioning than iOS and Android devices. My daughter has become crazy (Although addicted would be a better term !)

Le Raspberry de 512Mo étant utilisé comme serveur domestique, I only had one 256 MB available to my tests. So I tried the servers

  • mineserver (available here). Server to compile itself, in C , announced as being very efficient.
  • craftbukkit (available here). In Java, ready to use with a multitude of plugins and a large number of features.

In both cases I left a Moebius distribution (see this article to install it) to be with the bare minimum.

Server craftbukkit

minecraft-3

Installation is simple :

  1. Updating the raspberryapt-get update && apt-get upgrade
  2. Give the maximum memory to the system via raspi-config. At home I have 4 MB GPU. A priori can be put even 1 MB but I have not tested
  3. Download the JDK 8 for ARMCD/opt wget http://www.Java.NET/ download/JavaFXarm/jdk-8-ea-b36e-linux-arm-hflt-29_nov_2012.tar.gz
  4. Install ittar zxvf jdk-8-ea-b36e-linux-arm-hflt-29_nov_2012.tar.gz
  5. Go to the home directory (/root home) and create a minecraft directoryCD/rootmkdir minecraftCD minecraft
  6. Download the latest version of the server. I got the beta version of development to be compatible with the client 1.5.1 officialwget http://DL.bukkit.org/downloads/craftbukkit/get/02084_1.5.1-r0.2/craftbukkit-beta.jar o craftbukkit.jar
  7. We have to start the server
    1. For the 256 MB/opt/JDK1.8.0/bin/Java - Xms175M - jar craftbukkit.jar
    2. For the 512 MB/opt/JDK1.8.0/bin/Java - Xms300M - jar craftbukkit.jar
  8. The server will generate the world. It will last a good 10 minutes. Once the created world, is not log on because it's going to be extremely slow.
  9. Create the plugins directorymkdir/root/minecraft/plugins && CD/root/minecraft/plugins
  10. We will install the plugin NoSpawnChunk to improve performancewget http://dev.bukkit.org/media/files/586/974/NoSpawnChunks.jar
  11. Side configuration happens in the file minecraft/server.properties. If you do not account Minecraft, you need to change the option ' online-mode’ by putting false to skip the control. However if the server is open to the outside, anyone can log on and partying …
  12. Here you can start your server. Go to http://plugins.bukkit.org for a large selection of plugins

I find the possibilities of this server really very nice. The party is performance really very limited and regular crashes on a Raspberry Pi with 256 MB following a lack of memory.

Server Mineserver

minecraft-2

The installation is very simple :

  1. Updating the raspberry
    apt-get update && apt-get upgrade
  2. Donner le maximum de mémoire au système via raspi-config. At home I have 4 MB GPU. A priori can be put even 1 MB but I have not tested (et hop copier-coller 😉 )
  3. Install the packages needed to compileapt - get install libncurses-dev libnoise-dev libevent-dev libssl-dev git-core make gcc g cmake
  4. Cloning project in the root directoryCD/rootgit clone git://github.com/fador/mineserver.git
  5. Compile the serverCD mineservercmake .make
  6. Once finished compiling, You can change the configuration in the bin/config.cfg file
  7. It remains to launch the server waiting first for the generation of world/root/mineserver/bin/mineserver

Voilà ! Simple, fast and efficient. However many options in less than craftbukkit and few plugins. But on a 256 MB it argues very well !

Conclusion

Two servers that do what they are asked but with really different performance. If you have a 512 MB I recommend CraftBukkit which allows a nice customization. If you have a 256 MB or if you want to host many crafteurs then mineserver is what need you.

Left to wait with the Pocket Edition version compatibility ! And there will be the top (especially for the Lady at home ! 🙂 )

 

Like this article ? Bear with me on patreon!

You may also like...