VennDev / VBasket

A plugin that makes your server interesting by growing crops quickly.
MIT License
7 stars 1 forks source link

Class "muqsit\invmenu\InvMenuHandler" not found #1

Closed brotherbigbao closed 1 year ago

brotherbigbao commented 1 year ago

[Server thread/CRITICAL]: Error: "Class "muqsit\invmenu\InvMenuHandler" not found" (EXCEPTION) in "plugins/VBasket.phar/src/vennv/vbasket/VBasket" at line 59

Please how to install InvMenu, I download InvMenu_dev-194.phar into plugins dir, bug throw this Exception. Thanks!

brotherbigbao commented 1 year ago

I found this and it works.

By the way, if you want to use InvMenu in your plugin that's in .phar format, you can run the following: Code: bin/php7/bin/php virions/InvMenu.phar /path/to/your/plugin.phar That will inject the InvMenu virion into your phar plugin.

brotherbigbao commented 1 year ago

But 1 minute game later:

[Server thread/CRITICAL]: Error: "Class "pocketmine\network\mcpe\convert\RuntimeBlockMapping" not found" (EXCEPTION) in "plugins/VBasket.phar/src/_92813f531e6123422611muqsit/invmenu/type/graphic/BlockInvMenuGraphic" at line 32 🤪

brotherbigbao commented 1 year ago

v1.20.10, pmmp 5.3.3

VennDev commented 1 year ago

This you need to contact the manufacturer of its 3rd library, Muqsit, or you should install that library in Devirion. Here: https://github.com/Muqsit/InvMenu/tree/pm5/ Download the new version and put it in the Virion folder, if there is still that error, you should contact him. Or you can download the native code from my VBasket and run it in the background of Devtools then make sure you have InvMenu lib in Virion folder! I will reconsider about updating the library in it and your feedback for a few more days, if everything is fine, I'll close it! Thanks for the feedback!

brotherbigbao commented 1 year ago

Thanks, I'll try it sometime.😃