Class AFKHandlerConfig

java.lang.Object
com.pixelmonmod.pixelmon.api.config.api.yaml.AbstractYamlConfig
com.pixelmonmod.pixelmon.api.config.AFKHandlerConfig
All Implemented Interfaces:
Config

@ConfigSerializable public class AFKHandlerConfig extends AbstractYamlConfig
  • Constructor Details

    • AFKHandlerConfig

      public AFKHandlerConfig()
  • Method Details

    • isEnabled

      public boolean isEnabled()
      Returns:
      Whether the AFK handler will take over PvP battles after a period of inactivity.
    • getAfkActivateSeconds

      public int getAfkActivateSeconds()
      Returns:
      The time it takes for the AFK handler to activate.
    • getAfkTimerTurnSeconds

      public int getAfkTimerTurnSeconds()
      Returns:
      The time it takes for the AFK handler to take turns after being activated.