AnvilCrafting
AnvilCrafting
This is a bukkit plugin that changes the way that anvils function. It removes the vanilla crafting recipes for iron and gold tools and armour, instead one must open a new anvil gui and input their recipe there.
To get started you must first craft an anvil and also a hammer. To make the plugin more fair the recipe has been changed so now it is:
Once this has been done you can get to work crafting your items. The recipes are all as you remember them, so you input the recipe into the new anvil GUI. Once done exit out and you have to hit the anvil with the hammer, if the recipe has been done correctly the anvil will then craft you item and it will drop on top of the anvil. This will also add one usage to the hammer. The hammer has 132 usages and then it will break. You can see the damage on the damage bar. If you happen to make a recipe incorrectly no items will be made but the hammer will still take a usage so be careful you get the recipes right!
Now on top of this there is also added three more recipe. One of which is a crafting table recipe the other two are anvil recipes.
Crafting Table:
Anvil:
Notes:
- If you have any suggestions and/or want to report a problem/bug/exploit, then just submit a ticket.
API
Also included is an API that allows other plugin developers to add their own recipes. Just simply download the jar and add it to your build path. Then you using the CraftingManager class you can use the registerShapedRecipe(ItemStack[] input, ItemStack output) method to register your own recipes.
Download
The plugin can be downloaded here when it has been approved.
Metrics
This plugin utilises Hidendra's plugin metrics system, which means that the following information is collected and sent to mcstats.org:
- A unique identifier
- The server's version of Java
- Whether the server is in offline or online mode
- The plugin's version
- The server's version
- The OS version/name and architecture
- The core count for the CPU
- The number of players online
- The Metrics version
If you wish to disable this feature (plz nu i phan), you can do so by opt-ing out, which you can do in the config file under /plugins/PluginMetrics/
Source
The source code for this plugin can be found on my Github repository.
@Andonn
hmm, nice idea I'll see what I can do.
Configurable itemid for hammer would be nice, and maybe higher tier hammers crafting the item faster, but lower tier taking a few hits