Want a better Minecraft server? Read about SpigotMC here!
Separate names with a comma.
Discussion in 'News and Announcements' started by md_5, Jun 11, 2021.
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.
- repository: 'https://repo.extendedclip.com/content/repositories/placeholderapi/'
- '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...
thank you so much!
just posting quick little msgs everywhere to bump up your postcount?
Does not commenting on this practice hypocritically increaser your own post count lol?
I am not the one starting at zero with unlocks to gain.
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!
Thank you so much for the amazing hard work!