Package net.jeqo.bloons.configuration
Class ConfigConfiguration
java.lang.Object
net.jeqo.bloons.configuration.ConfigConfiguration
A class that contains configurations for the plugin configuration file
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic long
Gets the number of configuration files currently in the balloon configuration folderstatic ArrayList
<MultipartBalloonType> Gets all the multipart balloon types from the configuration filesstatic ArrayList
<SingleBalloonType> Gets all the single balloon types from the configuration files
-
Field Details
-
BALLOON_CONFIGURATION_FOLDER
The folder that stores the balloons to be loaded- See Also:
-
LANGUAGES_CONFIGURATION_FOLDER
The folder that stores the languages to be loaded- See Also:
-
-
Constructor Details
-
ConfigConfiguration
public ConfigConfiguration()
-
-
Method Details
-
getBalloonConfigurationCount
public static long getBalloonConfigurationCount()Gets the number of configuration files currently in the balloon configuration folder- Returns:
- The number of configuration files in the balloon configuration folder. Returns 0 upon none found. type long
-
getSingleBalloons
Gets all the single balloon types from the configuration files- Returns:
- The single balloon types from the configuration files, returns an empty array list if no single balloons are found, type java.util.ArrayList[net.jeqo.bloons.balloon.single.SingleBalloonType]
-
getMultipartBalloons
Gets all the multipart balloon types from the configuration files- Returns:
- The multipart balloon types from the configuration files, returns an empty array list if no multipart balloons are found, type java.util.ArrayList[net.jeqo.bloons.balloon.multipart.MultipartBalloonType]
-