Class ResidentPurge
java.lang.Object
com.palmergames.bukkit.towny.tasks.ResidentPurge
- All Implemented Interfaces:
Runnable
- Author:
- ElgarL
-
Constructor Summary
ConstructorDescriptionResidentPurge
(org.bukkit.command.CommandSender sender, long deleteTime, boolean townless, @Nullable Town town) ResidentPurge
(org.bukkit.command.CommandSender sender, long deleteTime, boolean townless, @Nullable Town town, boolean removeTown) -
Method Summary
-
Constructor Details
-
ResidentPurge
public ResidentPurge(org.bukkit.command.CommandSender sender, long deleteTime, boolean townless, @Nullable @Nullable Town town, boolean removeTown) - Parameters:
sender
- Reference to CommandSender, ornull
to send messages to the console.deleteTime
- The time in milliseconds for which a resident needs to be offline for to be deleted.townless
- Whether only residents without a town will be deletedtown
- If non-null, only residents from the given town will be purged.removeTown
- Whether
-
ResidentPurge
public ResidentPurge(org.bukkit.command.CommandSender sender, long deleteTime, boolean townless, @Nullable @Nullable Town town)
-
-
Method Details