- Download Devirion & put it in your
plugins
folder. - Run your server to create
virions
folder automatically. - Download CraftingApi and paste it in your
virions
folder. - Now you are ready to use this crafting api.
There are some examples of how to use this api that you can see their code to understand how to use it, Btw here is some important hints that you need to know:
- You must use
CraftingManager::addCraft()
before registering all crafting recipes, Otherwise the recipe won't be registered. - By using
CraftingManager::registerAll()
You'll register all crafting recipes, Which means you don't need to register it again (If you want make +2 plugins using this api, UseregisterAll()
function just once).
There is nothing todo but i'll add CraftingManager::register()
For register single recipes.