Spigot & BungeeCord 1.17 & 1.17.1

Discussion in 'News and Announcements' started by md_5, Jun 11, 2021.

  1. Andre_601

    Supporter

    Bit late to the party here, but are there further plans on expanding this functionality to f.e. allow defining your own repository URLs? Also, any future plans on possible fixes or ways to allow plugins using different versions of the same dependencies?
    I can imagine a situation where plugin A uses version 1.0.0 and plugin B uses 1.1.0 which had breaking changes and incompatible stuff, which could cause conflicts for both plugins.

    For the repository thing, I was thinking of two possible ways to do it in the plugin.yml.
    First one would just be a separate repositories section to list the various URLs in.
    Second idea would be to define the URL as part of the library entry itself.
    Example:
    Code (Text):

    libraries:
        - repository: 'https://repo.extendedclip.com/content/repositories/placeholderapi/'
          dependency: 'me.clip:placeholderapi:v2.10.10'
        - 'com.squareup.okhttp3:okhttp:4.9.0' # Defaults to MavenCentral
     
    There would obviously be complications with this or downsides, but I believe this lib system could be a really good way for plugins to work with, but current downsides such as MavenCentral only and no support for multiple versions (Which is obviously something to blame Java for) makes it worse to use than just shading your stuff in...
     
    • Like Like x 1
  2. thank you so much!
     
  3. just posting quick little msgs everywhere to bump up your postcount?
     
    • Optimistic Optimistic x 1
  4. andrewkm

    Patron ⭐⭐⭐

    Does not commenting on this practice hypocritically increaser your own post count lol?
     
    • Optimistic Optimistic x 2
    • Agree Agree x 1
  5. I am not the one starting at zero with unlocks to gain.
     
    • Agree Agree x 1
    • Optimistic Optimistic x 1
  6. Me neither, but that is a self fulfilling prophecy, as you also responded!

    It can be reported as a SPAM posting if you feel inclined to do so!
     
    • Agree Agree x 1
  7. Thank you so much for the amazing hard work!