13
0
Signed-off-by: yaruma3341 <yaruma3341@gmail.com>
Dieser Commit ist enthalten in:
Yaruma3341 2019-07-09 23:04:46 +02:00 committet von yaruma3341
Ursprung 676a72f38b
Commit b8306227f6
4 geänderte Dateien mit 79 neuen und 86 gelöschten Zeilen

Datei anzeigen

@ -3,31 +3,39 @@ Schematics:
Breite: Breite:
Höhe: Höhe:
Tiefe: Tiefe:
Obsidian: TNT:
Bedrock: Schleim:
TNTSchleim:
Dispenser:
ForbiddenIds: ForbiddenIds:
CheckList: CheckList:
MiniWarGear: MiniWarGear:
Breite: Breite:
Höhe: Höhe:
Tiefe: Tiefe:
Obsidian: TNT:
Bedrock: Schleim:
TNTSchleim:
Dispenser:
ForbiddenIds: ForbiddenIds:
CheckList: CheckList:
WarShip: WarShip:
Breite: Breite:
Höhe: Höhe:
Tiefe: Tiefe:
Obsidian: TNT:
Bedrock: Schleim:
TNTSchleim:
Dispenser:
ForbiddenIds: ForbiddenIds:
CheckList: CheckList:
AirShip: AirShip:
Breite: Breite:
Höhe: Höhe:
Tiefe: Tiefe:
Obsidian: TNT:
Bedrock: Schleim:
TNTSchleim:
Dispenser:
ForbiddenIds: ForbiddenIds:
CheckList: CheckList:

Datei anzeigen

@ -36,14 +36,14 @@ public class CheckUtils {
return true; return true;
} }
public static Checkresult checkSchematic(Clipboard clipboard, List<Integer> forbiddenBlocks, boolean obsidianToTnt, boolean slimeToBedrock, String modus) { public static Checkresult checkSchematic(Clipboard clipboard, List<Integer> forbiddenBlocks, String modus) {
Region region = clipboard.getRegion(); Region region = clipboard.getRegion();
Vector min = region.getMinimumPoint(); Vector min = region.getMinimumPoint();
Vector max = region.getMaximumPoint(); Vector max = region.getMaximumPoint();
int obsidian = 0; int tnt = 0;
int bedrock = 0; int slime = 0;
int dispenser = 0; int dispenser = 0;
for (int x = min.getBlockX(); x <= max.getBlockX(); x++) { for (int x = min.getBlockX(); x <= max.getBlockX(); x++) {
@ -51,31 +51,16 @@ public class CheckUtils {
for (int z = min.getBlockZ(); z <= max.getBlockZ(); z++) { for (int z = min.getBlockZ(); z <= max.getBlockZ(); z++) {
Vector vector = new Vector(x, y, z); Vector vector = new Vector(x, y, z);
//obsidian check //tnt check
if(obsidianToTnt) { if(clipboard.getBlock(vector).getId() == 46)
if(clipboard.getBlock(vector).getId() == 46) { tnt++;
Checkresult checkresult = new Checkresult(false, "TNT verbaut");
return checkresult; //slime check
}
if(clipboard.getBlock(vector).getId() == 49)
obsidian++;
}
//bedrock check
if(clipboard.getBlock(vector).getId() == 165) { if(clipboard.getBlock(vector).getId() == 165) {
if(slimeToBedrock) { if(!modus.equals("WarGear") && !modus.equals("MiniWarGear"))
Checkresult checkresult = new Checkresult(false, "SCHLEIM verbaut"); slime++;
return checkresult;
}
} }
if(clipboard.getBlock(vector).getId() == 7) {
if(!modus.equals("WarGear") && !modus.equals("MiniWarGear"))
bedrock++;
else {
Checkresult checkresult = new Checkresult(false, "BEDROCK verbaut");
return checkresult;
}
}
//dispenser check //dispenser check
if(clipboard.getBlock(vector).getId() == 23) if(clipboard.getBlock(vector).getId() == 23)
dispenser++; dispenser++;
@ -89,76 +74,76 @@ public class CheckUtils {
} }
} }
int obsidianBedrock = obsidian + bedrock; int tntSlime = tnt + slime;
if(modus.equalsIgnoreCase("WarGear")) { if(modus.equalsIgnoreCase("WarGear")) {
if(Config.WarGearMaxObsidian < obsidian) { if(Config.WarGearMaxTNT < tnt) {
Checkresult checkresult = new Checkresult(false, "zu viel OBSIDIAN"); Checkresult checkresult = new Checkresult(false, "zu viel TNT");
return checkresult; return checkresult;
} }
if(Config.WarGearMaxBedrock < bedrock) { if(Config.WarGearMaxSchleim < slime) {
Checkresult checkresult = new Checkresult(false, "zu viel BEDROCK"); Checkresult checkresult = new Checkresult(false, "zu viel SCHLEIM");
return checkresult; return checkresult;
} }
if(Config.WarGearMaxDispenser < dispenser) { if(Config.WarGearMaxDispenser < dispenser) {
Checkresult checkresult = new Checkresult(false, "zu viele DISPENSER"); Checkresult checkresult = new Checkresult(false, "zu viele DISPENSER");
return checkresult; return checkresult;
} }
if(Config.WarGearObsidianBedrock < obsidianBedrock) { if(Config.WarGearTNTSchleim < tntSlime) {
Checkresult checkresult = new Checkresult(false, "OBSIDIAN und TNT Summe überschritten"); Checkresult checkresult = new Checkresult(false, "TNT und SCHLEIM Summe überschritten");
return checkresult; return checkresult;
} }
} }
if(modus.equalsIgnoreCase("MiniWarGear")) { if(modus.equalsIgnoreCase("MiniWarGear")) {
if(Config.MiniWarGearMaxObsidian < obsidian) { if(Config.MiniWarGearMaxTNT < tnt) {
Checkresult checkresult = new Checkresult(false, "zu viel OBSIDIAN"); Checkresult checkresult = new Checkresult(false, "zu viel TNT");
return checkresult; return checkresult;
} }
if(Config.MiniWarGearMaxBedrock < bedrock) { if(Config.MiniWarGearMaxSchleim < slime) {
Checkresult checkresult = new Checkresult(false, "zu viel BEDROCK"); Checkresult checkresult = new Checkresult(false, "zu viel SCHLEIM");
return checkresult; return checkresult;
} }
if(Config.MiniWarGearMaxDispenser < dispenser) { if(Config.MiniWarGearMaxDispenser < dispenser) {
Checkresult checkresult = new Checkresult(false, "zu viele DISPENSER"); Checkresult checkresult = new Checkresult(false, "zu viele DISPENSER");
return checkresult; return checkresult;
} }
if(Config.MiniWarGearObsidianBedrock < obsidianBedrock) { if(Config.MiniWarGearTNTSchleim < tntSlime) {
Checkresult checkresult = new Checkresult(false, "OBSIDIAN und TNT Summe überschritten"); Checkresult checkresult = new Checkresult(false, "TNT und SCHLEIM Summe überschritten");
return checkresult; return checkresult;
} }
} }
if(modus.equalsIgnoreCase("WarShip")) { if(modus.equalsIgnoreCase("WarShip")) {
if(Config.WarShipMaxObsidian < obsidian) { if(Config.WarShipMaxTNT < tnt) {
Checkresult checkresult = new Checkresult(false, "zu viel OBSIDIAN"); Checkresult checkresult = new Checkresult(false, "zu viel TNT");
return checkresult; return checkresult;
} }
if(Config.WarShipMaxBedrock < bedrock) { if(Config.WarShipMaxSchleim < slime) {
Checkresult checkresult = new Checkresult(false, "zu viel BEDROCK"); Checkresult checkresult = new Checkresult(false, "zu viel SCHLEIM");
return checkresult; return checkresult;
} }
if(Config.WarShipMaxDispenser < dispenser) { if(Config.WarShipMaxDispenser < dispenser) {
Checkresult checkresult = new Checkresult(false, "zu viele DISPENSER"); Checkresult checkresult = new Checkresult(false, "zu viele DISPENSER");
return checkresult; return checkresult;
} }
if(Config.WarShipObsidianBedrock < obsidianBedrock) { if(Config.WarShipTNTSchleim < tntSlime) {
Checkresult checkresult = new Checkresult(false, "OBSIDIAN und TNT Summe überschritten"); Checkresult checkresult = new Checkresult(false, "TNT und SCHLEIM Summe überschritten");
return checkresult; return checkresult;
} }
} }
if(modus.equalsIgnoreCase("AirShip")) { if(modus.equalsIgnoreCase("AirShip")) {
if(Config.AirShipMaxObsidian < obsidian) { if(Config.AirShipMaxTNT < tnt) {
Checkresult checkresult = new Checkresult(false, "zu viel OBSIDIAN"); Checkresult checkresult = new Checkresult(false, "zu viel TNT");
return checkresult; return checkresult;
} }
if(Config.AirShipMaxBedrock < bedrock) { if(Config.AirShipMaxSchleim < slime) {
Checkresult checkresult = new Checkresult(false, "zu viel BEDROCK"); Checkresult checkresult = new Checkresult(false, "zu viel SCHLEIM");
return checkresult; return checkresult;
} }
if(Config.AirShipMaxDispenser < dispenser) { if(Config.AirShipMaxDispenser < dispenser) {
Checkresult checkresult = new Checkresult(false, "zu viele DISPENSER"); Checkresult checkresult = new Checkresult(false, "zu viele DISPENSER");
return checkresult; return checkresult;
} }
if(Config.AirShipObsidianBedrock < obsidianBedrock) { if(Config.AirShipTNTSchleim < tntSlime) {
Checkresult checkresult = new Checkresult(false, "OBSIDIAN und TNT Summe überschritten"); Checkresult checkresult = new Checkresult(false, "TNT und SCHLEIM Summe überschritten");
return checkresult; return checkresult;
} }
} }

Datei anzeigen

@ -419,7 +419,7 @@ public class SchematicCommand implements CommandExecutor {
if(args[2].equalsIgnoreCase("airship")) { if(args[2].equalsIgnoreCase("airship")) {
if(dimensions.getBlockX() <= Config.AirShipBreite && dimensions.getBlockY() <= Config.AirShipHöhe && dimensions.getBlockZ() <= Config.AirShipTiefe) { if(dimensions.getBlockX() <= Config.AirShipBreite && dimensions.getBlockY() <= Config.AirShipHöhe && dimensions.getBlockZ() <= Config.AirShipTiefe) {
Checkresult checkresult = CheckUtils.checkSchematic(clipboard, Config.AirShipForbiddenIds, true, true, "AirShip"); Checkresult checkresult = CheckUtils.checkSchematic(clipboard, Config.AirShipForbiddenIds, "AirShip");
if(!checkresult.isCheck()) { if(!checkresult.isCheck()) {
player.sendMessage(SchematicSystem.PREFIX + "§cDein AirShip ist nicht regelkonform! §0[§c" + checkresult.getReason() + ((checkresult.getBlockID() != -1) ? ": " + checkresult.getBlockID() : "") + "§0]"); player.sendMessage(SchematicSystem.PREFIX + "§cDein AirShip ist nicht regelkonform! §0[§c" + checkresult.getReason() + ((checkresult.getBlockID() != -1) ? ": " + checkresult.getBlockID() : "") + "§0]");
checkresult.remove(); checkresult.remove();
@ -436,7 +436,7 @@ public class SchematicCommand implements CommandExecutor {
if(args[2].equalsIgnoreCase("miniwargear")) { if(args[2].equalsIgnoreCase("miniwargear")) {
if(dimensions.getBlockX() <= Config.MiniWarGearBreite && dimensions.getBlockY() <= Config.MiniWarGearHöhe && dimensions.getBlockZ() <= Config.MiniWarGearTiefe) { if(dimensions.getBlockX() <= Config.MiniWarGearBreite && dimensions.getBlockY() <= Config.MiniWarGearHöhe && dimensions.getBlockZ() <= Config.MiniWarGearTiefe) {
Checkresult checkresult = CheckUtils.checkSchematic(clipboard, Config.MiniWarGearForbiddenIds, true, false, "MiniWarGear"); Checkresult checkresult = CheckUtils.checkSchematic(clipboard, Config.MiniWarGearForbiddenIds, "MiniWarGear");
if(!checkresult.isCheck()) { if(!checkresult.isCheck()) {
player.sendMessage(SchematicSystem.PREFIX + "§cDein MiniWarGear ist nicht regelkonform! §0[§c" + checkresult.getReason() + ((checkresult.getBlockID() != -1) ? ": " + checkresult.getBlockID() : "") + "§0]"); player.sendMessage(SchematicSystem.PREFIX + "§cDein MiniWarGear ist nicht regelkonform! §0[§c" + checkresult.getReason() + ((checkresult.getBlockID() != -1) ? ": " + checkresult.getBlockID() : "") + "§0]");
checkresult.remove(); checkresult.remove();
@ -453,7 +453,7 @@ public class SchematicCommand implements CommandExecutor {
if(args[2].equalsIgnoreCase("wargear")) { if(args[2].equalsIgnoreCase("wargear")) {
if(dimensions.getBlockX() <= Config.WarGearBreite && dimensions.getBlockY() <= Config.WarGearHöhe && dimensions.getBlockZ() <= Config.WarGearTiefe) { if(dimensions.getBlockX() <= Config.WarGearBreite && dimensions.getBlockY() <= Config.WarGearHöhe && dimensions.getBlockZ() <= Config.WarGearTiefe) {
Checkresult checkresult = CheckUtils.checkSchematic(clipboard, Config.WarGearForbiddenIds, true, false, "WarGear"); Checkresult checkresult = CheckUtils.checkSchematic(clipboard, Config.WarGearForbiddenIds, "WarGear");
if(!checkresult.isCheck()) { if(!checkresult.isCheck()) {
player.sendMessage(SchematicSystem.PREFIX + "§cDein WarGear ist nicht regelkonform! §0[§c" + checkresult.getReason() + ((checkresult.getBlockID() != -1) ? ": " + checkresult.getBlockID() : "") + "§0]"); player.sendMessage(SchematicSystem.PREFIX + "§cDein WarGear ist nicht regelkonform! §0[§c" + checkresult.getReason() + ((checkresult.getBlockID() != -1) ? ": " + checkresult.getBlockID() : "") + "§0]");
checkresult.remove(); checkresult.remove();
@ -470,7 +470,7 @@ public class SchematicCommand implements CommandExecutor {
if(args[2].equalsIgnoreCase("warship")) { if(args[2].equalsIgnoreCase("warship")) {
if(dimensions.getBlockX() <= Config.WarShipBreite && dimensions.getBlockY() <= Config.WarShipHöhe && dimensions.getBlockZ() <= Config.WarShipTiefe) { if(dimensions.getBlockX() <= Config.WarShipBreite && dimensions.getBlockY() <= Config.WarShipHöhe && dimensions.getBlockZ() <= Config.WarShipTiefe) {
Checkresult checkresult = CheckUtils.checkSchematic(clipboard, Config.WarShipForbiddenIds, true, true, "WarShip"); Checkresult checkresult = CheckUtils.checkSchematic(clipboard, Config.WarShipForbiddenIds, "WarShip");
if(!checkresult.isCheck()) { if(!checkresult.isCheck()) {
player.sendMessage(SchematicSystem.PREFIX + "§cDein WarShip ist nicht regelkonform! §0[§c" + checkresult.getReason() + ((checkresult.getBlockID() != -1) ? ": " + checkresult.getBlockID() : "") + "§0]"); player.sendMessage(SchematicSystem.PREFIX + "§cDein WarShip ist nicht regelkonform! §0[§c" + checkresult.getReason() + ((checkresult.getBlockID() != -1) ? ": " + checkresult.getBlockID() : "") + "§0]");
checkresult.remove(); checkresult.remove();

Datei anzeigen

@ -12,9 +12,9 @@ public class Config {
public static double WarGearBreite; public static double WarGearBreite;
public static double WarGearHöhe; public static double WarGearHöhe;
public static double WarGearTiefe; public static double WarGearTiefe;
public static int WarGearMaxObsidian; public static int WarGearMaxTNT;
public static int WarGearMaxBedrock; public static int WarGearMaxSchleim;
public static int WarGearObsidianBedrock; public static int WarGearTNTSchleim;
public static int WarGearMaxDispenser; public static int WarGearMaxDispenser;
public static List<Integer> WarGearForbiddenIds; public static List<Integer> WarGearForbiddenIds;
public static List<String> WarGearCheckList; public static List<String> WarGearCheckList;
@ -22,9 +22,9 @@ public class Config {
public static double MiniWarGearBreite; public static double MiniWarGearBreite;
public static double MiniWarGearHöhe; public static double MiniWarGearHöhe;
public static double MiniWarGearTiefe; public static double MiniWarGearTiefe;
public static int MiniWarGearMaxObsidian; public static int MiniWarGearMaxTNT;
public static int MiniWarGearMaxBedrock; public static int MiniWarGearMaxSchleim;
public static int MiniWarGearObsidianBedrock; public static int MiniWarGearTNTSchleim;
public static int MiniWarGearMaxDispenser; public static int MiniWarGearMaxDispenser;
public static List<Integer> MiniWarGearForbiddenIds; public static List<Integer> MiniWarGearForbiddenIds;
public static List<String> MiniWarGearCheckList; public static List<String> MiniWarGearCheckList;
@ -32,9 +32,9 @@ public class Config {
public static double WarShipBreite; public static double WarShipBreite;
public static double WarShipHöhe; public static double WarShipHöhe;
public static double WarShipTiefe; public static double WarShipTiefe;
public static int WarShipMaxObsidian; public static int WarShipMaxTNT;
public static int WarShipMaxBedrock; public static int WarShipMaxSchleim;
public static int WarShipObsidianBedrock; public static int WarShipTNTSchleim;
public static int WarShipMaxDispenser; public static int WarShipMaxDispenser;
public static List<Integer> WarShipForbiddenIds; public static List<Integer> WarShipForbiddenIds;
public static List<String> WarShipCheckList; public static List<String> WarShipCheckList;
@ -42,9 +42,9 @@ public class Config {
public static double AirShipBreite; public static double AirShipBreite;
public static double AirShipHöhe; public static double AirShipHöhe;
public static double AirShipTiefe; public static double AirShipTiefe;
public static int AirShipMaxObsidian; public static int AirShipMaxTNT;
public static int AirShipMaxBedrock; public static int AirShipMaxSchleim;
public static int AirShipObsidianBedrock; public static int AirShipTNTSchleim;
public static int AirShipMaxDispenser; public static int AirShipMaxDispenser;
public static List<Integer> AirShipForbiddenIds; public static List<Integer> AirShipForbiddenIds;
public static List<String> AirShipCheckList; public static List<String> AirShipCheckList;
@ -60,9 +60,9 @@ public class Config {
WarGearBreite = config.getDouble("Schematics.WarGear.Breite"); WarGearBreite = config.getDouble("Schematics.WarGear.Breite");
WarGearHöhe = config.getDouble("Schematics.WarGear.Höhe"); WarGearHöhe = config.getDouble("Schematics.WarGear.Höhe");
WarGearTiefe = config.getDouble("Schematics.WarGear.Tiefe"); WarGearTiefe = config.getDouble("Schematics.WarGear.Tiefe");
WarGearMaxObsidian = config.getInt("Schematics.WarGear.Obsidian"); WarGearMaxTNT = config.getInt("Schematics.WarGear.TNT");
WarGearMaxBedrock = config.getInt("Schematics.WarGear.Bedrock"); WarGearMaxSchleim = config.getInt("Schematics.WarGear.Schleim");
WarGearObsidianBedrock = config.getInt("Schematics.WarGear.ObsidianBedrock"); WarGearTNTSchleim = config.getInt("Schematics.WarGear.TNTSchleim");
WarGearMaxDispenser = config.getInt("Schematics.WarGear.Dispenser"); WarGearMaxDispenser = config.getInt("Schematics.WarGear.Dispenser");
WarGearForbiddenIds = config.getIntegerList("Schematics.WarGear.ForbiddenIds"); WarGearForbiddenIds = config.getIntegerList("Schematics.WarGear.ForbiddenIds");
WarGearCheckList = config.getStringList("Schematics.WarGear.CheckList"); WarGearCheckList = config.getStringList("Schematics.WarGear.CheckList");
@ -70,9 +70,9 @@ public class Config {
MiniWarGearBreite = config.getDouble("Schematics.MiniWarGear.Breite"); MiniWarGearBreite = config.getDouble("Schematics.MiniWarGear.Breite");
MiniWarGearHöhe = config.getDouble("Schematics.MiniWarGear.Höhe"); MiniWarGearHöhe = config.getDouble("Schematics.MiniWarGear.Höhe");
MiniWarGearTiefe = config.getDouble("Schematics.MiniWarGear.Tiefe"); MiniWarGearTiefe = config.getDouble("Schematics.MiniWarGear.Tiefe");
MiniWarGearMaxObsidian = config.getInt("Schematics.MiniWarGear.Obsidian"); MiniWarGearMaxTNT = config.getInt("Schematics.MiniWarGear.TNT");
MiniWarGearMaxBedrock = config.getInt("Schematics.MiniWarGear.Bedrock"); MiniWarGearMaxSchleim = config.getInt("Schematics.MiniWarGear.Schleim");
MiniWarGearObsidianBedrock = config.getInt("Schematics.MiniWarGear.ObsidianBedrock"); MiniWarGearTNTSchleim = config.getInt("Schematics.MiniWarGear.TNTSchleim");
MiniWarGearMaxDispenser = config.getInt("Schematics.MiniWarGear.Dispenser"); MiniWarGearMaxDispenser = config.getInt("Schematics.MiniWarGear.Dispenser");
MiniWarGearForbiddenIds = config.getIntegerList("Schematics.MiniWarGear.ForbiddenIds"); MiniWarGearForbiddenIds = config.getIntegerList("Schematics.MiniWarGear.ForbiddenIds");
MiniWarGearCheckList = config.getStringList("Schematics.MiniWarGear.CheckList"); MiniWarGearCheckList = config.getStringList("Schematics.MiniWarGear.CheckList");
@ -80,9 +80,9 @@ public class Config {
WarShipBreite = config.getDouble("Schematics.WarShip.Breite"); WarShipBreite = config.getDouble("Schematics.WarShip.Breite");
WarShipHöhe = config.getDouble("Schematics.WarShip.Höhe"); WarShipHöhe = config.getDouble("Schematics.WarShip.Höhe");
WarShipTiefe = config.getDouble("Schematics.WarShip.Tiefe"); WarShipTiefe = config.getDouble("Schematics.WarShip.Tiefe");
WarShipMaxObsidian = config.getInt("Schematics.WarShip.Obsidian"); WarShipMaxTNT = config.getInt("Schematics.WarShip.TNT");
WarShipMaxBedrock = config.getInt("Schematics.WarShip.Bedrock"); WarShipMaxSchleim = config.getInt("Schematics.WarShip.Schleim");
WarShipObsidianBedrock = config.getInt("Schematics.WarShip.ObsidianBedrock"); WarShipTNTSchleim = config.getInt("Schematics.WarShip.TNTSchleim");
WarShipMaxDispenser = config.getInt("Schematics.WarShip.Dispenser"); WarShipMaxDispenser = config.getInt("Schematics.WarShip.Dispenser");
WarShipForbiddenIds = config.getIntegerList("Schematics.WarShip.ForbiddenIds"); WarShipForbiddenIds = config.getIntegerList("Schematics.WarShip.ForbiddenIds");
WarShipCheckList = config.getStringList("Schematics.WarShip.CheckList"); WarShipCheckList = config.getStringList("Schematics.WarShip.CheckList");
@ -90,9 +90,9 @@ public class Config {
AirShipBreite = config.getDouble("Schematics.AirShip.Breite"); AirShipBreite = config.getDouble("Schematics.AirShip.Breite");
AirShipHöhe = config.getDouble("Schematics.AirShip.Höhe"); AirShipHöhe = config.getDouble("Schematics.AirShip.Höhe");
AirShipTiefe = config.getDouble("Schematics.AirShip.Tiefe"); AirShipTiefe = config.getDouble("Schematics.AirShip.Tiefe");
AirShipMaxObsidian = config.getInt("Schematics.AirShip.Obsidian"); AirShipMaxTNT = config.getInt("Schematics.AirShip.TNT");
AirShipMaxBedrock = config.getInt("Schematics.AirShip.Bedrock"); AirShipMaxSchleim = config.getInt("Schematics.AirShip.Schleim");
AirShipObsidianBedrock = config.getInt("Schematics.AirShip.ObsidianBedrock"); AirShipTNTSchleim = config.getInt("Schematics.AirShip.TNTSchleim");
AirShipMaxDispenser = config.getInt("Schematics.AirShip.Dispenser"); AirShipMaxDispenser = config.getInt("Schematics.AirShip.Dispenser");
AirShipForbiddenIds = config.getIntegerList("Schematics.AirShip.ForbiddenIds"); AirShipForbiddenIds = config.getIntegerList("Schematics.AirShip.ForbiddenIds");
AirShipCheckList = config.getStringList("Schematics.AirShip.CheckList"); AirShipCheckList = config.getStringList("Schematics.AirShip.CheckList");