[SPIGOT-7158] Custom repository for plugin libraries Created: 16/Sep/22 Updated: 25/Dec/24 |
|
Status: | Open |
Project: | Spigot |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | New Feature | Priority: | Minor |
Reporter: | Astro angelfish | Assignee: | Unassigned |
Resolution: | Unresolved | Votes: | 0 |
Labels: | libraries, plugin, plugin.yml, pluginmanager | ||
Environment: |
+---(astro-angelfish@crystal)-[/home/astro-angelfish/Minecraft/plugin-dev/Carbon]-[0] |
Version: | 1.19.2 |
Guidelines Read: | Yes |
Description |
The libraries included in plugin.yml is pretty convenient. But it would be better if allowing plugins to define a new repository to load their libraries. Notice that there might be security issues when the plugin try to download the libraries from custom repositories. |
Comments |
Comment by mfnalex [ 31/Jan/23 ] |
A plugin could downlod and load random classes from anywhere anyway, though. It‘s just less convenient. |
Comment by Parker Hawke [ 23/Sep/22 ] |
As useful as it would be to have repositories defined in the bukkit.yml, there are still the same security implications because a plugin can edit that file as well. |
Comment by Black Hole [ 16/Sep/22 ] |
Private libraries should be shaded in plugins. Private repos for plugins offer too much security implications. However it might be a nice feature to define such repositories in bukkit.yml for use in private plugins. |