forked from SteamWar/SteamWar
Add Wind charge config
This commit is contained in:
@@ -64,6 +64,8 @@ Arena:
|
|||||||
AllowMissiles: false # defaults to true if EnterStages are present otherwise 'false'
|
AllowMissiles: false # defaults to true if EnterStages are present otherwise 'false'
|
||||||
# Denotes that there is no floor for this GameMode
|
# Denotes that there is no floor for this GameMode
|
||||||
NoFloor: false # defaults to false if missing
|
NoFloor: false # defaults to false if missing
|
||||||
|
windchargesCanCrossMiddle: false # defaults to false if missing
|
||||||
|
windchargesInteractWithBlocks: false # defaults to false if missing
|
||||||
|
|
||||||
Schematic:
|
Schematic:
|
||||||
# The size of the schematics
|
# The size of the schematics
|
||||||
|
|||||||
@@ -64,6 +64,9 @@ public class Config {
|
|||||||
private static final int BlueToRedY;
|
private static final int BlueToRedY;
|
||||||
public static final int BlueToRedZ;
|
public static final int BlueToRedZ;
|
||||||
|
|
||||||
|
public static final boolean WindchargesCanCrossMiddle;
|
||||||
|
public static final boolean WindchargesInteractWithBlocks;
|
||||||
|
|
||||||
//schematic parameter
|
//schematic parameter
|
||||||
public static final boolean OnlyPublicSchematics;
|
public static final boolean OnlyPublicSchematics;
|
||||||
|
|
||||||
@@ -102,6 +105,8 @@ public class Config {
|
|||||||
CheckSchemID = Integer.parseInt(System.getProperty("checkSchemID", "0"));
|
CheckSchemID = Integer.parseInt(System.getProperty("checkSchemID", "0"));
|
||||||
PrepareSchemID = Integer.parseInt(System.getProperty("prepareSchemID", "0"));
|
PrepareSchemID = Integer.parseInt(System.getProperty("prepareSchemID", "0"));
|
||||||
ReplayID = Integer.parseInt(System.getProperty("replay", "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");
|
String configFile = System.getProperty("config", "config.yml");
|
||||||
if (!new File(FightSystem.getPlugin().getDataFolder(), configFile).exists()) {
|
if (!new File(FightSystem.getPlugin().getDataFolder(), configFile).exists()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user