Class EmptyPartyCleanupJob

java.lang.Object
net.ognetwork.ogcore.api.jobs.EmptyPartyCleanupJob
All Implemented Interfaces:
IJob

public class EmptyPartyCleanupJob extends Object implements IJob
Checks for parties that have no members online. A.K.A. one where all the players have left and/or the server crashed and none of the players have joined back.
  • Constructor Details

    • EmptyPartyCleanupJob

      public EmptyPartyCleanupJob()
  • Method Details

    • getDelayInSeconds

      public long getDelayInSeconds()
      Specified by:
      getDelayInSeconds in interface IJob
    • getPeriodInSeconds

      public long getPeriodInSeconds()
      Specified by:
      getPeriodInSeconds in interface IJob
    • run

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