Package org.kingdoms.managers.daily
Class InactivityManager
java.lang.Object
org.kingdoms.managers.daily.InactivityManager
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static CompletableFuture<Boolean> Since this method runs sync, the completablefuture may not immediatelly complete if run in an async context.protected static voidhandleInactiveMember(Kingdom kingdom, org.bukkit.OfflinePlayer member)
-
Constructor Details
-
InactivityManager
public InactivityManager()
-
-
Method Details
-
disband
Since this method runs sync, the completablefuture may not immediatelly complete if run in an async context.- Returns:
- true if this kingdom was disbanded, otherwise false.
-
handleInactiveMember
-