InvMenu Versions Save

A PocketMine-MP virion to create and manage virtual inventories!

4.6.5

9 months ago
  • Added getter methods to retrieve menu listener and menu inventory close listener Added InvMenu::getListener(), InvMenu::getInventoryCloseListener(). This allows developers to retrieve the current listener, extend its behavior, and then re-set it. This provides more flexibility in chaining or extending listener functionalities without losing the original behavior.
    $listener = $menu->getInventoryCloseListener();
    $menu->setInventoryCloseListener(function(Player $player, Inventory $inventory) use($listener) : void{
    	$listener($player, $inventory);
    	// place additional inventory close checks here
    });
    

4.6.4

10 months ago
  • Added support for Bedrock Edition v1.19.20: Fixed menus not opening after updating to Bedrock Edition v1.19.20 (#216, #218, #219, #223) (c597754737efad699592ad4b9c8f63462328fe86, 5489dd331658e0a7a2a4bd322fc1dc00245bf0ad)
  • Dropped support for Bedrock Edition < v1.19.20

4.6.1

11 months ago
  • Added support for PocketMine-MP v5.0.0
  • Dropped support for PocketMine-MP v4.x.x

4.5.1

1 year ago
  • Fixed a bug that caused a double chest inventory to be sent to players when a single chest menu was opened at the position of an existing double chest (#207, thanks @OrBuilder)