Class ConfigConfiguration

java.lang.Object
net.jeqo.bloons.configuration.ConfigConfiguration

public class ConfigConfiguration extends Object
A class that contains configurations for the plugin configuration file
  • Field Details

    • BALLOON_CONFIGURATION_FOLDER

      public static final String BALLOON_CONFIGURATION_FOLDER
      The folder that stores the balloons to be loaded
      See Also:
    • LANGUAGES_CONFIGURATION_FOLDER

      public static final String 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

      public static ArrayList<SingleBalloonType> 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

      public static ArrayList<MultipartBalloonType> 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]