Package org.bstats.config
Class MetricsConfig
java.lang.Object
org.bstats.config.MetricsConfig
A simple config for bStats.
This class is not used by every platform.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanChecks whether the config file did exist before or not.booleanbooleanbooleanboolean
-
Constructor Details
-
MetricsConfig
- Throws:
IOException
-
-
Method Details
-
getServerUUID
-
isEnabled
public boolean isEnabled() -
isLogErrorsEnabled
public boolean isLogErrorsEnabled() -
isLogSentDataEnabled
public boolean isLogSentDataEnabled() -
isLogResponseStatusTextEnabled
public boolean isLogResponseStatusTextEnabled() -
didExistBefore
public boolean didExistBefore()Checks whether the config file did exist before or not.- Returns:
- If the config did exist before.
-