From fd98add4b325b8cd19babb27bf2b8f983e80b9e8 Mon Sep 17 00:00:00 2001 From: yoyosource Date: Tue, 9 Nov 2021 17:50:06 +0100 Subject: [PATCH] Fix BauSystem old Bau version Signed-off-by: yoyosource --- .../src/de/steamwar/bausystem/BauSystem.java | 1 + yapion/prototypes2.yapion | 82 ++++++++++ yapion/regions2.yapion | 140 ++++++++++++++++++ 3 files changed, 223 insertions(+) create mode 100644 yapion/prototypes2.yapion create mode 100644 yapion/regions2.yapion diff --git a/BauSystem_Main/src/de/steamwar/bausystem/BauSystem.java b/BauSystem_Main/src/de/steamwar/bausystem/BauSystem.java index 59927c6a..3cbd13e5 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/BauSystem.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/BauSystem.java @@ -117,6 +117,7 @@ public class BauSystem extends JavaPlugin implements Listener { int number = -1; try { String string = new File(world.getWorldFolder(), "sections.yml").getCanonicalPath(); + if (string.endsWith("/sections2.yml")) number = 2; if (string.endsWith("/sections3.yml")) number = 3; if (string.endsWith("/sections4.yml")) number = 4; } catch (IOException e) { diff --git a/yapion/prototypes2.yapion b/yapion/prototypes2.yapion new file mode 100644 index 00000000..79b2965a --- /dev/null +++ b/yapion/prototypes2.yapion @@ -0,0 +1,82 @@ +{ + as{ + displayName(AirShip) + schematic(sections2/ASMinArena.schematicatic) + sizeX(95) + sizeY(220) + sizeZ(165) + testblock{ + offsetX(0) + offsetY(0) + offsetZ(100) + schematic(sections2/ASTestblock.schematic) + sizeX(95) + sizeY(45) + sizeZ(65) + } + } + mwg{ + displayName(MiniWarGear) + schematic(sections2/MWGArena.schematic) + sizeX(63) + sizeY(256) + sizeZ(120) + testblock{ + offsetX(13) + offsetY(44) + offsetZ(85) + schematic(sections2/MWGTestblock.schematic) + sizeX(37) + sizeY(26) + sizeZ(22) + } + } + wg{ + displayName(WarGear) + schematic(sections2/WGArena.schematic) + sizeX(133) + sizeY(255) + sizeZ(214) + testblock{ + offsetX(33) + offsetY(44) + offsetZ(128) + schematic(sections2/WGTestblock.schematic) + sizeX(67) + sizeY(41) + sizeZ(47) + } + } + ws{ + displayName(WarShip) + schematic(sections2/WSArena.schematic) + sizeX(253) + sizeY(256) + sizeZ(194) + testblock{ + offsetX(11) + offsetY(0) + offsetZ(11) + schematic(sections2/WSTestblock.schematic) + sizeX(230) + sizeY(57) + sizeZ(35) + } + } + ws_in{ + displayName(WarShip) + schematic(sections2/WSMinArena.schematic) + sizeX(253) + sizeY(256) + sizeZ(59) + testblock{ + offsetX(12) + offsetY(0) + offsetZ(147) + schematic(sections2/WSTestblock.schematic) + sizeX(230) + sizeY(57) + sizeZ(35) + } + } +} \ No newline at end of file diff --git a/yapion/regions2.yapion b/yapion/regions2.yapion new file mode 100644 index 00000000..a3c307f3 --- /dev/null +++ b/yapion/regions2.yapion @@ -0,0 +1,140 @@ +{ + as1{ + minX(33) + minY(33) + minZ(23) + prototype(as) + } + as2{ + minX(205) + minY(33) + minZ(23) + prototype(as) + } + as3{ + minX(369) + minY(33) + minZ(23) + prototype(as) + } + as4{ + minX(33) + minY(33) + minZ(339) + prototype(as) + } + as5{ + minX(205) + minY(33) + minZ(339) + prototype(as) + } + as6{ + minX(369) + minY(33) + minZ(339) + prototype(as) + } + mwg1{ + minX(-97) + minY(1) + minZ(-154) + prototype(mwg) + } + mwg2{ + minX(-177) + minY(1) + minZ(-154) + prototype(mwg) + } + mwg3{ + minX(-278) + minY(1) + minZ(-154) + prototype(mwg) + } + mwg4{ + minX(-97) + minY(1) + minZ(-295) + prototype(mwg) + } + mwg5{ + minX(-177) + minY(2) + minZ(-295) + prototype(mwg) + } + mwg6{ + minX(-278) + minY(1) + minZ(-295) + prototype(mwg) + } + mwg7{ + minX(-97) + minY(1) + minZ(-439) + prototype(mwg) + } + mwg8{ + minX(-177) + minY(1) + minZ(-439) + prototype(mwg) + } + mwg9{ + minX(-278) + minY(1) + minZ(-439) + prototype(mwg) + } + wg1{ + minX(-161) + minY(1) + minZ(35) + prototype(wg) + } + wg2{ + minX(-309) + minY(1) + minZ(35) + prototype(wg) + } + wg3{ + minX(-161) + minY(1) + minZ(252) + prototype(wg) + } + wg4{ + minX(-309) + minY(1) + minZ(252) + prototype(wg) + } + ws1{ + minX(23) + minY(25) + minZ(-231) + prototype(ws) + } + ws2{ + minX(275) + minY(25) + minZ(-231) + prototype(ws) + } + ws3{ + minX(22) + minY(25) + minZ(-366) + prototype(ws_in) + } + ws4{ + minX(274) + minY(25) + minZ(-366) + prototype(ws_in) + } +} \ No newline at end of file