Class ResidentPurge

java.lang.Object
com.palmergames.bukkit.towny.tasks.ResidentPurge
All Implemented Interfaces:
Runnable

public class ResidentPurge extends Object implements Runnable
Author:
ElgarL
  • 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, or null 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 deleted
      town - 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

    • run

      public void run()
      Specified by:
      run in interface Runnable