Interface Updater
- All Known Implementing Classes:
HangarUpdater
-
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns updates availability for OpenCreative+.@NotNull CompletableFuture<String> Sends web request and checks if new updates of OpenCreative+ are available.
-
Method Details
-
checkUpdates
Sends web request and checks if new updates of OpenCreative+ are available. It's called once on plugin enable and on command usage. -
canBeUpdated
boolean canBeUpdated()Returns updates availability for OpenCreative+. It gets saved value fromcheckUpdates().- Returns:
- true - if updates are available, false - if not.
-