-
-
Notifications
You must be signed in to change notification settings - Fork 298
Description
Describe the bug
The updater successfully checks for an update, after which it informs the user that the update has been downloaded and will be processed when the server restarts.
This is false on two levels.
The first is that there was no download, the second is that the update option is false in config.
To Reproduce
Start server and wait a second
Expected behavior
An update to either be downloaded, or a better message to be informed
Additional context
I also don't believe the update system works either.
You can fetch and download updates from Github itself, you can see how I implemented it in my own project here. This shouldn't be much of an issue as you've already done some releases on Github.
Github should be used, especially as you may hit SpigotMC's Cloudflare protection.
If using Bukkit's update system to replace jars, then it's worth noting that the downloaded jar must be placed in "plugins/updates/" folder, and have the same name as the jar it will be replacing.