Various configuration file cleanups.
This commit is contained in:
@@ -32,8 +32,7 @@ TWTownId = 9
|
||||
# Set all towns?
|
||||
TWAllTowns = False
|
||||
|
||||
#Reward for each kill:
|
||||
|
||||
# Reward for each kill
|
||||
TownWarItemId = 57
|
||||
TownWarItemAmount = 5000
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
# = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = #
|
||||
# Clan Hall Function #
|
||||
# = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = #
|
||||
# ---------------------------------------------------------------------------
|
||||
# Clan Hall Function
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
# ----------------------------------------
|
||||
# Teleport Function price
|
||||
|
@@ -1,6 +1,6 @@
|
||||
#=======================================================#
|
||||
# Clan Hall Sieges #
|
||||
#=======================================================#
|
||||
# ---------------------------------------------------------------------------
|
||||
# Conquerable Clan Halls
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
# -------------------------------
|
||||
# Devastated castle
|
||||
@@ -23,7 +23,7 @@ DevastatedMinutes = 0
|
||||
# NOT recommended to put siege
|
||||
# In the day that Tan and siege castles (Saturday, Sunday)
|
||||
PartisanDay = 5
|
||||
#ime start registration siege "Partisan Hideout", in hours.
|
||||
# Time start registration siege "Partisan Hideout", in hours.
|
||||
PartisanHour = 21
|
||||
# Time to gain "Partisan Hideout", in minutes.
|
||||
PartisanMinutes = 0
|
@@ -1,10 +1,7 @@
|
||||
#============================================================#
|
||||
# Craft System #
|
||||
#============================================================#
|
||||
# ---------------------------------------------------------------------------
|
||||
# Craft System
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
#---------------------------
|
||||
# Crafting Config
|
||||
#---------------------------
|
||||
# Crafting enabled/disabled. On by default
|
||||
CraftingEnabled = True
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
#===========================================================#
|
||||
# Fortress Sieges #
|
||||
#===========================================================#
|
||||
# ---------------------------------------------------------------------------
|
||||
# Fortress Sieges
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
# ----------------------------------
|
||||
# Forts Configuration
|
||||
|
@@ -1,6 +1,6 @@
|
||||
#===========================================================#
|
||||
# Physics Balance Characters #
|
||||
#===========================================================#
|
||||
# ---------------------------------------------------------------------------
|
||||
# Physics Balance Characters
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
# Enable Class Damages Settings
|
||||
EnableClassDamagesSettings = True
|
||||
|
@@ -1,6 +1,6 @@
|
||||
#============================================================#
|
||||
# PvP/PK Settings #
|
||||
#============================================================#
|
||||
# ---------------------------------------------------------------------------
|
||||
# PvP/PK Settings
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
# -----------------------------
|
||||
# Configure karma
|
||||
@@ -206,9 +206,9 @@ PkTitlePrefix =
|
||||
WarLegendAura = False
|
||||
KillsToGetWarLegendAura = 30
|
||||
|
||||
#====================================
|
||||
# ----------------------------
|
||||
# Anti Farm System
|
||||
#====================================
|
||||
# ----------------------------
|
||||
# You must put True to active the AntiFarm mod.
|
||||
AntiFarmEnabled = False
|
||||
# You must active AntiFarmEnabled = True to enable this mod.
|
||||
|
@@ -1,6 +1,6 @@
|
||||
#================================#
|
||||
# Server Rates #
|
||||
#================================#
|
||||
# ---------------------------------------------------------------------------
|
||||
# Server Rates
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
# ------------------------
|
||||
# Normal Rates
|
||||
@@ -32,6 +32,7 @@ PlayerRateDrop = 0
|
||||
PlayerRateDropItem = 0
|
||||
PlayerRateDropEquip = 0
|
||||
PlayerRateDropEquipWeapon = 0
|
||||
|
||||
# --------------------------------
|
||||
# Karma Rates
|
||||
# --------------------------------
|
||||
|
@@ -1,6 +1,6 @@
|
||||
#============================================================#
|
||||
# Seven Signs #
|
||||
#============================================================#
|
||||
# ---------------------------------------------------------------------------
|
||||
# Seven Signs
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
# -----------------------
|
||||
# Rule 7 Seals
|
||||
|
@@ -1,6 +1,6 @@
|
||||
#============================================================#
|
||||
# Siege Settings #
|
||||
#============================================================#
|
||||
# ---------------------------------------------------------------------------
|
||||
# Siege Settings
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
# Countdown duration of the siege (in minutes)
|
||||
SiegeLength = 120
|
||||
|
@@ -1,7 +1,3 @@
|
||||
#============================================================#
|
||||
# Flood Protectors #
|
||||
#============================================================#
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Floodprotector Options
|
||||
# ---------------------------------------------------------------------------
|
||||
|
@@ -61,8 +61,8 @@ public class Config
|
||||
private static final String CHARACTER_CONFIG_FILE = "./config/main/Character.ini";
|
||||
private static final String CLANHALL_CONFIG_FILE = "./config/main/Clanhall.ini";
|
||||
public static final String CLASS_DAMAGE_CONFIG_FILE = "./config/main/ClassDamage.ini";
|
||||
private static final String CONQUERABLE_CLANHALL_CONFIG_FILE = "./config/main/ConquerableClanHalls.ini";
|
||||
private static final String CRAFTING_CONFIG_FILE = "./config/main/Crafting.ini";
|
||||
private static final String ELIT_CLANHALL_CONFIG_FILE = "./config/main/EliteClanhall.ini";
|
||||
private static final String ENCHANT_CONFIG_FILE = "./config/main/Enchant.ini";
|
||||
public static final String FORTSIEGE_CONFIG_FILE = "./config/main/Fort.ini";
|
||||
private static final String GENERAL_CONFIG_FILE = "./config/main/General.ini";
|
||||
@@ -1811,22 +1811,22 @@ public class Config
|
||||
{
|
||||
try
|
||||
{
|
||||
final Properties elitchSettings = new Properties();
|
||||
final InputStream is = new FileInputStream(new File(ELIT_CLANHALL_CONFIG_FILE));
|
||||
elitchSettings.load(is);
|
||||
final Properties conquerableSettings = new Properties();
|
||||
final InputStream is = new FileInputStream(new File(CONQUERABLE_CLANHALL_CONFIG_FILE));
|
||||
conquerableSettings.load(is);
|
||||
is.close();
|
||||
|
||||
DEVASTATED_DAY = Integer.parseInt(elitchSettings.getProperty("DevastatedDay", "1"));
|
||||
DEVASTATED_HOUR = Integer.parseInt(elitchSettings.getProperty("DevastatedHour", "18"));
|
||||
DEVASTATED_MINUTES = Integer.parseInt(elitchSettings.getProperty("DevastatedMinutes", "0"));
|
||||
PARTISAN_DAY = Integer.parseInt(elitchSettings.getProperty("PartisanDay", "5"));
|
||||
PARTISAN_HOUR = Integer.parseInt(elitchSettings.getProperty("PartisanHour", "21"));
|
||||
PARTISAN_MINUTES = Integer.parseInt(elitchSettings.getProperty("PartisanMinutes", "0"));
|
||||
DEVASTATED_DAY = Integer.parseInt(conquerableSettings.getProperty("DevastatedDay", "1"));
|
||||
DEVASTATED_HOUR = Integer.parseInt(conquerableSettings.getProperty("DevastatedHour", "18"));
|
||||
DEVASTATED_MINUTES = Integer.parseInt(conquerableSettings.getProperty("DevastatedMinutes", "0"));
|
||||
PARTISAN_DAY = Integer.parseInt(conquerableSettings.getProperty("PartisanDay", "5"));
|
||||
PARTISAN_HOUR = Integer.parseInt(conquerableSettings.getProperty("PartisanHour", "21"));
|
||||
PARTISAN_MINUTES = Integer.parseInt(conquerableSettings.getProperty("PartisanMinutes", "0"));
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
e.printStackTrace();
|
||||
throw new Error("Failed to Load " + ELIT_CLANHALL_CONFIG_FILE + " File.");
|
||||
throw new Error("Failed to Load " + CONQUERABLE_CLANHALL_CONFIG_FILE + " File.");
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user