Make Developer CraftBukkit

From JoBaPedia
Jump to navigation Jump to search

Howto make developer CraftBukkit with some important plugins

first, why? Isn't there a recommended build you can download? Ok, probably not, so what we need to do is

  • install hg and git (sudo zypper install hg git)
  • install maven 3 (don't know, get it from apache site)
  • clone mybukkit repo (described below)
  • build and install (described below)

So, if you have hg, git and maven, but you don't have a clone of the mybukkit repository yet, then

cd /wherever/you/want/to/build/
hg clone http://banzhaf.homeip.net/hg/mybukkit
cd mybukkit

If you did that before, it is enough to update your hg repository

cd /wherever/you/cloned/your/mybukkit
hg pull
hg update

Now you can build

./mybukkit -u

This will clone craftbukkit and the plugin repositories if necessary, updates and then rebuilds them. Finally it does a test install and starts it. Try to connect to it and check everything that you need working. Don't forget: this is a bleeding edge development build. Things often break here.

If all went fine, you can make a tar of the new craftbukkit and the plugins. Later you can unpack this in your usual craftbukkit folder (after you made a backup ;-).

./mybukkit -t

If you use other plugins that are not maintained by this script, you have to update them manually, as before. Or, look into the script: maybe all you have to do is add the plugins git repository and the plugin name to make it work.

Good luck!