Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

ZipPluginLoader 1.1.3

Load Zip packed plugins

  1. aliuly
    Offline

    aliuly Notable Member Plugin Developer

    Joined:
    Feb 8, 2014
    Posts:
    1,086
    Plugins:
    17
    aliuly submitted a new plugin:

    ZipPluginLoader - Load Zip packed plugins

    Read more about this plugin...
    PEMapModder and EvolSoft like this.
  2. EvolSoft
    Offline

    EvolSoft Notable Member Plugin Developer

    Joined:
    Sep 10, 2014
    Posts:
    821
    Plugins:
    15
    Minecraft User:
    Flavius12
    This plugin is very interesting.
    Loading ZIP files instead of folders is very good and tidy.
    Good job! :D
  3. aliuly
    Offline

    aliuly Notable Member Plugin Developer

    Joined:
    Feb 8, 2014
    Posts:
    1,086
    Plugins:
    17
    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).
    Andrey Nazarchuk and PEMapModder like this.
  4. EvolSoft
    Offline

    EvolSoft Notable Member Plugin Developer

    Joined:
    Sep 10, 2014
    Posts:
    821
    Plugins:
    15
    Minecraft User:
    Flavius12
    Yes :D
    Without extracting them :D
    aliuly likes this.
  5. yuri
    Offline

    yuri New Member

    Joined:
    May 20, 2015
    Posts:
    35
    Minecraft User:
    yodaylay22
    thank you for creating this plugin helped me a lot !!:);)
  6. aliuly
    Offline

    aliuly Notable Member Plugin Developer

    Joined:
    Feb 8, 2014
    Posts:
    1,086
    Plugins:
    17
    :):):)
    You should post a review.
  7. aliuly
    Offline

    aliuly Notable Member Plugin Developer

    Joined:
    Feb 8, 2014
    Posts:
    1,086
    Plugins:
    17
  8. aliuly
    Offline

    aliuly Notable Member Plugin Developer

    Joined:
    Feb 8, 2014
    Posts:
    1,086
    Plugins:
    17
  9. Lord_Slayer
    Offline

    Lord_Slayer New Member

    Joined:
    Jul 18, 2015
    Posts:
    2
    Minecraft User:
    Lord_Slayer
    how do you use this plugin?
  10. aliuly
    Offline

    aliuly Notable Member Plugin Developer

    Joined:
    Feb 8, 2014
    Posts:
    1,086
    Plugins:
    17
  11. Lord_Slayer
    Offline

    Lord_Slayer New Member

    Joined:
    Jul 18, 2015
    Posts:
    2
    Minecraft User:
    Lord_Slayer
  12. aliuly
    Offline

    aliuly Notable Member Plugin Developer

    Joined:
    Feb 8, 2014
    Posts:
    1,086
    Plugins:
    17
    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.
  13. Andrey Nazarchuk
    Offline

    Andrey Nazarchuk Active Member

    Joined:
    Dec 30, 2013
    Posts:
    332
    Minecraft User:
    digita1eclipse
    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)?
  14. aliuly
    Offline

    aliuly Notable Member Plugin Developer

    Joined:
    Feb 8, 2014
    Posts:
    1,086
    Plugins:
    17
    No.

    I would suggest you use a cronjob (Linux) or task scheduler (Windows).
  15. PocketKiller
    Offline

    PocketKiller Notable Member

    Joined:
    Jul 20, 2015
    Posts:
    741
    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.
    Last edited: Oct 18, 2015
  16. aliuly
    Offline

    aliuly Notable Member Plugin Developer

    Joined:
    Feb 8, 2014
    Posts:
    1,086
    Plugins:
    17
    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.
  17. Xx__ItzTyler__xX
    Offline

    Xx__ItzTyler__xX New Member

    Joined:
    Oct 28, 2015
    Posts:
    24
    Minecraft User:
    SuperDude36
    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
  18. aliuly
    Offline

    aliuly Notable Member Plugin Developer

    Joined:
    Feb 8, 2014
    Posts:
    1,086
    Plugins:
    17
  19. aliuly
    Offline

    aliuly Notable Member Plugin Developer

    Joined:
    Feb 8, 2014
    Posts:
    1,086
    Plugins:
    17

Share This Page

Advertisement