lavalink-devs / Lavalink

Standalone audio sending node based on Lavaplayer.
https://lavalink.dev/
MIT License
1.59k stars 672 forks source link

[Plugins] Automatic Update Checking #1044

Open devoxin opened 6 months ago

devoxin commented 6 months ago

Change request

As suggested in the Lavalink discord, the possibility of having the Lavalink server automatically check for updates using something like maven-metadata.xml to identify the latest plugin versions would be very useful, particularly in letting users know there's a new version of a plugin (or plugins) they use which could resolve any potential issues they might be experiencing, as well as introducing features etc. I believe this would be huge, from a user experience perspective.

Relevance

Lavalink is responsible for loading plugins, sometimes even fetching them if supplied via config, so it makes sense for Lavalink to alert people to new versions if possible. Plugin devs could implement their own update checking but this way ensures that as many plugins would benefit from it as possible.

Could this be a plugin instead?

I don't believe so, unless plugins can be aware of other registered plugins. Although ideally this would be something integrated within the server directly for simplicity's sake and to ensure one global standard and general compliance.

Checklist