Class ConfigManager
java.lang.Object
net.chen.legacyLand.config.ConfigManager
配置管理器(未启用)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintorg.bukkit.MaterialintintdoublegetDefaultTaxRate(String taxType) intintintdoubledoubledoubleintdoubleintintintintintintintintdoubleintintintintbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanvoid加载配置void重载配置
-
Constructor Details
-
ConfigManager
-
-
Method Details
-
loadConfig
public void loadConfig()加载配置 -
reloadConfig
public void reloadConfig()重载配置 -
getDatabaseType
-
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
-
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
-
isWarProtectionEnabled
public boolean isWarProtectionEnabled() -
isEnemyInteractionAllowed
public boolean isEnemyInteractionAllowed() -
isNeutralInteractionAllowed
public boolean isNeutralInteractionAllowed() -
isFriendlyInteractionAllowed
public boolean isFriendlyInteractionAllowed() -
getMessagePrefix
-
isDebugEnabled
public boolean isDebugEnabled() -
getLanguage
-
getOutpostCheckInterval
public int getOutpostCheckInterval() -
getWarConditionCheckInterval
public int getWarConditionCheckInterval() -
getSupplyLineCheckInterval
public int getSupplyLineCheckInterval() -
isAsyncProcessingEnabled
public boolean isAsyncProcessingEnabled()
-