Update Config #352
@ -46,8 +46,7 @@ Arena:
|
|||||||
# Allow leaving the arena area as spectator
|
# Allow leaving the arena area as spectator
|
||||||
Leaveable: false # defaults to false if missing
|
Leaveable: false # defaults to false if missing
|
||||||
# Allow missiles to fly to the enemy and not stop at the schem border.
|
# Allow missiles to fly to the enemy and not stop at the schem border.
|
||||||
# This overrides the 'EnterStages' setting if present otherwise if any 'EnterStages' are present this defaults to 'true'.
|
AllowMissiles: false # defaults to true if a 'EnterStages' is present otherwise 'false'
|
||||||
AllowMissiles: false # defaults to false if missing
|
|
||||||
|
|
||||||
Schematic:
|
Schematic:
|
||||||
# The size of the schematics
|
# The size of the schematics
|
||||||
|
@ -195,7 +195,7 @@ public class Config {
|
|||||||
PercentBlocks = Collections.unmodifiableSet(config.getStringList("WinConditionParams.Blocks").stream().map(Material::valueOf).collect(Collectors.toSet()));
|
PercentBlocks = Collections.unmodifiableSet(config.getStringList("WinConditionParams.Blocks").stream().map(Material::valueOf).collect(Collectors.toSet()));
|
||||||
|
|
||||||
EnterStages = Collections.unmodifiableList(config.getIntegerList("EnterStages"));
|
EnterStages = Collections.unmodifiableList(config.getIntegerList("EnterStages"));
|
||||||
AllowMissiles = config.getBoolean("Arena.AllowMissiles", EnterStages.isEmpty());
|
AllowMissiles = config.getBoolean("Arena.AllowMissiles", !EnterStages.isEmpty());
|
||||||
|
|
||||||
KitFile = config.getString("Kits.File", "kits.yml");
|
KitFile = config.getString("Kits.File", "kits.yml");
|
||||||
MemberDefault = config.getString("Kits.MemberDefault", "default");
|
MemberDefault = config.getString("Kits.MemberDefault", "default");
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren