By continuing to use this site, you agree to the Terms of Service of this website, including usage of cookies.

OK, Don't show this again

A 6x6 crafting table plugin with customable recipe.
version 1.0.0
Approved
Direct Download How to install?
Switch version
27 Downloads / 2465 Total
8 Reviews
Plugin Description §

Invcraft - A 6x6 crafting table plugin for PocketMine-MP

Feel free to report any bugs or suggest new features in Issues

Command & Permission

Command

  • /invcraft - Open InvCraft main menu
    • aliases: /ic
    • permission: ic.command

Permission

  • ic.command - Allow player to use /invcraft command including view and craft items
  • ic.admin - Allow player to use add, edit, remove recipes (will show additional options in menu for admin)

For developers (API Doc)

Recipes API

use NgLam2911\InvCraft\crafting\Recipe;
use NgLam2911\InvCraft\InvCraft;

$recipeManager = InvCraft::getInstance()->getRecipeManager();
// Create a new recipe
$recipe = new Recipe(<args here>);
$recipeManager->addRecipe($recipe);
// Remove a recipe
$recipeManager->removeRecipe(<recipe name>);
// Get a recipe
$result = $recipeManager->getRecipe(<recipe name>);

Handle when a player craft an item

use NgLam2911\InvCraft\event\InvCraftItemEvent;

// EventsListener.php
public function onCraft(InvCraftItemEvent $event) {
    $player = $event->getPlayer();
    $recipe = $event->getRecipe();
    $result = $event->getResult();
    // Do something here
}
What's new §
  • MySQL, SQLite database support.
  • Multi-pattern matching like vanilla crafting table.
  • Work with any items, including custom items (if you have a plugin that can create custom items).
    NOTE: This rewrite version is NOT compatible with the old version, i currently dont have any idea for converting old recipes to the new format, so you have to create them again.
  • Update InvMenu dependency for pm4.11+
  • Fix critical bug (#24)
  • Fix #23
  • Add UpdateNotifier
  • Add view recipe command.
  • Update for API 4.0.0
  • Add 3x3 crafting table
  • Better recipe register and check.
  • Fix recipes not work after stop server.

GamerMJay
Outdated
using v0.2.4
26 Apr 22
Good plugin but after every restart you have to add the recipes again
NgLam2911
05 Sep 24
Fixed in 1.0 because your server didn't stop correctly, which made the old save file corrupted or unable to save correctly.
DaDevGuy
Outdated
using v0.2.4
23 Apr 22
NTT1906
Outdated
using v0.2.2
26 Mar 22
harryitz
Outdated
using v0.2.2
25 Mar 22
It's mysterious in its icon, the formula looks like a hammer but the result is an ax LOL
NgLam2911
25 Mar 22
This images are for illustration purposes
harryitz
Outdated
using v0.2.1
17 Mar 22
Noobxbg
Outdated
using v0.2
07 Jan 22
Op plugin keep on making op plugins.
DRAGONPMMP
Outdated
using v0.2
17 Dec 21
Hi bro op plugin , keep going
NgLam2911
06 Jan 22
thanks.
NhanAZ
Outdated
using v0.2
12 Dec 21
NgLam2911
14 Dec 21
Bruh

Reply to review by :

/ 5
Supported API versions
5.3.0
->
5.16.0
Producers §
  • Collaborators:
    • @NgLam2911
License §
Categories:
General
Informational
Mechanics
Permissions
Database
Other files
Permissions
Commands

You can leave one review per plugin release, and delete or update your review at any time

/ 5
Loading...