Hey coders! As many of you already know, a new version of Minecraft PE is coming with a lot of new and exciting features; to support it, the PocketMine Team is developing a brand new version of our favorite server software: PocketMine-MP 1.4! This new version of PocketMine-MP also require a complete re-write of our plugins, that means a new API to learn, this is the "API 1.0.0" (not "API 14" ) A lot of you are already learning the new API and testing your plugins with DevTools, but some get stuck while converting it to a .phar file, but don't worry, here is the solution: How to convert your plugins to a .phar file: 1.- Your plugin need to work with the new API 1.0.0 2.- In your PocketMine directory go to /bin/php/ 3.- Open the file php.ini 4.- Search for the [Phar] category and you will see something like: 5.- Delete the ; at the start of the line and change the On value to Off 6.- Save the file 7.- Start your server, send the /makeplugin <plugin> command and you're done! This should work, if not... Then your plugin is not compatible or doesn't work with the new API. The .phar plugin can be found in the /plugins/DevTools directory. Thanks for reading! (Sorry for my bad english )
You can also use the standalone command line script: https://github.com/PocketMine/DevTools/blob/master/src/DevTools/ConsoleScript.php
You don't. A phar archive is kind of like a folder on your computer full of files, except you can't access them (as far as I know) without unzipping it. Then, you'll find lots of php, and maybe some yml files in it. Of course, I think the New-API DevTools lets you zip and unzip phar archives.