I have alot of plugins that i have wanted from github but the methods i use to make the file a .phar just does works. Say i wanted to make this a .phar how would i do it.
There are two methods to this: 1. Download DevTools (plugin) to your server. 2. Go to pmt.mcpe.me if you need further assistance, please don't hesitate to reply
I would suggest Looking at PEMapModder's website. pmt.mcpe.me. it is a plugin maker, all you need is all your stuff inside of the zip, and convert it through that website.
Ok, put it in this format ZIP FILE - then all the files inside of it. ( you dont need the "-master" folders, just whats inside of them )
1. Install DevTools plugin on your server 2. Go on plugins folder and put the plugin source code. (The main plugin folder only. It will contain other subfolders that must be inside it) 3. Run the server and do /makeplugin <plugin name> 4. You will find the phar file on plugins/DevTools directory
This is one of the scripts I used to create PHAR files: https://github.com/alejandroliu/bad-plugins/blob/master/mkplugin.php BTW, if you use the https://forums.pocketmine.net/plugins/zippluginloader.1216/ ZipPluginLoader you can simply place Zip files in your plugins folder.
I really love the idea of it, but the fact is, no, because you need to save and make a new zip and upload and click buttons and download and move files and restart server every time, while with DevTools you simply need to save file and restart server.
Put your src/ folder next to PocketMine-MP.phar, rename/move away PocketMine-MP.phar, install DevTools, start server ,run command /makeserver, stop server, check DevTools directory, copy phar to PocketMine-MP.phar, restart server, deal.