Package me.gamercoder215.battlecards.api
Object BattleConfig.Companion
-
- All Implemented Interfaces:
public class BattleConfig.Companion
-
-
Field Summary
Fields Modifier and Type Field Description private final Pluginpluginprivate final FiledataFolderprivate final BattleConfigconfigprivate final FileConfigurationconfigurationprivate final FileconfigurationFileprivate final Loggerloggerpublic final static BattleConfig.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description final static Unitprint(Throwable t)Prints a Throwable in the Plugin's Namespace. final static FileConfigurationloadConfig()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 PlugingetPlugin()Fetches the BattleCards Plugin Instance. final FilegetDataFolder()Fetches the Plugin's Data Folder. final BattleConfiggetConfig()Fetches the BattleConfig Instance. final FileConfigurationgetConfiguration()Fetches the Configuration File for the BattleCards plugin. final FilegetConfigurationFile()Fetches the Configuration File Instance for the BattleCards plugin. final LoggergetLogger()Fetches the Plugin's Logger. -
-
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.
-
getDataFolder
final File getDataFolder()
Fetches the Plugin's Data Folder.
-
getConfig
final BattleConfig getConfig()
Fetches the BattleConfig 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.
-
-
-
-