Class AFKHandlerConfig
java.lang.Object
com.pixelmonmod.pixelmon.api.config.api.yaml.AbstractYamlConfig
com.pixelmonmod.pixelmon.api.config.AFKHandlerConfig
- All Implemented Interfaces:
Config
-
Field Summary
Fields inherited from class com.pixelmonmod.pixelmon.api.config.api.yaml.AbstractYamlConfig
base, config
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
int
boolean
Methods inherited from class com.pixelmonmod.pixelmon.api.config.api.yaml.AbstractYamlConfig
getNode, save
-
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.
-