=== 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). Unfortunately the 32-bit JRE doesn't seem to want to know about memory beyond 2GB which will limit the number of concurrent users - currently set at 20. Steve is planning on setting up a 64bit VM so we can migrate over soon. ==== Bukkit ==== Bukkit makes it very easy to install plugins - just drop a .jar file into {{{~/Minecraft/plugins/}}}. List of plugins is at http://dev.bukkit.org/. Beware as some plugins conflict with others. Poorly written ones can lag or crash the server. As of 2012/2/2 the server is running CraftBukkit recommended build 1.1-R3. The following plugins are installed: * Essentials-Pre2.8.2.2 (http://dev.bukkit.org/server-mods/essentials/) haven't looked too deeply into this but a friend who runs a server recommended it highly. * CreeperHeal 4.3 (http://dev.bukkit.org/server-mods/creeperheal-nitnelave/) used this before - it gradually repairs explosion damage from creepers tnt and fire. Would like to get some other mods. One to cut trees properly instead of leaving floating treetops all over the place and possibly one to let players not drop their stuff when they die (don't want people murdering each other for resources etc). ==== init.d script ==== {{{/etc/init.d/minecraft}}} is a symlink to {{{/home/minecraft/minecraft-init/minecraft}}}. It's based on http://github.com/Ahtenus/minecraft-init. Should bring up the server on reboot (tested). Needed screen from apt. arguments: * start * stop * update (updates minecraft and bukkit, seems to work though no updates have arrived yet) * overview skynet (generates map of "skynet" world in ~/map but takes the server offline during render and took several minutes when I tested it) * help * rest of functions are untested, hope to test ramdisk soon ==== Overviewer ==== Generates the map files for web serving. I put up a demo at http://dl.dropbox.com/u/103004/map/index.html with the first couple of chunks. https://github.com/overviewer/Minecraft-Overviewer. Needed python, python-numpy, python-imaging, python-dev and gcc from apt to run. ==== Java ==== Currently using 32bit JRE from oracle until we migrate to a 64bit VM. Binary is at {{{/home/minecraft/java/bin/java}}}. Errored out if I tried to give it more than a 2048MB max heap size. ==== crontab ==== I threw this in the crontab as suggested by the init script: {{{02 05 * * * /etc/init.d/minecraft backup 55 04 * * * /etc/init.d/minecraft log-roll */30 * * * * /etc/init.d/minecraft to-disk}}}