Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/highestdreams/craftingapi

New Crafting API for Pmmp
https://github.com/highestdreams/craftingapi

api crafting-api crafting-recipes pmmp pmmp-plugin pmmp-plugins pmmp-virion pocketmine-mp pocketmine-mp-4 pocketmine-mp-plugins pocketmine-plugin

Last synced: about 15 hours ago
JSON representation

New Crafting API for Pmmp

Awesome Lists containing this project

README

        

# 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.