Add option to silence "no update" logs (#823)

* Added "silent-no-update" config option

Added switch to turn off messages if no update is available.

* Set default value for "silent-no-update"

* Removed any "no update available" option and message
This commit is contained in:
Ricardo Boss 2022-06-28 18:50:18 +02:00 committed by GitHub
parent 3f20655f0b
commit 52df9d3287
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -171,8 +171,6 @@ public class Vault extends JavaPlugin {
log.warning("Update at: https://dev.bukkit.org/projects/vault");
} else if (currentVersion > newVersion) {
log.info("Stable Version: " + newVersionTitle + " | Current Version: " + currentVersionTitle);
} else {
log.info("No new version available");
}
} catch (Exception e) {
// ignore exceptions
@ -182,7 +180,6 @@ public class Vault extends JavaPlugin {
}, 0, 432000);
}
});
// Load up the Plugin metrics