flytegg / plugin-portal

Minecraft plugin manager for downloading and updating plugins from the chatbar.
https://pluginportal.link
45 stars 10 forks source link

Update Notifications #69

Open Dawsson opened 3 days ago

Dawsson commented 3 days ago

Feature Description

Alert the user of what plugins need to be updated

Why is this feature needed?

No way to detect which can be updated atm.

Additional Info

@MLGPenguin We need to talk about how we want to do this. I am concerned about our servers becoming flooded with requests every time a server checks. Doesn't help that 500 servers+ will be checking this once everyone updates

kotlinsyntax commented 3 days ago

Some of the load could be mitigated if you cache the latest versions of plugins for about a hour? and send all installed plugin ids in a list, eg plugin1;plugin2?

Dawsson commented 3 days ago

Hopefully I can make a "lighter" mongo aggregation query, ill try it out today in that case

okunamayanad commented 12 hours ago

I just updated from v1.5 to v2.0.3. On v1.5, using "pluginportal update" command without specifying a name returned a list of outdated plugins but now that functionality got removed and replaced with an error message saying "No value provided for name"

v1.5 ``` pluginportal update [00:39:37] [Server thread/INFO]: [PP] > Listing all outdated plugins... [00:39:37] [Server thread/INFO]: + AngelChest Free ```
v2.0.3 ``` pluginportal update [00:46:33 INFO]: ----------------------------------------------- [FAILURE]: No value provided for name ```

Could this functionality be added back if server load concerns persist?