Make Developer CraftBukkit: Difference between revisions
(New page: = Howto Make Developer CraftBukkit = first, why? Isn't there a recommended build you can download? Ok, probably not, so what we need to do is * install git (zypper install git) * install...) |
|||
Line 1: | Line 1: | ||
= Howto | = Howto make developer CraftBukkit with some important plugins = | ||
first, why? Isn't there a recommended build you can download? | first, why? Isn't there a recommended build you can download? | ||
Ok, probably not, so what we need to do is | Ok, probably not, so what we need to do is | ||
* install git (zypper install git) | * install hg and git (sudo zypper install hg git) | ||
* install maven 3 (don't know, get it from apache site) | * install maven 3 (don't know, get it from apache site) | ||
* clone | * clone mybukkit repo (described below) | ||
* build (described below) | * build and install (described below) | ||
So, if you have git and maven, but you don't have a clone of the | 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/ | 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 | If you did that before, it is enough to update your hg repository | ||
cd /wherever/you/cloned/your/ | cd /wherever/you/cloned/your/mybukkit | ||
hg pull | |||
hg update | |||
Now you can build | 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! |
Latest revision as of 10:06, 14 April 2013
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!