Auto-updates.
MagmaBro123 opened this issue · 5 comments
Describe the feature request
Title. Rather then running /tadmin update_plugins
, the plugin should, on reboot, auto-update itself. This is useful if admins aren't online to run the command. This can be toggled off via config.
Describe alternatives you've considered
N/A.
Auto updating should not be default, so it should be toggled on.
Also, this is quite expensive, having to check for a new updated build.. how often? When the plugin is disabled? Wouldn't that delay the shutdown process by downloading or checking for a JAR? Periodically would slam either Jenkins or GitHub which isn't entirely viable.
I think the command right now is good enough personally, maybe with a "You're out of date" notice on login like Essentials does.
Auto updating should not be default, so it should be toggled on.
Also, this is quite expensive, having to check for a new updated build.. how often? When the plugin is disabled? Wouldn't that delay the shutdown process by downloading or checking for a JAR? Periodically would slam either Jenkins or GitHub which isn't entirely viable.
I think the command right now is good enough personally, maybe with a "You're out of date" notice on login like Essentials does.
Do what Slimefun does. Check and Update on startup.