Removed useless AltOlyRestrictedItems entries.
This commit is contained in:
parent
e811d35dfd
commit
c12a44b9a5
@ -125,8 +125,8 @@ AltOlyAnnounceGames = True
|
||||
|
||||
# Restrict specified items in Olympiad. ItemID's need to be separated with a comma (ex. 1,200,350)
|
||||
# Equipped items will be moved to inventory during port.
|
||||
# Default: 6611,6612,6613,6614,6615,6616,6617,6618,6619,6620,6621,9388,9389,9390,17049,17050,17051,17052,17053,17054,17055,17056,17057,17058,17059,17060,17061,20759,20775,20776,20777,20778,14774
|
||||
AltOlyRestrictedItems = 6611,6612,6613,6614,6615,6616,6617,6618,6619,6620,6621,9388,9389,9390,17049,17050,17051,17052,17053,17054,17055,17056,17057,17058,17059,17060,17061,20759,20775,20776,20777,20778,14774
|
||||
# Default:
|
||||
AltOlyRestrictedItems =
|
||||
|
||||
# Enchant limit for items during Olympiad battles. Disabled = -1.
|
||||
# Default: -1
|
||||
|
@ -538,7 +538,7 @@ public class Config
|
||||
public static boolean ALT_OLY_LOG_FIGHTS;
|
||||
public static boolean ALT_OLY_SHOW_MONTHLY_WINNERS;
|
||||
public static boolean ALT_OLY_ANNOUNCE_GAMES;
|
||||
public static List<Integer> LIST_OLY_RESTRICTED_ITEMS;
|
||||
public static List<Integer> LIST_OLY_RESTRICTED_ITEMS = new ArrayList<>();
|
||||
public static int ALT_OLY_ENCHANT_LIMIT;
|
||||
public static int ALT_OLY_WAIT_TIME;
|
||||
public static boolean ALT_OLY_USE_CUSTOM_PERIOD_SETTINGS;
|
||||
@ -2355,11 +2355,19 @@ public class Config
|
||||
ALT_OLY_LOG_FIGHTS = Olympiad.getBoolean("AltOlyLogFights", false);
|
||||
ALT_OLY_SHOW_MONTHLY_WINNERS = Olympiad.getBoolean("AltOlyShowMonthlyWinners", true);
|
||||
ALT_OLY_ANNOUNCE_GAMES = Olympiad.getBoolean("AltOlyAnnounceGames", true);
|
||||
final String[] olyRestrictedItems = Olympiad.getString("AltOlyRestrictedItems", "6611,6612,6613,6614,6615,6616,6617,6618,6619,6620,6621,9388,9389,9390,17049,17050,17051,17052,17053,17054,17055,17056,17057,17058,17059,17060,17061,20759,20775,20776,20777,20778,14774").split(",");
|
||||
LIST_OLY_RESTRICTED_ITEMS = new ArrayList<>(olyRestrictedItems.length);
|
||||
for (String id : olyRestrictedItems)
|
||||
final String olyRestrictedItems = Olympiad.getString("AltOlyRestrictedItems", "").trim();
|
||||
if (!olyRestrictedItems.isEmpty())
|
||||
{
|
||||
LIST_OLY_RESTRICTED_ITEMS.add(Integer.parseInt(id));
|
||||
final String[] olyRestrictedItemsSplit = olyRestrictedItems.split(",");
|
||||
LIST_OLY_RESTRICTED_ITEMS = new ArrayList<>(olyRestrictedItemsSplit.length);
|
||||
for (String id : olyRestrictedItemsSplit)
|
||||
{
|
||||
LIST_OLY_RESTRICTED_ITEMS.add(Integer.parseInt(id));
|
||||
}
|
||||
}
|
||||
else // In case of reload with removal of all items ids.
|
||||
{
|
||||
LIST_OLY_RESTRICTED_ITEMS.clear();
|
||||
}
|
||||
ALT_OLY_ENCHANT_LIMIT = Olympiad.getInt("AltOlyEnchantLimit", -1);
|
||||
ALT_OLY_WAIT_TIME = Olympiad.getInt("AltOlyWaitTime", 60);
|
||||
|
@ -125,8 +125,8 @@ AltOlyAnnounceGames = True
|
||||
|
||||
# Restrict specified items in Olympiad. ItemID's need to be separated with a comma (ex. 1,200,350)
|
||||
# Equipped items will be moved to inventory during port.
|
||||
# Default: 6611,6612,6613,6614,6615,6616,6617,6618,6619,6620,6621,9388,9389,9390,17049,17050,17051,17052,17053,17054,17055,17056,17057,17058,17059,17060,17061,20759,20775,20776,20777,20778,14774
|
||||
AltOlyRestrictedItems = 6611,6612,6613,6614,6615,6616,6617,6618,6619,6620,6621,9388,9389,9390,17049,17050,17051,17052,17053,17054,17055,17056,17057,17058,17059,17060,17061,20759,20775,20776,20777,20778,14774
|
||||
# Default:
|
||||
AltOlyRestrictedItems =
|
||||
|
||||
# Enchant limit for items during Olympiad battles. Disabled = -1.
|
||||
# Default: -1
|
||||
|
@ -545,7 +545,7 @@ public class Config
|
||||
public static boolean ALT_OLY_LOG_FIGHTS;
|
||||
public static boolean ALT_OLY_SHOW_MONTHLY_WINNERS;
|
||||
public static boolean ALT_OLY_ANNOUNCE_GAMES;
|
||||
public static List<Integer> LIST_OLY_RESTRICTED_ITEMS;
|
||||
public static List<Integer> LIST_OLY_RESTRICTED_ITEMS = new ArrayList<>();
|
||||
public static int ALT_OLY_ENCHANT_LIMIT;
|
||||
public static int ALT_OLY_WAIT_TIME;
|
||||
public static boolean ALT_OLY_USE_CUSTOM_PERIOD_SETTINGS;
|
||||
@ -2372,11 +2372,19 @@ public class Config
|
||||
ALT_OLY_LOG_FIGHTS = Olympiad.getBoolean("AltOlyLogFights", false);
|
||||
ALT_OLY_SHOW_MONTHLY_WINNERS = Olympiad.getBoolean("AltOlyShowMonthlyWinners", true);
|
||||
ALT_OLY_ANNOUNCE_GAMES = Olympiad.getBoolean("AltOlyAnnounceGames", true);
|
||||
final String[] olyRestrictedItems = Olympiad.getString("AltOlyRestrictedItems", "6611,6612,6613,6614,6615,6616,6617,6618,6619,6620,6621,9388,9389,9390,17049,17050,17051,17052,17053,17054,17055,17056,17057,17058,17059,17060,17061,20759,20775,20776,20777,20778,14774").split(",");
|
||||
LIST_OLY_RESTRICTED_ITEMS = new ArrayList<>(olyRestrictedItems.length);
|
||||
for (String id : olyRestrictedItems)
|
||||
final String olyRestrictedItems = Olympiad.getString("AltOlyRestrictedItems", "").trim();
|
||||
if (!olyRestrictedItems.isEmpty())
|
||||
{
|
||||
LIST_OLY_RESTRICTED_ITEMS.add(Integer.parseInt(id));
|
||||
final String[] olyRestrictedItemsSplit = olyRestrictedItems.split(",");
|
||||
LIST_OLY_RESTRICTED_ITEMS = new ArrayList<>(olyRestrictedItemsSplit.length);
|
||||
for (String id : olyRestrictedItemsSplit)
|
||||
{
|
||||
LIST_OLY_RESTRICTED_ITEMS.add(Integer.parseInt(id));
|
||||
}
|
||||
}
|
||||
else // In case of reload with removal of all items ids.
|
||||
{
|
||||
LIST_OLY_RESTRICTED_ITEMS.clear();
|
||||
}
|
||||
ALT_OLY_ENCHANT_LIMIT = Olympiad.getInt("AltOlyEnchantLimit", -1);
|
||||
ALT_OLY_WAIT_TIME = Olympiad.getInt("AltOlyWaitTime", 60);
|
||||
|
@ -125,8 +125,8 @@ AltOlyAnnounceGames = True
|
||||
|
||||
# Restrict specified items in Olympiad. ItemID's need to be separated with a comma (ex. 1,200,350)
|
||||
# Equipped items will be moved to inventory during port.
|
||||
# Default: 6611,6612,6613,6614,6615,6616,6617,6618,6619,6620,6621,9388,9389,9390,17049,17050,17051,17052,17053,17054,17055,17056,17057,17058,17059,17060,17061,20759,20775,20776,20777,20778,14774
|
||||
AltOlyRestrictedItems = 6611,6612,6613,6614,6615,6616,6617,6618,6619,6620,6621,9388,9389,9390,17049,17050,17051,17052,17053,17054,17055,17056,17057,17058,17059,17060,17061,20759,20775,20776,20777,20778,14774
|
||||
# Default:
|
||||
AltOlyRestrictedItems =
|
||||
|
||||
# Enchant limit for items during Olympiad battles. Disabled = -1.
|
||||
# Default: -1
|
||||
|
@ -545,7 +545,7 @@ public class Config
|
||||
public static boolean ALT_OLY_LOG_FIGHTS;
|
||||
public static boolean ALT_OLY_SHOW_MONTHLY_WINNERS;
|
||||
public static boolean ALT_OLY_ANNOUNCE_GAMES;
|
||||
public static List<Integer> LIST_OLY_RESTRICTED_ITEMS;
|
||||
public static List<Integer> LIST_OLY_RESTRICTED_ITEMS = new ArrayList<>();
|
||||
public static int ALT_OLY_ENCHANT_LIMIT;
|
||||
public static int ALT_OLY_WAIT_TIME;
|
||||
public static boolean ALT_OLY_USE_CUSTOM_PERIOD_SETTINGS;
|
||||
@ -2386,11 +2386,19 @@ public class Config
|
||||
ALT_OLY_LOG_FIGHTS = Olympiad.getBoolean("AltOlyLogFights", false);
|
||||
ALT_OLY_SHOW_MONTHLY_WINNERS = Olympiad.getBoolean("AltOlyShowMonthlyWinners", true);
|
||||
ALT_OLY_ANNOUNCE_GAMES = Olympiad.getBoolean("AltOlyAnnounceGames", true);
|
||||
final String[] olyRestrictedItems = Olympiad.getString("AltOlyRestrictedItems", "6611,6612,6613,6614,6615,6616,6617,6618,6619,6620,6621,9388,9389,9390,17049,17050,17051,17052,17053,17054,17055,17056,17057,17058,17059,17060,17061,20759,20775,20776,20777,20778,14774").split(",");
|
||||
LIST_OLY_RESTRICTED_ITEMS = new ArrayList<>(olyRestrictedItems.length);
|
||||
for (String id : olyRestrictedItems)
|
||||
final String olyRestrictedItems = Olympiad.getString("AltOlyRestrictedItems", "").trim();
|
||||
if (!olyRestrictedItems.isEmpty())
|
||||
{
|
||||
LIST_OLY_RESTRICTED_ITEMS.add(Integer.parseInt(id));
|
||||
final String[] olyRestrictedItemsSplit = olyRestrictedItems.split(",");
|
||||
LIST_OLY_RESTRICTED_ITEMS = new ArrayList<>(olyRestrictedItemsSplit.length);
|
||||
for (String id : olyRestrictedItemsSplit)
|
||||
{
|
||||
LIST_OLY_RESTRICTED_ITEMS.add(Integer.parseInt(id));
|
||||
}
|
||||
}
|
||||
else // In case of reload with removal of all items ids.
|
||||
{
|
||||
LIST_OLY_RESTRICTED_ITEMS.clear();
|
||||
}
|
||||
ALT_OLY_ENCHANT_LIMIT = Olympiad.getInt("AltOlyEnchantLimit", -1);
|
||||
ALT_OLY_WAIT_TIME = Olympiad.getInt("AltOlyWaitTime", 60);
|
||||
|
@ -111,8 +111,8 @@ AltOlyAnnounceGames = True
|
||||
|
||||
# Restrict specified items in Olympiad. ItemID's need to be separated with a comma (ex. 1,200,350)
|
||||
# Equipped items will be moved to inventory during port.
|
||||
# Default: 6611,6612,6613,6614,6615,6616,6617,6618,6619,6620,6621,9388,9389,9390,17049,17050,17051,17052,17053,17054,17055,17056,17057,17058,17059,17060,17061,20759,20775,20776,20777,20778,14774
|
||||
AltOlyRestrictedItems = 6611,6612,6613,6614,6615,6616,6617,6618,6619,6620,6621,9388,9389,9390,17049,17050,17051,17052,17053,17054,17055,17056,17057,17058,17059,17060,17061,20759,20775,20776,20777,20778,14774
|
||||
# Default:
|
||||
AltOlyRestrictedItems =
|
||||
|
||||
# Enchant limit for items during Olympiad battles. Disabled = -1.
|
||||
# Default: -1
|
||||
|
@ -534,7 +534,7 @@ public class Config
|
||||
public static boolean ALT_OLY_LOG_FIGHTS;
|
||||
public static boolean ALT_OLY_SHOW_MONTHLY_WINNERS;
|
||||
public static boolean ALT_OLY_ANNOUNCE_GAMES;
|
||||
public static List<Integer> LIST_OLY_RESTRICTED_ITEMS;
|
||||
public static List<Integer> LIST_OLY_RESTRICTED_ITEMS = new ArrayList<>();
|
||||
public static int ALT_OLY_ENCHANT_LIMIT;
|
||||
public static int ALT_OLY_WAIT_TIME;
|
||||
public static String ALT_OLY_PERIOD;
|
||||
@ -2361,11 +2361,19 @@ public class Config
|
||||
ALT_OLY_LOG_FIGHTS = Olympiad.getBoolean("AltOlyLogFights", false);
|
||||
ALT_OLY_SHOW_MONTHLY_WINNERS = Olympiad.getBoolean("AltOlyShowMonthlyWinners", true);
|
||||
ALT_OLY_ANNOUNCE_GAMES = Olympiad.getBoolean("AltOlyAnnounceGames", true);
|
||||
final String[] olyRestrictedItems = Olympiad.getString("AltOlyRestrictedItems", "6611,6612,6613,6614,6615,6616,6617,6618,6619,6620,6621,9388,9389,9390,17049,17050,17051,17052,17053,17054,17055,17056,17057,17058,17059,17060,17061,20759,20775,20776,20777,20778,14774").split(",");
|
||||
LIST_OLY_RESTRICTED_ITEMS = new ArrayList<>(olyRestrictedItems.length);
|
||||
for (String id : olyRestrictedItems)
|
||||
final String olyRestrictedItems = Olympiad.getString("AltOlyRestrictedItems", "").trim();
|
||||
if (!olyRestrictedItems.isEmpty())
|
||||
{
|
||||
LIST_OLY_RESTRICTED_ITEMS.add(Integer.parseInt(id));
|
||||
final String[] olyRestrictedItemsSplit = olyRestrictedItems.split(",");
|
||||
LIST_OLY_RESTRICTED_ITEMS = new ArrayList<>(olyRestrictedItemsSplit.length);
|
||||
for (String id : olyRestrictedItemsSplit)
|
||||
{
|
||||
LIST_OLY_RESTRICTED_ITEMS.add(Integer.parseInt(id));
|
||||
}
|
||||
}
|
||||
else // In case of reload with removal of all items ids.
|
||||
{
|
||||
LIST_OLY_RESTRICTED_ITEMS.clear();
|
||||
}
|
||||
ALT_OLY_ENCHANT_LIMIT = Olympiad.getInt("AltOlyEnchantLimit", -1);
|
||||
ALT_OLY_WAIT_TIME = Olympiad.getInt("AltOlyWaitTime", 60);
|
||||
|
@ -111,8 +111,8 @@ AltOlyAnnounceGames = True
|
||||
|
||||
# Restrict specified items in Olympiad. ItemID's need to be separated with a comma (ex. 1,200,350)
|
||||
# Equipped items will be moved to inventory during port.
|
||||
# Default: 6611,6612,6613,6614,6615,6616,6617,6618,6619,6620,6621,9388,9389,9390,17049,17050,17051,17052,17053,17054,17055,17056,17057,17058,17059,17060,17061,20759,20775,20776,20777,20778,14774
|
||||
AltOlyRestrictedItems = 6611,6612,6613,6614,6615,6616,6617,6618,6619,6620,6621,9388,9389,9390,17049,17050,17051,17052,17053,17054,17055,17056,17057,17058,17059,17060,17061,20759,20775,20776,20777,20778,14774
|
||||
# Default:
|
||||
AltOlyRestrictedItems =
|
||||
|
||||
# Enchant limit for items during Olympiad battles. Disabled = -1.
|
||||
# Default: -1
|
||||
|
@ -529,7 +529,7 @@ public class Config
|
||||
public static boolean ALT_OLY_LOG_FIGHTS;
|
||||
public static boolean ALT_OLY_SHOW_MONTHLY_WINNERS;
|
||||
public static boolean ALT_OLY_ANNOUNCE_GAMES;
|
||||
public static List<Integer> LIST_OLY_RESTRICTED_ITEMS;
|
||||
public static List<Integer> LIST_OLY_RESTRICTED_ITEMS = new ArrayList<>();
|
||||
public static int ALT_OLY_ENCHANT_LIMIT;
|
||||
public static int ALT_OLY_WAIT_TIME;
|
||||
public static String ALT_OLY_PERIOD;
|
||||
@ -2363,11 +2363,19 @@ public class Config
|
||||
ALT_OLY_LOG_FIGHTS = Olympiad.getBoolean("AltOlyLogFights", false);
|
||||
ALT_OLY_SHOW_MONTHLY_WINNERS = Olympiad.getBoolean("AltOlyShowMonthlyWinners", true);
|
||||
ALT_OLY_ANNOUNCE_GAMES = Olympiad.getBoolean("AltOlyAnnounceGames", true);
|
||||
final String[] olyRestrictedItems = Olympiad.getString("AltOlyRestrictedItems", "6611,6612,6613,6614,6615,6616,6617,6618,6619,6620,6621,9388,9389,9390,17049,17050,17051,17052,17053,17054,17055,17056,17057,17058,17059,17060,17061,20759,20775,20776,20777,20778,14774").split(",");
|
||||
LIST_OLY_RESTRICTED_ITEMS = new ArrayList<>(olyRestrictedItems.length);
|
||||
for (String id : olyRestrictedItems)
|
||||
final String olyRestrictedItems = Olympiad.getString("AltOlyRestrictedItems", "").trim();
|
||||
if (!olyRestrictedItems.isEmpty())
|
||||
{
|
||||
LIST_OLY_RESTRICTED_ITEMS.add(Integer.parseInt(id));
|
||||
final String[] olyRestrictedItemsSplit = olyRestrictedItems.split(",");
|
||||
LIST_OLY_RESTRICTED_ITEMS = new ArrayList<>(olyRestrictedItemsSplit.length);
|
||||
for (String id : olyRestrictedItemsSplit)
|
||||
{
|
||||
LIST_OLY_RESTRICTED_ITEMS.add(Integer.parseInt(id));
|
||||
}
|
||||
}
|
||||
else // In case of reload with removal of all items ids.
|
||||
{
|
||||
LIST_OLY_RESTRICTED_ITEMS.clear();
|
||||
}
|
||||
ALT_OLY_ENCHANT_LIMIT = Olympiad.getInt("AltOlyEnchantLimit", -1);
|
||||
ALT_OLY_WAIT_TIME = Olympiad.getInt("AltOlyWaitTime", 60);
|
||||
|
@ -111,8 +111,8 @@ AltOlyAnnounceGames = True
|
||||
|
||||
# Restrict specified items in Olympiad. ItemID's need to be separated with a comma (ex. 1,200,350)
|
||||
# Equipped items will be moved to inventory during port.
|
||||
# Default: 6611,6612,6613,6614,6615,6616,6617,6618,6619,6620,6621,9388,9389,9390,17049,17050,17051,17052,17053,17054,17055,17056,17057,17058,17059,17060,17061,20759,20775,20776,20777,20778,14774
|
||||
AltOlyRestrictedItems = 6611,6612,6613,6614,6615,6616,6617,6618,6619,6620,6621,9388,9389,9390,17049,17050,17051,17052,17053,17054,17055,17056,17057,17058,17059,17060,17061,20759,20775,20776,20777,20778,14774
|
||||
# Default:
|
||||
AltOlyRestrictedItems =
|
||||
|
||||
# Enchant limit for items during Olympiad battles. Disabled = -1.
|
||||
# Default: -1
|
||||
|
@ -529,7 +529,7 @@ public class Config
|
||||
public static boolean ALT_OLY_LOG_FIGHTS;
|
||||
public static boolean ALT_OLY_SHOW_MONTHLY_WINNERS;
|
||||
public static boolean ALT_OLY_ANNOUNCE_GAMES;
|
||||
public static List<Integer> LIST_OLY_RESTRICTED_ITEMS;
|
||||
public static List<Integer> LIST_OLY_RESTRICTED_ITEMS = new ArrayList<>();
|
||||
public static int ALT_OLY_ENCHANT_LIMIT;
|
||||
public static int ALT_OLY_WAIT_TIME;
|
||||
public static String ALT_OLY_PERIOD;
|
||||
@ -2363,11 +2363,19 @@ public class Config
|
||||
ALT_OLY_LOG_FIGHTS = Olympiad.getBoolean("AltOlyLogFights", false);
|
||||
ALT_OLY_SHOW_MONTHLY_WINNERS = Olympiad.getBoolean("AltOlyShowMonthlyWinners", true);
|
||||
ALT_OLY_ANNOUNCE_GAMES = Olympiad.getBoolean("AltOlyAnnounceGames", true);
|
||||
final String[] olyRestrictedItems = Olympiad.getString("AltOlyRestrictedItems", "6611,6612,6613,6614,6615,6616,6617,6618,6619,6620,6621,9388,9389,9390,17049,17050,17051,17052,17053,17054,17055,17056,17057,17058,17059,17060,17061,20759,20775,20776,20777,20778,14774").split(",");
|
||||
LIST_OLY_RESTRICTED_ITEMS = new ArrayList<>(olyRestrictedItems.length);
|
||||
for (String id : olyRestrictedItems)
|
||||
final String olyRestrictedItems = Olympiad.getString("AltOlyRestrictedItems", "").trim();
|
||||
if (!olyRestrictedItems.isEmpty())
|
||||
{
|
||||
LIST_OLY_RESTRICTED_ITEMS.add(Integer.parseInt(id));
|
||||
final String[] olyRestrictedItemsSplit = olyRestrictedItems.split(",");
|
||||
LIST_OLY_RESTRICTED_ITEMS = new ArrayList<>(olyRestrictedItemsSplit.length);
|
||||
for (String id : olyRestrictedItemsSplit)
|
||||
{
|
||||
LIST_OLY_RESTRICTED_ITEMS.add(Integer.parseInt(id));
|
||||
}
|
||||
}
|
||||
else // In case of reload with removal of all items ids.
|
||||
{
|
||||
LIST_OLY_RESTRICTED_ITEMS.clear();
|
||||
}
|
||||
ALT_OLY_ENCHANT_LIMIT = Olympiad.getInt("AltOlyEnchantLimit", -1);
|
||||
ALT_OLY_WAIT_TIME = Olympiad.getInt("AltOlyWaitTime", 60);
|
||||
|
@ -111,8 +111,8 @@ AltOlyAnnounceGames = True
|
||||
|
||||
# Restrict specified items in Olympiad. ItemID's need to be separated with a comma (ex. 1,200,350)
|
||||
# Equipped items will be moved to inventory during port.
|
||||
# Default: 6611,6612,6613,6614,6615,6616,6617,6618,6619,6620,6621,9388,9389,9390,17049,17050,17051,17052,17053,17054,17055,17056,17057,17058,17059,17060,17061,20759,20775,20776,20777,20778,14774
|
||||
AltOlyRestrictedItems = 6611,6612,6613,6614,6615,6616,6617,6618,6619,6620,6621,9388,9389,9390,17049,17050,17051,17052,17053,17054,17055,17056,17057,17058,17059,17060,17061,20759,20775,20776,20777,20778,14774
|
||||
# Default:
|
||||
AltOlyRestrictedItems =
|
||||
|
||||
# Enchant limit for items during Olympiad battles. Disabled = -1.
|
||||
# Default: -1
|
||||
|
@ -530,7 +530,7 @@ public class Config
|
||||
public static boolean ALT_OLY_LOG_FIGHTS;
|
||||
public static boolean ALT_OLY_SHOW_MONTHLY_WINNERS;
|
||||
public static boolean ALT_OLY_ANNOUNCE_GAMES;
|
||||
public static List<Integer> LIST_OLY_RESTRICTED_ITEMS;
|
||||
public static List<Integer> LIST_OLY_RESTRICTED_ITEMS = new ArrayList<>();
|
||||
public static int ALT_OLY_ENCHANT_LIMIT;
|
||||
public static int ALT_OLY_WAIT_TIME;
|
||||
public static String ALT_OLY_PERIOD;
|
||||
@ -2401,11 +2401,19 @@ public class Config
|
||||
ALT_OLY_LOG_FIGHTS = Olympiad.getBoolean("AltOlyLogFights", false);
|
||||
ALT_OLY_SHOW_MONTHLY_WINNERS = Olympiad.getBoolean("AltOlyShowMonthlyWinners", true);
|
||||
ALT_OLY_ANNOUNCE_GAMES = Olympiad.getBoolean("AltOlyAnnounceGames", true);
|
||||
final String[] olyRestrictedItems = Olympiad.getString("AltOlyRestrictedItems", "6611,6612,6613,6614,6615,6616,6617,6618,6619,6620,6621,9388,9389,9390,17049,17050,17051,17052,17053,17054,17055,17056,17057,17058,17059,17060,17061,20759,20775,20776,20777,20778,14774").split(",");
|
||||
LIST_OLY_RESTRICTED_ITEMS = new ArrayList<>(olyRestrictedItems.length);
|
||||
for (String id : olyRestrictedItems)
|
||||
final String olyRestrictedItems = Olympiad.getString("AltOlyRestrictedItems", "").trim();
|
||||
if (!olyRestrictedItems.isEmpty())
|
||||
{
|
||||
LIST_OLY_RESTRICTED_ITEMS.add(Integer.parseInt(id));
|
||||
final String[] olyRestrictedItemsSplit = olyRestrictedItems.split(",");
|
||||
LIST_OLY_RESTRICTED_ITEMS = new ArrayList<>(olyRestrictedItemsSplit.length);
|
||||
for (String id : olyRestrictedItemsSplit)
|
||||
{
|
||||
LIST_OLY_RESTRICTED_ITEMS.add(Integer.parseInt(id));
|
||||
}
|
||||
}
|
||||
else // In case of reload with removal of all items ids.
|
||||
{
|
||||
LIST_OLY_RESTRICTED_ITEMS.clear();
|
||||
}
|
||||
ALT_OLY_ENCHANT_LIMIT = Olympiad.getInt("AltOlyEnchantLimit", -1);
|
||||
ALT_OLY_WAIT_TIME = Olympiad.getInt("AltOlyWaitTime", 60);
|
||||
|
@ -111,8 +111,8 @@ AltOlyAnnounceGames = True
|
||||
|
||||
# Restrict specified items in Olympiad. ItemID's need to be separated with a comma (ex. 1,200,350)
|
||||
# Equipped items will be moved to inventory during port.
|
||||
# Default: 6611,6612,6613,6614,6615,6616,6617,6618,6619,6620,6621,9388,9389,9390,17049,17050,17051,17052,17053,17054,17055,17056,17057,17058,17059,17060,17061,20759,20775,20776,20777,20778,14774
|
||||
AltOlyRestrictedItems = 6611,6612,6613,6614,6615,6616,6617,6618,6619,6620,6621,9388,9389,9390,17049,17050,17051,17052,17053,17054,17055,17056,17057,17058,17059,17060,17061,20759,20775,20776,20777,20778,14774
|
||||
# Default:
|
||||
AltOlyRestrictedItems =
|
||||
|
||||
# Enchant limit for items during Olympiad battles. Disabled = -1.
|
||||
# Default: -1
|
||||
|
@ -529,7 +529,7 @@ public class Config
|
||||
public static boolean ALT_OLY_LOG_FIGHTS;
|
||||
public static boolean ALT_OLY_SHOW_MONTHLY_WINNERS;
|
||||
public static boolean ALT_OLY_ANNOUNCE_GAMES;
|
||||
public static List<Integer> LIST_OLY_RESTRICTED_ITEMS;
|
||||
public static List<Integer> LIST_OLY_RESTRICTED_ITEMS = new ArrayList<>();
|
||||
public static int ALT_OLY_ENCHANT_LIMIT;
|
||||
public static int ALT_OLY_WAIT_TIME;
|
||||
public static String ALT_OLY_PERIOD;
|
||||
@ -2403,11 +2403,19 @@ public class Config
|
||||
ALT_OLY_LOG_FIGHTS = Olympiad.getBoolean("AltOlyLogFights", false);
|
||||
ALT_OLY_SHOW_MONTHLY_WINNERS = Olympiad.getBoolean("AltOlyShowMonthlyWinners", true);
|
||||
ALT_OLY_ANNOUNCE_GAMES = Olympiad.getBoolean("AltOlyAnnounceGames", true);
|
||||
final String[] olyRestrictedItems = Olympiad.getString("AltOlyRestrictedItems", "6611,6612,6613,6614,6615,6616,6617,6618,6619,6620,6621,9388,9389,9390,17049,17050,17051,17052,17053,17054,17055,17056,17057,17058,17059,17060,17061,20759,20775,20776,20777,20778,14774").split(",");
|
||||
LIST_OLY_RESTRICTED_ITEMS = new ArrayList<>(olyRestrictedItems.length);
|
||||
for (String id : olyRestrictedItems)
|
||||
final String olyRestrictedItems = Olympiad.getString("AltOlyRestrictedItems", "").trim();
|
||||
if (!olyRestrictedItems.isEmpty())
|
||||
{
|
||||
LIST_OLY_RESTRICTED_ITEMS.add(Integer.parseInt(id));
|
||||
final String[] olyRestrictedItemsSplit = olyRestrictedItems.split(",");
|
||||
LIST_OLY_RESTRICTED_ITEMS = new ArrayList<>(olyRestrictedItemsSplit.length);
|
||||
for (String id : olyRestrictedItemsSplit)
|
||||
{
|
||||
LIST_OLY_RESTRICTED_ITEMS.add(Integer.parseInt(id));
|
||||
}
|
||||
}
|
||||
else // In case of reload with removal of all items ids.
|
||||
{
|
||||
LIST_OLY_RESTRICTED_ITEMS.clear();
|
||||
}
|
||||
ALT_OLY_ENCHANT_LIMIT = Olympiad.getInt("AltOlyEnchantLimit", -1);
|
||||
ALT_OLY_WAIT_TIME = Olympiad.getInt("AltOlyWaitTime", 60);
|
||||
|
@ -114,8 +114,9 @@ AltOlyShowMonthlyWinners = True
|
||||
AltOlyAnnounceGames = True
|
||||
|
||||
# Restrict specified items in Olympiad. ItemID's need to be separated with a comma (ex. 1,200,350)
|
||||
# Default: 0
|
||||
AltOlyRestrictedItems = 0
|
||||
# Equipped items will be moved to inventory during port.
|
||||
# Default:
|
||||
AltOlyRestrictedItems =
|
||||
|
||||
# Enchant limit for items during Olympiad battles. Disabled = -1.
|
||||
# Default: -1
|
||||
|
@ -981,6 +981,7 @@
|
||||
<set name="is_dropable" val="false" />
|
||||
<set name="is_sellable" val="false" />
|
||||
<set name="is_depositable" val="false" />
|
||||
<set name="is_oly_restricted" val="true" />
|
||||
<set name="item_skill" val="8325-1;8326-1" /> <!-- Wild Rose Pig Candy -->
|
||||
<set name="time" val="20160" />
|
||||
<for>
|
||||
|
@ -603,7 +603,7 @@ public class Config
|
||||
public static boolean ALT_OLY_LOG_FIGHTS;
|
||||
public static boolean ALT_OLY_SHOW_MONTHLY_WINNERS;
|
||||
public static boolean ALT_OLY_ANNOUNCE_GAMES;
|
||||
public static List<Integer> LIST_OLY_RESTRICTED_ITEMS;
|
||||
public static List<Integer> LIST_OLY_RESTRICTED_ITEMS = new ArrayList<>();
|
||||
public static int ALT_OLY_ENCHANT_LIMIT;
|
||||
public static byte ALT_OLY_WAIT_TIME;
|
||||
public static boolean ALT_OLY_USE_CUSTOM_PERIOD_SETTINGS;
|
||||
@ -2475,11 +2475,19 @@ public class Config
|
||||
ALT_OLY_LOG_FIGHTS = Olympiad.getBoolean("AltOlyLogFights", false);
|
||||
ALT_OLY_SHOW_MONTHLY_WINNERS = Olympiad.getBoolean("AltOlyShowMonthlyWinners", true);
|
||||
ALT_OLY_ANNOUNCE_GAMES = Olympiad.getBoolean("AltOlyAnnounceGames", true);
|
||||
String[] olyRestrictedItems = Olympiad.getString("AltOlyRestrictedItems", "6611,6612,6613,6614,6615,6616,6617,6618,6619,6620,6621,9388,9389,9390,17049,17050,17051,17052,17053,17054,17055,17056,17057,17058,17059,17060,17061,20759,20775,20776,20777,20778,14774").split(",");
|
||||
LIST_OLY_RESTRICTED_ITEMS = new ArrayList<>(olyRestrictedItems.length);
|
||||
for (String id : olyRestrictedItems)
|
||||
final String olyRestrictedItems = Olympiad.getString("AltOlyRestrictedItems", "").trim();
|
||||
if (!olyRestrictedItems.isEmpty())
|
||||
{
|
||||
LIST_OLY_RESTRICTED_ITEMS.add(Integer.parseInt(id));
|
||||
final String[] olyRestrictedItemsSplit = olyRestrictedItems.split(",");
|
||||
LIST_OLY_RESTRICTED_ITEMS = new ArrayList<>(olyRestrictedItemsSplit.length);
|
||||
for (String id : olyRestrictedItemsSplit)
|
||||
{
|
||||
LIST_OLY_RESTRICTED_ITEMS.add(Integer.parseInt(id));
|
||||
}
|
||||
}
|
||||
else // In case of reload with removal of all items ids.
|
||||
{
|
||||
LIST_OLY_RESTRICTED_ITEMS.clear();
|
||||
}
|
||||
ALT_OLY_ENCHANT_LIMIT = Olympiad.getInt("AltOlyEnchantLimit", -1);
|
||||
ALT_OLY_WAIT_TIME = Olympiad.getByte("AltOlyWaitTime", (byte) 120);
|
||||
|
@ -129,8 +129,8 @@ AltOlyAnnounceGames = True
|
||||
|
||||
# Restrict specified items in Olympiad. ItemID's need to be separated with a comma (ex. 1,200,350)
|
||||
# Equipped items will be moved to inventory during port.
|
||||
# Default: 6611,6612,6613,6614,6615,6616,6617,6618,6619,6620,6621,9388,9389,9390,17049,17050,17051,17052,17053,17054,17055,17056,17057,17058,17059,17060,17061,20759,20775,20776,20777,20778,14774
|
||||
AltOlyRestrictedItems = 6611,6612,6613,6614,6615,6616,6617,6618,6619,6620,6621,9388,9389,9390,17049,17050,17051,17052,17053,17054,17055,17056,17057,17058,17059,17060,17061,20759,20775,20776,20777,20778,14774
|
||||
# Default:
|
||||
AltOlyRestrictedItems =
|
||||
|
||||
# Enchant limit for items during Olympiad battles. Disabled = -1.
|
||||
# Default: -1
|
||||
|
@ -981,6 +981,7 @@
|
||||
<set name="is_dropable" val="false" />
|
||||
<set name="is_sellable" val="false" />
|
||||
<set name="is_depositable" val="false" />
|
||||
<set name="is_oly_restricted" val="true" />
|
||||
<set name="item_skill" val="8325-1;8326-1" /> <!-- Wild Rose Pig Candy -->
|
||||
<set name="time" val="20160" />
|
||||
<for>
|
||||
|
@ -608,7 +608,7 @@ public class Config
|
||||
public static boolean ALT_OLY_LOG_FIGHTS;
|
||||
public static boolean ALT_OLY_SHOW_MONTHLY_WINNERS;
|
||||
public static boolean ALT_OLY_ANNOUNCE_GAMES;
|
||||
public static List<Integer> LIST_OLY_RESTRICTED_ITEMS;
|
||||
public static List<Integer> LIST_OLY_RESTRICTED_ITEMS = new ArrayList<>();
|
||||
public static int ALT_OLY_ENCHANT_LIMIT;
|
||||
public static int ALT_OLY_WAIT_TIME;
|
||||
public static boolean ALT_OLY_USE_CUSTOM_PERIOD_SETTINGS;
|
||||
@ -2489,11 +2489,19 @@ public class Config
|
||||
ALT_OLY_LOG_FIGHTS = Olympiad.getBoolean("AltOlyLogFights", false);
|
||||
ALT_OLY_SHOW_MONTHLY_WINNERS = Olympiad.getBoolean("AltOlyShowMonthlyWinners", true);
|
||||
ALT_OLY_ANNOUNCE_GAMES = Olympiad.getBoolean("AltOlyAnnounceGames", true);
|
||||
final String[] olyRestrictedItems = Olympiad.getString("AltOlyRestrictedItems", "6611,6612,6613,6614,6615,6616,6617,6618,6619,6620,6621,9388,9389,9390,17049,17050,17051,17052,17053,17054,17055,17056,17057,17058,17059,17060,17061,20759,20775,20776,20777,20778,14774").split(",");
|
||||
LIST_OLY_RESTRICTED_ITEMS = new ArrayList<>(olyRestrictedItems.length);
|
||||
for (String id : olyRestrictedItems)
|
||||
final String olyRestrictedItems = Olympiad.getString("AltOlyRestrictedItems", "").trim();
|
||||
if (!olyRestrictedItems.isEmpty())
|
||||
{
|
||||
LIST_OLY_RESTRICTED_ITEMS.add(Integer.parseInt(id));
|
||||
final String[] olyRestrictedItemsSplit = olyRestrictedItems.split(",");
|
||||
LIST_OLY_RESTRICTED_ITEMS = new ArrayList<>(olyRestrictedItemsSplit.length);
|
||||
for (String id : olyRestrictedItemsSplit)
|
||||
{
|
||||
LIST_OLY_RESTRICTED_ITEMS.add(Integer.parseInt(id));
|
||||
}
|
||||
}
|
||||
else // In case of reload with removal of all items ids.
|
||||
{
|
||||
LIST_OLY_RESTRICTED_ITEMS.clear();
|
||||
}
|
||||
ALT_OLY_ENCHANT_LIMIT = Olympiad.getInt("AltOlyEnchantLimit", -1);
|
||||
ALT_OLY_WAIT_TIME = Olympiad.getInt("AltOlyWaitTime", 120);
|
||||
|
@ -111,8 +111,8 @@ AltOlyAnnounceGames = True
|
||||
|
||||
# Restrict specified items in Olympiad. ItemID's need to be separated with a comma (ex. 1,200,350)
|
||||
# Equipped items will be moved to inventory during port.
|
||||
# Default: 6611,6612,6613,6614,6615,6616,6617,6618,6619,6620,6621,9388,9389,9390,17049,17050,17051,17052,17053,17054,17055,17056,17057,17058,17059,17060,17061,20759,20775,20776,20777,20778,14774
|
||||
AltOlyRestrictedItems = 6611,6612,6613,6614,6615,6616,6617,6618,6619,6620,6621,9388,9389,9390,17049,17050,17051,17052,17053,17054,17055,17056,17057,17058,17059,17060,17061,20759,20775,20776,20777,20778,14774
|
||||
# Default:
|
||||
AltOlyRestrictedItems =
|
||||
|
||||
# Enchant limit for items during Olympiad battles. Disabled = -1.
|
||||
# Default: -1
|
||||
|
@ -538,7 +538,7 @@ public class Config
|
||||
public static boolean ALT_OLY_LOG_FIGHTS;
|
||||
public static boolean ALT_OLY_SHOW_MONTHLY_WINNERS;
|
||||
public static boolean ALT_OLY_ANNOUNCE_GAMES;
|
||||
public static List<Integer> LIST_OLY_RESTRICTED_ITEMS;
|
||||
public static List<Integer> LIST_OLY_RESTRICTED_ITEMS = new ArrayList<>();
|
||||
public static int ALT_OLY_ENCHANT_LIMIT;
|
||||
public static int ALT_OLY_WAIT_TIME;
|
||||
public static String ALT_OLY_PERIOD;
|
||||
@ -2272,11 +2272,19 @@ public class Config
|
||||
ALT_OLY_LOG_FIGHTS = Olympiad.getBoolean("AltOlyLogFights", false);
|
||||
ALT_OLY_SHOW_MONTHLY_WINNERS = Olympiad.getBoolean("AltOlyShowMonthlyWinners", true);
|
||||
ALT_OLY_ANNOUNCE_GAMES = Olympiad.getBoolean("AltOlyAnnounceGames", true);
|
||||
final String[] olyRestrictedItems = Olympiad.getString("AltOlyRestrictedItems", "6611,6612,6613,6614,6615,6616,6617,6618,6619,6620,6621,9388,9389,9390,17049,17050,17051,17052,17053,17054,17055,17056,17057,17058,17059,17060,17061,20759,20775,20776,20777,20778,14774").split(",");
|
||||
LIST_OLY_RESTRICTED_ITEMS = new ArrayList<>(olyRestrictedItems.length);
|
||||
for (String id : olyRestrictedItems)
|
||||
final String olyRestrictedItems = Olympiad.getString("AltOlyRestrictedItems", "").trim();
|
||||
if (!olyRestrictedItems.isEmpty())
|
||||
{
|
||||
LIST_OLY_RESTRICTED_ITEMS.add(Integer.parseInt(id));
|
||||
final String[] olyRestrictedItemsSplit = olyRestrictedItems.split(",");
|
||||
LIST_OLY_RESTRICTED_ITEMS = new ArrayList<>(olyRestrictedItemsSplit.length);
|
||||
for (String id : olyRestrictedItemsSplit)
|
||||
{
|
||||
LIST_OLY_RESTRICTED_ITEMS.add(Integer.parseInt(id));
|
||||
}
|
||||
}
|
||||
else // In case of reload with removal of all items ids.
|
||||
{
|
||||
LIST_OLY_RESTRICTED_ITEMS.clear();
|
||||
}
|
||||
ALT_OLY_ENCHANT_LIMIT = Olympiad.getInt("AltOlyEnchantLimit", -1);
|
||||
ALT_OLY_WAIT_TIME = Olympiad.getInt("AltOlyWaitTime", 60);
|
||||
|
@ -111,8 +111,8 @@ AltOlyAnnounceGames = True
|
||||
|
||||
# Restrict specified items in Olympiad. ItemID's need to be separated with a comma (ex. 1,200,350)
|
||||
# Equipped items will be moved to inventory during port.
|
||||
# Default: 6611,6612,6613,6614,6615,6616,6617,6618,6619,6620,6621,9388,9389,9390,17049,17050,17051,17052,17053,17054,17055,17056,17057,17058,17059,17060,17061,20759,20775,20776,20777,20778,14774
|
||||
AltOlyRestrictedItems = 6611,6612,6613,6614,6615,6616,6617,6618,6619,6620,6621,9388,9389,9390,17049,17050,17051,17052,17053,17054,17055,17056,17057,17058,17059,17060,17061,20759,20775,20776,20777,20778,14774
|
||||
# Default:
|
||||
AltOlyRestrictedItems =
|
||||
|
||||
# Enchant limit for items during Olympiad battles. Disabled = -1.
|
||||
# Default: -1
|
||||
|
@ -538,7 +538,7 @@ public class Config
|
||||
public static boolean ALT_OLY_LOG_FIGHTS;
|
||||
public static boolean ALT_OLY_SHOW_MONTHLY_WINNERS;
|
||||
public static boolean ALT_OLY_ANNOUNCE_GAMES;
|
||||
public static List<Integer> LIST_OLY_RESTRICTED_ITEMS;
|
||||
public static List<Integer> LIST_OLY_RESTRICTED_ITEMS = new ArrayList<>();
|
||||
public static int ALT_OLY_ENCHANT_LIMIT;
|
||||
public static int ALT_OLY_WAIT_TIME;
|
||||
public static String ALT_OLY_PERIOD;
|
||||
@ -2276,11 +2276,19 @@ public class Config
|
||||
ALT_OLY_LOG_FIGHTS = Olympiad.getBoolean("AltOlyLogFights", false);
|
||||
ALT_OLY_SHOW_MONTHLY_WINNERS = Olympiad.getBoolean("AltOlyShowMonthlyWinners", true);
|
||||
ALT_OLY_ANNOUNCE_GAMES = Olympiad.getBoolean("AltOlyAnnounceGames", true);
|
||||
final String[] olyRestrictedItems = Olympiad.getString("AltOlyRestrictedItems", "6611,6612,6613,6614,6615,6616,6617,6618,6619,6620,6621,9388,9389,9390,17049,17050,17051,17052,17053,17054,17055,17056,17057,17058,17059,17060,17061,20759,20775,20776,20777,20778,14774").split(",");
|
||||
LIST_OLY_RESTRICTED_ITEMS = new ArrayList<>(olyRestrictedItems.length);
|
||||
for (String id : olyRestrictedItems)
|
||||
final String olyRestrictedItems = Olympiad.getString("AltOlyRestrictedItems", "").trim();
|
||||
if (!olyRestrictedItems.isEmpty())
|
||||
{
|
||||
LIST_OLY_RESTRICTED_ITEMS.add(Integer.parseInt(id));
|
||||
final String[] olyRestrictedItemsSplit = olyRestrictedItems.split(",");
|
||||
LIST_OLY_RESTRICTED_ITEMS = new ArrayList<>(olyRestrictedItemsSplit.length);
|
||||
for (String id : olyRestrictedItemsSplit)
|
||||
{
|
||||
LIST_OLY_RESTRICTED_ITEMS.add(Integer.parseInt(id));
|
||||
}
|
||||
}
|
||||
else // In case of reload with removal of all items ids.
|
||||
{
|
||||
LIST_OLY_RESTRICTED_ITEMS.clear();
|
||||
}
|
||||
ALT_OLY_ENCHANT_LIMIT = Olympiad.getInt("AltOlyEnchantLimit", -1);
|
||||
ALT_OLY_WAIT_TIME = Olympiad.getInt("AltOlyWaitTime", 60);
|
||||
|
@ -111,8 +111,8 @@ AltOlyAnnounceGames = True
|
||||
|
||||
# Restrict specified items in Olympiad. ItemID's need to be separated with a comma (ex. 1,200,350)
|
||||
# Equipped items will be moved to inventory during port.
|
||||
# Default: 6611,6612,6613,6614,6615,6616,6617,6618,6619,6620,6621,9388,9389,9390,17049,17050,17051,17052,17053,17054,17055,17056,17057,17058,17059,17060,17061,20759,20775,20776,20777,20778,14774
|
||||
AltOlyRestrictedItems = 6611,6612,6613,6614,6615,6616,6617,6618,6619,6620,6621,9388,9389,9390,17049,17050,17051,17052,17053,17054,17055,17056,17057,17058,17059,17060,17061,20759,20775,20776,20777,20778,14774
|
||||
# Default:
|
||||
AltOlyRestrictedItems =
|
||||
|
||||
# Enchant limit for items during Olympiad battles. Disabled = -1.
|
||||
# Default: -1
|
||||
|
@ -538,7 +538,7 @@ public class Config
|
||||
public static boolean ALT_OLY_LOG_FIGHTS;
|
||||
public static boolean ALT_OLY_SHOW_MONTHLY_WINNERS;
|
||||
public static boolean ALT_OLY_ANNOUNCE_GAMES;
|
||||
public static List<Integer> LIST_OLY_RESTRICTED_ITEMS;
|
||||
public static List<Integer> LIST_OLY_RESTRICTED_ITEMS = new ArrayList<>();
|
||||
public static int ALT_OLY_ENCHANT_LIMIT;
|
||||
public static int ALT_OLY_WAIT_TIME;
|
||||
public static String ALT_OLY_PERIOD;
|
||||
@ -2276,11 +2276,19 @@ public class Config
|
||||
ALT_OLY_LOG_FIGHTS = Olympiad.getBoolean("AltOlyLogFights", false);
|
||||
ALT_OLY_SHOW_MONTHLY_WINNERS = Olympiad.getBoolean("AltOlyShowMonthlyWinners", true);
|
||||
ALT_OLY_ANNOUNCE_GAMES = Olympiad.getBoolean("AltOlyAnnounceGames", true);
|
||||
final String[] olyRestrictedItems = Olympiad.getString("AltOlyRestrictedItems", "6611,6612,6613,6614,6615,6616,6617,6618,6619,6620,6621,9388,9389,9390,17049,17050,17051,17052,17053,17054,17055,17056,17057,17058,17059,17060,17061,20759,20775,20776,20777,20778,14774").split(",");
|
||||
LIST_OLY_RESTRICTED_ITEMS = new ArrayList<>(olyRestrictedItems.length);
|
||||
for (String id : olyRestrictedItems)
|
||||
final String olyRestrictedItems = Olympiad.getString("AltOlyRestrictedItems", "").trim();
|
||||
if (!olyRestrictedItems.isEmpty())
|
||||
{
|
||||
LIST_OLY_RESTRICTED_ITEMS.add(Integer.parseInt(id));
|
||||
final String[] olyRestrictedItemsSplit = olyRestrictedItems.split(",");
|
||||
LIST_OLY_RESTRICTED_ITEMS = new ArrayList<>(olyRestrictedItemsSplit.length);
|
||||
for (String id : olyRestrictedItemsSplit)
|
||||
{
|
||||
LIST_OLY_RESTRICTED_ITEMS.add(Integer.parseInt(id));
|
||||
}
|
||||
}
|
||||
else // In case of reload with removal of all items ids.
|
||||
{
|
||||
LIST_OLY_RESTRICTED_ITEMS.clear();
|
||||
}
|
||||
ALT_OLY_ENCHANT_LIMIT = Olympiad.getInt("AltOlyEnchantLimit", -1);
|
||||
ALT_OLY_WAIT_TIME = Olympiad.getInt("AltOlyWaitTime", 60);
|
||||
|
@ -111,8 +111,8 @@ AltOlyAnnounceGames = True
|
||||
|
||||
# Restrict specified items in Olympiad. ItemID's need to be separated with a comma (ex. 1,200,350)
|
||||
# Equipped items will be moved to inventory during port.
|
||||
# Default: 6611,6612,6613,6614,6615,6616,6617,6618,6619,6620,6621,9388,9389,9390,17049,17050,17051,17052,17053,17054,17055,17056,17057,17058,17059,17060,17061,20759,20775,20776,20777,20778,14774
|
||||
AltOlyRestrictedItems = 6611,6612,6613,6614,6615,6616,6617,6618,6619,6620,6621,9388,9389,9390,17049,17050,17051,17052,17053,17054,17055,17056,17057,17058,17059,17060,17061,20759,20775,20776,20777,20778,14774
|
||||
# Default:
|
||||
AltOlyRestrictedItems =
|
||||
|
||||
# Enchant limit for items during Olympiad battles. Disabled = -1.
|
||||
# Default: -1
|
||||
|
@ -538,7 +538,7 @@ public class Config
|
||||
public static boolean ALT_OLY_LOG_FIGHTS;
|
||||
public static boolean ALT_OLY_SHOW_MONTHLY_WINNERS;
|
||||
public static boolean ALT_OLY_ANNOUNCE_GAMES;
|
||||
public static List<Integer> LIST_OLY_RESTRICTED_ITEMS;
|
||||
public static List<Integer> LIST_OLY_RESTRICTED_ITEMS = new ArrayList<>();
|
||||
public static int ALT_OLY_ENCHANT_LIMIT;
|
||||
public static int ALT_OLY_WAIT_TIME;
|
||||
public static String ALT_OLY_PERIOD;
|
||||
@ -2276,11 +2276,19 @@ public class Config
|
||||
ALT_OLY_LOG_FIGHTS = Olympiad.getBoolean("AltOlyLogFights", false);
|
||||
ALT_OLY_SHOW_MONTHLY_WINNERS = Olympiad.getBoolean("AltOlyShowMonthlyWinners", true);
|
||||
ALT_OLY_ANNOUNCE_GAMES = Olympiad.getBoolean("AltOlyAnnounceGames", true);
|
||||
final String[] olyRestrictedItems = Olympiad.getString("AltOlyRestrictedItems", "6611,6612,6613,6614,6615,6616,6617,6618,6619,6620,6621,9388,9389,9390,17049,17050,17051,17052,17053,17054,17055,17056,17057,17058,17059,17060,17061,20759,20775,20776,20777,20778,14774").split(",");
|
||||
LIST_OLY_RESTRICTED_ITEMS = new ArrayList<>(olyRestrictedItems.length);
|
||||
for (String id : olyRestrictedItems)
|
||||
final String olyRestrictedItems = Olympiad.getString("AltOlyRestrictedItems", "").trim();
|
||||
if (!olyRestrictedItems.isEmpty())
|
||||
{
|
||||
LIST_OLY_RESTRICTED_ITEMS.add(Integer.parseInt(id));
|
||||
final String[] olyRestrictedItemsSplit = olyRestrictedItems.split(",");
|
||||
LIST_OLY_RESTRICTED_ITEMS = new ArrayList<>(olyRestrictedItemsSplit.length);
|
||||
for (String id : olyRestrictedItemsSplit)
|
||||
{
|
||||
LIST_OLY_RESTRICTED_ITEMS.add(Integer.parseInt(id));
|
||||
}
|
||||
}
|
||||
else // In case of reload with removal of all items ids.
|
||||
{
|
||||
LIST_OLY_RESTRICTED_ITEMS.clear();
|
||||
}
|
||||
ALT_OLY_ENCHANT_LIMIT = Olympiad.getInt("AltOlyEnchantLimit", -1);
|
||||
ALT_OLY_WAIT_TIME = Olympiad.getInt("AltOlyWaitTime", 60);
|
||||
|
@ -111,8 +111,8 @@ AltOlyAnnounceGames = True
|
||||
|
||||
# Restrict specified items in Olympiad. ItemID's need to be separated with a comma (ex. 1,200,350)
|
||||
# Equipped items will be moved to inventory during port.
|
||||
# Default: 6611,6612,6613,6614,6615,6616,6617,6618,6619,6620,6621,9388,9389,9390,17049,17050,17051,17052,17053,17054,17055,17056,17057,17058,17059,17060,17061,20759,20775,20776,20777,20778,14774
|
||||
AltOlyRestrictedItems = 6611,6612,6613,6614,6615,6616,6617,6618,6619,6620,6621,9388,9389,9390,17049,17050,17051,17052,17053,17054,17055,17056,17057,17058,17059,17060,17061,20759,20775,20776,20777,20778,14774
|
||||
# Default:
|
||||
AltOlyRestrictedItems =
|
||||
|
||||
# Enchant limit for items during Olympiad battles. Disabled = -1.
|
||||
# Default: -1
|
||||
|
@ -538,7 +538,7 @@ public class Config
|
||||
public static boolean ALT_OLY_LOG_FIGHTS;
|
||||
public static boolean ALT_OLY_SHOW_MONTHLY_WINNERS;
|
||||
public static boolean ALT_OLY_ANNOUNCE_GAMES;
|
||||
public static List<Integer> LIST_OLY_RESTRICTED_ITEMS;
|
||||
public static List<Integer> LIST_OLY_RESTRICTED_ITEMS = new ArrayList<>();
|
||||
public static int ALT_OLY_ENCHANT_LIMIT;
|
||||
public static int ALT_OLY_WAIT_TIME;
|
||||
public static String ALT_OLY_PERIOD;
|
||||
@ -2276,11 +2276,19 @@ public class Config
|
||||
ALT_OLY_LOG_FIGHTS = Olympiad.getBoolean("AltOlyLogFights", false);
|
||||
ALT_OLY_SHOW_MONTHLY_WINNERS = Olympiad.getBoolean("AltOlyShowMonthlyWinners", true);
|
||||
ALT_OLY_ANNOUNCE_GAMES = Olympiad.getBoolean("AltOlyAnnounceGames", true);
|
||||
final String[] olyRestrictedItems = Olympiad.getString("AltOlyRestrictedItems", "6611,6612,6613,6614,6615,6616,6617,6618,6619,6620,6621,9388,9389,9390,17049,17050,17051,17052,17053,17054,17055,17056,17057,17058,17059,17060,17061,20759,20775,20776,20777,20778,14774").split(",");
|
||||
LIST_OLY_RESTRICTED_ITEMS = new ArrayList<>(olyRestrictedItems.length);
|
||||
for (String id : olyRestrictedItems)
|
||||
final String olyRestrictedItems = Olympiad.getString("AltOlyRestrictedItems", "").trim();
|
||||
if (!olyRestrictedItems.isEmpty())
|
||||
{
|
||||
LIST_OLY_RESTRICTED_ITEMS.add(Integer.parseInt(id));
|
||||
final String[] olyRestrictedItemsSplit = olyRestrictedItems.split(",");
|
||||
LIST_OLY_RESTRICTED_ITEMS = new ArrayList<>(olyRestrictedItemsSplit.length);
|
||||
for (String id : olyRestrictedItemsSplit)
|
||||
{
|
||||
LIST_OLY_RESTRICTED_ITEMS.add(Integer.parseInt(id));
|
||||
}
|
||||
}
|
||||
else // In case of reload with removal of all items ids.
|
||||
{
|
||||
LIST_OLY_RESTRICTED_ITEMS.clear();
|
||||
}
|
||||
ALT_OLY_ENCHANT_LIMIT = Olympiad.getInt("AltOlyEnchantLimit", -1);
|
||||
ALT_OLY_WAIT_TIME = Olympiad.getInt("AltOlyWaitTime", 60);
|
||||
|
@ -111,8 +111,8 @@ AltOlyAnnounceGames = True
|
||||
|
||||
# Restrict specified items in Olympiad. ItemID's need to be separated with a comma (ex. 1,200,350)
|
||||
# Equipped items will be moved to inventory during port.
|
||||
# Default: 6611,6612,6613,6614,6615,6616,6617,6618,6619,6620,6621,9388,9389,9390,17049,17050,17051,17052,17053,17054,17055,17056,17057,17058,17059,17060,17061,20759,20775,20776,20777,20778,14774
|
||||
AltOlyRestrictedItems = 6611,6612,6613,6614,6615,6616,6617,6618,6619,6620,6621,9388,9389,9390,17049,17050,17051,17052,17053,17054,17055,17056,17057,17058,17059,17060,17061,20759,20775,20776,20777,20778,14774
|
||||
# Default:
|
||||
AltOlyRestrictedItems =
|
||||
|
||||
# Enchant limit for items during Olympiad battles. Disabled = -1.
|
||||
# Default: -1
|
||||
|
@ -537,7 +537,7 @@ public class Config
|
||||
public static boolean ALT_OLY_LOG_FIGHTS;
|
||||
public static boolean ALT_OLY_SHOW_MONTHLY_WINNERS;
|
||||
public static boolean ALT_OLY_ANNOUNCE_GAMES;
|
||||
public static List<Integer> LIST_OLY_RESTRICTED_ITEMS;
|
||||
public static List<Integer> LIST_OLY_RESTRICTED_ITEMS = new ArrayList<>();
|
||||
public static int ALT_OLY_ENCHANT_LIMIT;
|
||||
public static int ALT_OLY_WAIT_TIME;
|
||||
public static String ALT_OLY_PERIOD;
|
||||
@ -2274,11 +2274,19 @@ public class Config
|
||||
ALT_OLY_LOG_FIGHTS = Olympiad.getBoolean("AltOlyLogFights", false);
|
||||
ALT_OLY_SHOW_MONTHLY_WINNERS = Olympiad.getBoolean("AltOlyShowMonthlyWinners", true);
|
||||
ALT_OLY_ANNOUNCE_GAMES = Olympiad.getBoolean("AltOlyAnnounceGames", true);
|
||||
final String[] olyRestrictedItems = Olympiad.getString("AltOlyRestrictedItems", "6611,6612,6613,6614,6615,6616,6617,6618,6619,6620,6621,9388,9389,9390,17049,17050,17051,17052,17053,17054,17055,17056,17057,17058,17059,17060,17061,20759,20775,20776,20777,20778,14774").split(",");
|
||||
LIST_OLY_RESTRICTED_ITEMS = new ArrayList<>(olyRestrictedItems.length);
|
||||
for (String id : olyRestrictedItems)
|
||||
final String olyRestrictedItems = Olympiad.getString("AltOlyRestrictedItems", "").trim();
|
||||
if (!olyRestrictedItems.isEmpty())
|
||||
{
|
||||
LIST_OLY_RESTRICTED_ITEMS.add(Integer.parseInt(id));
|
||||
final String[] olyRestrictedItemsSplit = olyRestrictedItems.split(",");
|
||||
LIST_OLY_RESTRICTED_ITEMS = new ArrayList<>(olyRestrictedItemsSplit.length);
|
||||
for (String id : olyRestrictedItemsSplit)
|
||||
{
|
||||
LIST_OLY_RESTRICTED_ITEMS.add(Integer.parseInt(id));
|
||||
}
|
||||
}
|
||||
else // In case of reload with removal of all items ids.
|
||||
{
|
||||
LIST_OLY_RESTRICTED_ITEMS.clear();
|
||||
}
|
||||
ALT_OLY_ENCHANT_LIMIT = Olympiad.getInt("AltOlyEnchantLimit", -1);
|
||||
ALT_OLY_WAIT_TIME = Olympiad.getInt("AltOlyWaitTime", 60);
|
||||
|
@ -111,8 +111,8 @@ AltOlyAnnounceGames = True
|
||||
|
||||
# Restrict specified items in Olympiad. ItemID's need to be separated with a comma (ex. 1,200,350)
|
||||
# Equipped items will be moved to inventory during port.
|
||||
# Default: 6611,6612,6613,6614,6615,6616,6617,6618,6619,6620,6621,9388,9389,9390,17049,17050,17051,17052,17053,17054,17055,17056,17057,17058,17059,17060,17061,20759,20775,20776,20777,20778,14774
|
||||
AltOlyRestrictedItems = 6611,6612,6613,6614,6615,6616,6617,6618,6619,6620,6621,9388,9389,9390,17049,17050,17051,17052,17053,17054,17055,17056,17057,17058,17059,17060,17061,20759,20775,20776,20777,20778,14774
|
||||
# Default:
|
||||
AltOlyRestrictedItems =
|
||||
|
||||
# Enchant limit for items during Olympiad battles. Disabled = -1.
|
||||
# Default: -1
|
||||
|
@ -540,7 +540,7 @@ public class Config
|
||||
public static boolean ALT_OLY_LOG_FIGHTS;
|
||||
public static boolean ALT_OLY_SHOW_MONTHLY_WINNERS;
|
||||
public static boolean ALT_OLY_ANNOUNCE_GAMES;
|
||||
public static List<Integer> LIST_OLY_RESTRICTED_ITEMS;
|
||||
public static List<Integer> LIST_OLY_RESTRICTED_ITEMS = new ArrayList<>();
|
||||
public static int ALT_OLY_ENCHANT_LIMIT;
|
||||
public static int ALT_OLY_WAIT_TIME;
|
||||
public static String ALT_OLY_PERIOD;
|
||||
@ -2284,11 +2284,19 @@ public class Config
|
||||
ALT_OLY_LOG_FIGHTS = Olympiad.getBoolean("AltOlyLogFights", false);
|
||||
ALT_OLY_SHOW_MONTHLY_WINNERS = Olympiad.getBoolean("AltOlyShowMonthlyWinners", true);
|
||||
ALT_OLY_ANNOUNCE_GAMES = Olympiad.getBoolean("AltOlyAnnounceGames", true);
|
||||
final String[] olyRestrictedItems = Olympiad.getString("AltOlyRestrictedItems", "6611,6612,6613,6614,6615,6616,6617,6618,6619,6620,6621,9388,9389,9390,17049,17050,17051,17052,17053,17054,17055,17056,17057,17058,17059,17060,17061,20759,20775,20776,20777,20778,14774").split(",");
|
||||
LIST_OLY_RESTRICTED_ITEMS = new ArrayList<>(olyRestrictedItems.length);
|
||||
for (String id : olyRestrictedItems)
|
||||
final String olyRestrictedItems = Olympiad.getString("AltOlyRestrictedItems", "").trim();
|
||||
if (!olyRestrictedItems.isEmpty())
|
||||
{
|
||||
LIST_OLY_RESTRICTED_ITEMS.add(Integer.parseInt(id));
|
||||
final String[] olyRestrictedItemsSplit = olyRestrictedItems.split(",");
|
||||
LIST_OLY_RESTRICTED_ITEMS = new ArrayList<>(olyRestrictedItemsSplit.length);
|
||||
for (String id : olyRestrictedItemsSplit)
|
||||
{
|
||||
LIST_OLY_RESTRICTED_ITEMS.add(Integer.parseInt(id));
|
||||
}
|
||||
}
|
||||
else // In case of reload with removal of all items ids.
|
||||
{
|
||||
LIST_OLY_RESTRICTED_ITEMS.clear();
|
||||
}
|
||||
ALT_OLY_ENCHANT_LIMIT = Olympiad.getInt("AltOlyEnchantLimit", -1);
|
||||
ALT_OLY_WAIT_TIME = Olympiad.getInt("AltOlyWaitTime", 60);
|
||||
|
Loading…
Reference in New Issue
Block a user