aliuly submitted a new plugin: ZipPluginLoader - Load Zip packed plugins Read more about this plugin...
This plugin is very interesting. Loading ZIP files instead of folders is very good and tidy. Good job!
Well, we should be loading PHAR's instead. However, like I said, it is useful for when you want to test plugins hosted on Github (which has a make zip link).
aliuly updated ZipPluginLoader with a new update entry: Bug-fix Read the rest of this update entry...
aliuly updated ZipPluginLoader with a new update entry: Minor update Read the rest of this update entry...
If you go to GitHub, you can download plugins as zip. If you have this plugin, then you place that zip into your plugins folder and it will load automatically next time you boot your server. For example, you go to: https://github.com/Falkirks/Specter To the right (assume you are on a PC and not on a smartphone/tablet) you will see a "Download ZIP" link. You get that zip and drop it in your plugins folder.
Can you make this plugin download the zip from a link specified in the config once a day? (or however much time it says in the config)?
You've did something wrong in your code Code: [15:10:17] [Server thread/NOTICE]: UndefinedVariableException: "Undefined variable: descr" (E_NOTICE) in "/ZipPluginLoader_v1.1.2 (2).phar/src/ZipPluginLoader/ZipPluginLoader" at line 353 and everyone uses \ not / in the plugin.yml to get the Main, your plugin work with / but it has to be with an \ when \ Code: [15:09:41] [Server thread/INFO]: [ZipPluginLoader] Loading zip plugin MSpleef v1.0.0 Beta [15:09:41] [Server thread/CRITICAL]: ClassNotFoundException: "Class src\TahaTheHacker\MSpleef\Main not found" (EXCEPTION) in "/src/spl/BaseClassLoade' at line 144 when / Code: 15:10:17] [Server thread/NOTICE]: UndefinedVariableException: "Undefined variable: descr" (E_NOTICE) in "/ZipPluginLoader_v1.1.2 (2).phar/src/ZipPluginLoader/ZipPluginLoader" at line 353 BTW : It doesn't work at all.
Actually it works fine. You discovered a bug in that line whereby $desc is defined by I use $descr. However that only happens if the Zip packed plugin you are trying to load is buggy itself. In this case it is refering to a TahaTheHacker\MSpleef\Main class that doesn't exist.
This is one of the best plugins EVER!!!!! I can now download .zip plugins off of GitHub!!! But one thing… Can you make it so you can put folders in the plugins section. When I download a plugin off of GitHub to downloads a folder. Then you have to compress the folder into a .zip If you can that would be great. Thanks again - Tyler
aliuly updated ZipPluginLoader with a new update entry: 1.1.3: Minor bug fix Read the rest of this update entry...
Updated, pending approval... Until then, can be downloaded from here: https://github.com/Muirfield/pocketmine-plugins/releases/tag/ZipPluginLoader-1.2.0