Object BattleConfig.Companion

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static Unit print(Throwable t) Prints a Throwable in the Plugin's Namespace.
      final static FileConfiguration loadConfig() Loads the Plugin's Configuration.
      final static Set<EntityType> getValidBasicCards() Fetches a set of all of the valid entity types that can drop Basic Cards.
      final Plugin getPlugin() Fetches the BattleCards Plugin Instance.
      final File getDataFolder() Fetches the Plugin's Data Folder.
      final BattleConfig getConfig() Fetches the BattleConfig Instance.
      final FileConfiguration getConfiguration() Fetches the Configuration File for the BattleCards plugin.
      final File getConfigurationFile() Fetches the Configuration File Instance for the BattleCards plugin.
      final Logger getLogger() Fetches the Plugin's Logger.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • print

         final static Unit print(Throwable t)

        Prints a Throwable in the Plugin's Namespace.

        Parameters:
        t - Throwable
      • loadConfig

         final static FileConfiguration loadConfig()

        Loads the Plugin's Configuration.

      • getValidBasicCards

         final static Set<EntityType> getValidBasicCards()

        Fetches a set of all of the valid entity types that can drop Basic Cards.

      • getPlugin

         final Plugin getPlugin()

        Fetches the BattleCards Plugin Instance.

      • getConfiguration

         final FileConfiguration getConfiguration()

        Fetches the Configuration File for the BattleCards plugin.

      • getConfigurationFile

         final File getConfigurationFile()

        Fetches the Configuration File Instance for the BattleCards plugin.