1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

PMPM - PocketMine Plugin Manager

Discussion in 'General discussion' started by HittmanA, Nov 21, 2016.

?

Should PMPM...

  1. Be integrated with Poggit

    100.0%
  2. Use my service which would replace Poggit

    0 vote(s)
    0.0%
  1. Thunder33345

    Thunder33345 Moderator Staff Member

    Messages:
    2,137
    GitHub:
    Thunder33345
    i dont get it and for future clearance call it Plugin Index since plugin dir can be confusing either: the plugin folder OR the places where plugin are
     
  2. HittmanA

    HittmanA Zombie

    Messages:
    207
    GitHub:
    hittmana
    Basically, it doesn't need to scan the Plugin Index as it can just have a pmpm.json file that stores the important info about plugins.
     
  3. Thunder33345

    Thunder33345 Moderator Staff Member

    Messages:
    2,137
    GitHub:
    Thunder33345
    well not scan to be exact but search the index for specified plugin ex user /download TestPlugin
    therefore your plugin should interface with the plugin index in this case it is Poggit web API
    and search if it exist and download it if it does right?
     
    HittmanA likes this.
  4. SOFe

    SOFe Administrator Staff Member PMMP Team Poggit Admin

    Messages:
    1,968
    GitHub:
    sof3
    Upload a folder to get turned into a phar? Then you have to pass the files by archiving them. And then why not directly archive the files into a phar locally?
    Poggit is not pmt.mcpe.me, and it will not support raw zip file -> phar conversion.
     
  5. HittmanA

    HittmanA Zombie

    Messages:
    207
    GitHub:
    hittmana
    The files would be archived into a phar locally.
     
  6. SOFe

    SOFe Administrator Staff Member PMMP Team Poggit Admin

    Messages:
    1,968
    GitHub:
    sof3
    Then why do you need to upload it to Poggit?
     
  7. HittmanA

    HittmanA Zombie

    Messages:
    207
    GitHub:
    hittmana
    Its uploading a plugin. A dev just does
    Code:
    ./pmpm upload <dir>
    and then <dir> is made into a phar which is uploaded to Poggit. Right? Easy plugin upload.
     
  8. Thunder33345

    Thunder33345 Moderator Staff Member

    Messages:
    2,137
    GitHub:
    Thunder33345
    well but poggit isnt a place where everyone can dump their plugin
    you have to register/login first + plugin details
    you cant just upload a plugin with no information
    and why not just use web browser?
     
  9. HittmanA

    HittmanA Zombie

    Messages:
    207
    GitHub:
    hittmana
    True. I guess in the far future PMPM could act similarly to https://npmjs.org but for now uploading should not be a feature.
     
  10. Thunder33345

    Thunder33345 Moderator Staff Member

    Messages:
    2,137
    GitHub:
    Thunder33345
    yes as far as i know ofcourse it will be a feature if not it would be empty and serve to porpouse it just not praticle to upload via console
     
  11. robske_110 (Tim)

    robske_110 (Tim) Wither Skeleton Poggit Reviewer

    Messages:
    1,342
    GitHub:
    robske110
    @HitmanA you should show some real progress or concept. It doesn't look like you did anything yet, but you already created a thread. And your concept doesn't work out right now.
     
  12. HittmanA

    HittmanA Zombie

    Messages:
    207
    GitHub:
    hittmana
    I have. I have already made the CLI which is used when the server is offline, I have made the plugin which is used when the server is online, and I have made the installer for both. I have tested them on my server (they still need to be tested by others) and they work perfectly. Once the Poggit API is active I can integrate PMPM with Poggit.
     
  13. SOFe

    SOFe Administrator Staff Member PMMP Team Poggit Admin

    Messages:
    1,968
    GitHub:
    sof3
    Poggit imports all code from GitHub. You can't submit code to Poggit directly.

    If you want to upload code from command line, isn't there already an existent holy command called git?
     
  14. HittmanA

    HittmanA Zombie

    Messages:
    207
    GitHub:
    hittmana
    I didn't know it imported from GitHub. That removes the upload feature for now
     
  15. HittmanA

    HittmanA Zombie

    Messages:
    207
    GitHub:
    hittmana
    So @SOFe I see poggit is up(ish) now. Does it have an api yet or is it in the making?
     
  16. robske_110 (Tim)

    robske_110 (Tim) Wither Skeleton Poggit Reviewer

    Messages:
    1,342
    GitHub:
    robske110
    What do you see as an API?
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.