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

Universal plugin adaptor (like Vault)

Discussion in 'Development' started by SOFe, Mar 8, 2017.

?

Will your plugins use it?

  1. Yes, as a required dependency.

    35.7%
  2. Yes, as a preferred API, but only as a soft dependency -- will also have custom implementations.

    64.3%
  3. No, I hate the design of Vault, but may use it if has a better design (explain below).

    7.1%
  4. No, I hate making everything the same! I love reinventing the wheel!

    0 vote(s)
    0.0%
  5. #\x42lameShoghi, the answer to life, the universe and everything.

    35.7%
Multiple votes are allowed.
  1. SOFe

    SOFe Administrator Staff Member PMMP Team Poggit Admin

    Messages:
    1,968
    GitHub:
    sof3
    Not sure where to post this. Probably this thread has the right audience :facepalm:

    This thread extends the discussion of this thread. I realized that it lacked discussion regarding the feasibility of having a single plugin that provides a universal interface to adapt to different plugins, like Vault (GitHub: API, Implementation). Actually it is possible to develop such a plugin for PocketMine, after Poggit gets stable with its release submissions.

    How many people would depend (hard dependency) on a plugin like this if it gets made? Would developers of those plugins be eager to add support for their plugins to this Vault-like plugin (which will be open-source)? Vote above and discuss below.

    Note that such plugin will not cause much inconvenience to plugin installation if many plugins use it as a hard dependency.
     
    jasonwynn10 and Muqsit like this.
  2. robske_110 (Tim)

    robske_110 (Tim) Wither Skeleton Poggit Reviewer

    Messages:
    1,342
    GitHub:
    robske110
    If an API is really, really well made I would use it. The problem is just that i did almost never encounter an API i really want to use. https://github.com/Falkirks/SimplePortals has a good one, but still I find some small issues and just want to do things in my way. I know it's a bad habit, and that my way may be not better or even worse. I begun actually doing an extension of SimplePortals, but paused it, because i currently do not have time to dev any plugin. I set it on the first place in my todo list now.

    For plugin installation:
    It would be really cool if PM was somehow able to look up hard depends on poggit, and install them if necessary. It would require some work, and i don't know if it's a good idea, but it would simplify things for users defiantly.
     
    jasonwynn10 likes this.
  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.