Search in sources :

Example 31 with Expansion

use of com.github.sirblobman.combatlogx.api.expansion.Expansion in project CombatLogX by SirBlobman.

the class ListenerEntities method getConfiguration.

private YamlConfiguration getConfiguration() {
    Expansion expansion = getExpansion();
    ConfigurationManager configurationManager = expansion.getConfigurationManager();
    return configurationManager.get("entities.yml");
}
Also used : Expansion(com.github.sirblobman.combatlogx.api.expansion.Expansion) ConfigurationManager(com.github.sirblobman.api.configuration.ConfigurationManager)

Example 32 with Expansion

use of com.github.sirblobman.combatlogx.api.expansion.Expansion in project CombatLogX by SirBlobman.

the class ListenerFlight method getConfiguration.

private YamlConfiguration getConfiguration() {
    Expansion expansion = getExpansion();
    ConfigurationManager configurationManager = expansion.getConfigurationManager();
    return configurationManager.get("flight.yml");
}
Also used : Expansion(com.github.sirblobman.combatlogx.api.expansion.Expansion) ConfigurationManager(com.github.sirblobman.api.configuration.ConfigurationManager)

Aggregations

Expansion (com.github.sirblobman.combatlogx.api.expansion.Expansion)32 ConfigurationManager (com.github.sirblobman.api.configuration.ConfigurationManager)19 YamlConfiguration (org.bukkit.configuration.file.YamlConfiguration)9 ICombatLogX (com.github.sirblobman.combatlogx.api.ICombatLogX)8 ExpansionManager (com.github.sirblobman.combatlogx.api.expansion.ExpansionManager)8 NewbieHelperExpansion (combatlogx.expansion.newbie.helper.NewbieHelperExpansion)7 LoggerExpansion (combatlogx.expansion.logger.LoggerExpansion)4 State (com.github.sirblobman.combatlogx.api.expansion.Expansion.State)3 PlaceholderExpansion (me.clip.placeholderapi.expansion.PlaceholderExpansion)3 LanguageManager (com.github.sirblobman.api.language.LanguageManager)2 RegionExpansion (com.github.sirblobman.combatlogx.api.expansion.region.RegionExpansion)2 MobTaggerExpansion (combatlogx.expansion.mob.tagger.MobTaggerExpansion)2 PVPManager (combatlogx.expansion.newbie.helper.manager.PVPManager)2 ProtectionManager (combatlogx.expansion.newbie.helper.manager.ProtectionManager)2 SimpleDateFormat (java.text.SimpleDateFormat)2 Date (java.util.Date)2 HashSet (java.util.HashSet)2 Replacer (com.github.sirblobman.api.language.Replacer)1 MessageUtility (com.github.sirblobman.api.utility.MessageUtility)1 CombatLogCommand (com.github.sirblobman.combatlogx.api.command.CombatLogCommand)1