Add Wind charge config

This commit is contained in:
Sakziea
2026-07-18 12:43:46 +02:00
parent 801678ddd3
commit 8b6ea12a08
2 changed files with 7 additions and 0 deletions
@@ -64,6 +64,8 @@ Arena:
AllowMissiles: false # defaults to true if EnterStages are present otherwise 'false'
# Denotes that there is no floor for this GameMode
NoFloor: false # defaults to false if missing
windchargesCanCrossMiddle: false # defaults to false if missing
windchargesInteractWithBlocks: false # defaults to false if missing
Schematic:
# The size of the schematics
@@ -64,6 +64,9 @@ public class Config {
private static final int BlueToRedY;
public static final int BlueToRedZ;
public static final boolean WindchargesCanCrossMiddle;
public static final boolean WindchargesInteractWithBlocks;
//schematic parameter
public static final boolean OnlyPublicSchematics;
@@ -102,6 +105,8 @@ public class Config {
CheckSchemID = Integer.parseInt(System.getProperty("checkSchemID", "0"));
PrepareSchemID = Integer.parseInt(System.getProperty("prepareSchemID", "0"));
ReplayID = Integer.parseInt(System.getProperty("replay", "0"));
WindchargesCanCrossMiddle = Boolean.getBoolean(System.getProperty("windchargesCanCrossMiddle", "false"));
WindchargesInteractWithBlocks = Boolean.getBoolean(System.getProperty("windchargesInteractWithBlocks", "false"));
String configFile = System.getProperty("config", "config.yml");
if (!new File(FightSystem.getPlugin().getDataFolder(), configFile).exists()) {