I want to edit my copy of DevTools so the file name doesn't have a version after it. Example: Code: RandomItem_v4.2.phar Would be: Code: RandomItem.phar But how do I recompile DevTools?? To compile DevTools, I need to use DevTools. (I don't need help modifying DevTools, I already know it's this line of code.)
...or you can just rename the file it generates? Anyways maybe http://php.net/manual/en/book.phar.php will help. If not, just try http://lmgtfy.com/?q=How to create a phar archive file
I already rename it after it generates. I hate renaming files. I also don't know how to install PECL from a tar.gz file.
Using for PDT(http://www.eclipse.org/pdt/) you can make the PHAR and it can possible extract phar -> screenshot (http://imgur.com/9OAwheK)
For the simplest way, paste ConsoleScript.php at your PocketMine directory, open command terminal there, and run "bin\php\php.exe ConsoleScript.php". It will then show the usage.
You can make .phar file using Eclipse PDT or you can create a small PHP script and make phar archive with shell_exec(); or similar functions. Documentation about PHAR files HERE. You can also extract the content of modified DevTools PHAR file and rename the plugin. Then you will have for example 'MyDevTools' and 'DevTools' (the original) and you can compile 'MyDevTools' simply with DevTools. Example Screens here: It's a bit hard to explain, but It's a possible solution.
https://github.com/PocketMine/DevTools/blob/master/src/DevTools/ConsoleScript.php use the official one