Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Ursprung
98cd6f5b25
Commit
70d4f96999
@ -72,6 +72,8 @@ Schematic:
|
||||
ReplaceObsidianBedrock: false # defaults to false if missing
|
||||
# If the replacement should happen with block updates
|
||||
ReplaceWithBlockupdates: false # defaults to false if missing
|
||||
# If the schematic perparation arena mode is time limited
|
||||
UnlimitedPrepare: false # defaults to false if missing
|
||||
# Maximal amount of blocks allowed in the schematic
|
||||
MaxBlocks: 0 # defaults to 0 (ignored) if missing
|
||||
# Maximal amount of items per dispenser
|
||||
|
@ -88,6 +88,7 @@ public class Config {
|
||||
public static final boolean PasteAligned;
|
||||
public static final boolean ReplaceObsidianBedrock;
|
||||
public static final boolean ReplaceWithBlockupdates;
|
||||
public static final boolean UnlimitedPrepare;
|
||||
|
||||
//team parameter
|
||||
public static final String TeamRedName;
|
||||
@ -185,6 +186,7 @@ public class Config {
|
||||
PasteAligned = config.getBoolean("Schematic.PasteAligned", false);
|
||||
ReplaceObsidianBedrock = config.getBoolean("Schematic.ReplaceObsidianBedrock", false);
|
||||
ReplaceWithBlockupdates = config.getBoolean("Schematic.ReplaceWithBlockupdates", false);
|
||||
UnlimitedPrepare = config.getBoolean("Schematic.UnlimitedPrepare", false);
|
||||
|
||||
GameName = config.getString("GameName", "WarGear");
|
||||
TeamChatDetection = config.getString("TeamChatPrefix", "+");
|
||||
|
@ -29,6 +29,9 @@ public class PostSchemCountdown extends Countdown {
|
||||
|
||||
public PostSchemCountdown() {
|
||||
super(Config.SetupDuration, new Message("POST_SCHEM_COUNTDOWN"), null, false);
|
||||
if(Config.mode == ArenaMode.PREPARE && Config.UnlimitedPrepare)
|
||||
return;
|
||||
|
||||
new StateDependentCountdown(ArenaMode.SeriousFight, FightState.PostSchemSetup, this);
|
||||
}
|
||||
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren