/CraftingAPI

New Crafting API for Pmmp

Primary LanguagePHPOtherNOASSERTION

How to install

  1. Download Devirion & put it in your plugins folder.
  2. Run your server to create virions folder automatically.
  3. Download CraftingApi and paste it in your virions folder.
  4. Now you are ready to use this crafting api.

How to use

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:

  1. You must use CraftingManager::addCraft() before registering all crafting recipes, Otherwise the recipe won't be registered.
  2. 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, Use registerAll() function just once).

TODO List

There is nothing todo but i'll add CraftingManager::register() For register single recipes.