I'm coding plugin using pocketmine\math\vector3.php And i found i found that pocketmine had removed math library and now it on https://github.com/pmmp/Math But how can i setup and continue coding plugin ?
PocketMine use composer, you can clone PocketMine locally with git: Code: git clone --recursive https:/ /github.com/pmmp/PocketMine-MP (Recursive for lang etc..) cd PocketMine-MP and install all external PMMP library with composer : Code: composer install Then you can put PocketMine in external library according to your IDE (For PHPStorm : Setting : Language & Frameworks : PHP : Include Path) or install the PocketMine.phar directly and put it in external library. (Much simpler solution that works as well)
You will have a src folder and next to it a vendor folder. If you want a .phar will need to use devtools. But yes it is the purpose of composer, you can directly install the.phar here if you want: All pmmp .phar have math to work : https://github.com/pmmp/PocketMine-MP/releases | https://jenkins.pmmp.io/job/PocketMine-MP/