Class ExpiryTask
java.lang.Object
com.plotsquared.core.plot.expiration.ExpiryTask
-
Constructor Summary
ConstructorsConstructorDescriptionExpiryTask(Settings.Auto_Clear settings, @NonNull PlotAreaManager plotAreaManager) -
Method Summary
Modifier and TypeMethodDescriptionbooleanallowsArea(PlotArea area) booleanapplies(long diff) booleanapplies(PlotAnalysis analysis) booleanbooleanappliesAccountAge(long accountAge) booleanbooleanbooleanReturnstrueif this task respects unknown owners
-
Constructor Details
-
ExpiryTask
-
-
Method Details
-
getSettings
-
allowsArea
-
applies
-
getPlotsToCheck
-
applies
public boolean applies(long diff) -
appliesAccountAge
public boolean appliesAccountAge(long accountAge) -
needsAnalysis
public boolean needsAnalysis() -
applies
-
requiresConfirmation
public boolean requiresConfirmation() -
shouldDeleteForUnknownOwner
public boolean shouldDeleteForUnknownOwner()Returnstrueif this task respects unknown owners- Returns:
trueif unknown owners should be counted as never online- Since:
- 6.4.0
-