MinecraftServer

Minecraft server config

Server running on walle-vm08 under user "minecraft". Main server files in /home/minecraft/Minecraft/. Related files in /home/minecraft/. Server should always be running in screen session "minecraft" if the init.d script is used (see below). The JVM ram limit is set at 5200MB, which should be enough to handle 40 players, cpu permitting.

Bukkit

Bukkit makes it very easy to install plugins - just drop a .jar file into ~/Minecraft/plugins/. List of plugins is at [WWW] http://dev.bukkit.org/. Beware as some plugins conflict with others. Poorly written ones can lag or crash the server.

As of 2012/2/5 the server is running CraftBukkit recommended build 1.1-R3. The following plugins are installed:

init.d script

/etc/init.d/minecraft is a symlink to /home/minecraft/minecraft-init/minecraft. It's based on [WWW] http://github.com/Ahtenus/minecraft-init. Should bring up the server on reboot (tested). Needed screen from apt.

arguments:

crontab

This crontab is suggested by the init.d script:

02  05  *   *   *   /etc/init.d/minecraft backup 
55  04  *   *   *   /etc/init.d/minecraft log-roll
*/30    *   *   *   *   /etc/init.d/minecraft to-disk

==== nginx web server setup === nginx seems to have sane defaults and is quite straightforward to configure:

Overviewer

Generates the map files for web serving. [WWW] https://github.com/overviewer/Minecraft-Overviewer. Needed python, python-numpy, python-imaging, python-dev and gcc from apt to run. There is a simple shell script at /home/minecraft/overviewer/render1.sh to copy the "skynet" world file and render it into /var/www/map/