Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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 1 month ago
JSON representation
New Crafting API for Pmmp
- Host: GitHub
- URL: https://github.com/highestdreams/craftingapi
- Owner: HighestDreams
- License: other
- Created: 2022-04-02T18:10:47.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-04-15T20:38:28.000Z (almost 3 years ago)
- Last Synced: 2024-12-20T03:30:01.133Z (about 1 month ago)
- Topics: api, crafting-api, crafting-recipes, pmmp, pmmp-plugin, pmmp-plugins, pmmp-virion, pocketmine-mp, pocketmine-mp-4, pocketmine-mp-plugins, pocketmine-plugin
- Language: PHP
- Homepage:
- Size: 80.1 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# How to install
1. Download Devirion & put it in yourplugins
folder.
2. Run your server to createvirions
folder automatically.
3. Download CraftingApi and paste it in yourvirions
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 useCraftingManager::addCraft()
before registering all crafting recipes, Otherwise the recipe won't be registered.
2. By usingCraftingManager::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).# TODO List
There is nothing todo but i'll addCraftingManager::register()
For register single recipes.