Class ConfigManager

java.lang.Object
net.chen.legacyLand.config.ConfigManager

public class ConfigManager extends Object
配置管理器(未启用)
  • Constructor Details

    • ConfigManager

      public ConfigManager(LegacyLand plugin)
  • Method Details

    • loadConfig

      public void loadConfig()
      加载配置
    • reloadConfig

      public void reloadConfig()
      重载配置
    • getDatabaseType

      public String getDatabaseType()
    • getDatabaseFilename

      public String getDatabaseFilename()
    • getNationCreationCost

      public double getNationCreationCost()
    • getNationNameMinLength

      public int getNationNameMinLength()
    • getNationNameMaxLength

      public int getNationNameMaxLength()
    • getNationInitialTreasury

      public double getNationInitialTreasury()
    • isNationDeletionAllowed

      public boolean isNationDeletionAllowed()
    • isTownNationCreationEnabled

      public boolean isTownNationCreationEnabled()
    • getTownGoldCost

      public int getTownGoldCost()
    • getNationGoldCost

      public int getNationGoldCost()
    • getDefaultTaxRate

      public double getDefaultTaxRate(String taxType)
    • getMaxTaxRate

      public double getMaxTaxRate()
    • getMinTaxRate

      public double getMinTaxRate()
    • getWarCooldown

      public int getWarCooldown()
    • getAllianceCooldown

      public int getAllianceCooldown()
    • isMultipleAlliancesAllowed

      public boolean isMultipleAlliancesAllowed()
    • getMaxAlliances

      public int getMaxAlliances()
    • isWarEnabled

      public boolean isWarEnabled()
    • getOutpostDuration

      public int getOutpostDuration()
    • getOutpostMinPlayers

      public int getOutpostMinPlayers()
    • getWarMaxDuration

      public int getWarMaxDuration()
    • isForceDrawOnTimeout

      public boolean isForceDrawOnTimeout()
    • getInitialSupplies

      public int getInitialSupplies()
    • getDeathSupplyCost

      public int getDeathSupplyCost()
    • getOutpostRespawnCost

      public int getOutpostRespawnCost()
    • isCivilWarAllowed

      public boolean isCivilWarAllowed()
    • isSiegeEnabled

      public boolean isSiegeEnabled()
    • getAdjacentDistance

      public int getAdjacentDistance()
    • getMaxSupplyStations

      public int getMaxSupplyStations()
    • getSupplyStationCost

      public double getSupplyStationCost()
    • getSupplyStationCapacity

      public int getSupplyStationCapacity()
    • isAutoPlaceCityCore

      public boolean isAutoPlaceCityCore()
    • getCoreBaseMaterial

      public org.bukkit.Material getCoreBaseMaterial()
    • getCoreBaseSize

      public int getCoreBaseSize()
    • isSpectatorModeForNonParticipants

      public boolean isSpectatorModeForNonParticipants()
    • isFrontlineSoldierOnly

      public boolean isFrontlineSoldierOnly()
    • isRestoreGameModeOnEnd

      public boolean isRestoreGameModeOnEnd()
    • getRestoreGameMode

      public String getRestoreGameMode()
    • isWarProtectionEnabled

      public boolean isWarProtectionEnabled()
    • isEnemyInteractionAllowed

      public boolean isEnemyInteractionAllowed()
    • isNeutralInteractionAllowed

      public boolean isNeutralInteractionAllowed()
    • isFriendlyInteractionAllowed

      public boolean isFriendlyInteractionAllowed()
    • getMessagePrefix

      public String getMessagePrefix()
    • isDebugEnabled

      public boolean isDebugEnabled()
    • getLanguage

      public String getLanguage()
    • getOutpostCheckInterval

      public int getOutpostCheckInterval()
    • getWarConditionCheckInterval

      public int getWarConditionCheckInterval()
    • getSupplyLineCheckInterval

      public int getSupplyLineCheckInterval()
    • isAsyncProcessingEnabled

      public boolean isAsyncProcessingEnabled()