diff --git a/src/de/steamwar/bungeecore/Arenaserver.java b/src/de/steamwar/bungeecore/Arenaserver.java new file mode 100644 index 0000000..c1b826b --- /dev/null +++ b/src/de/steamwar/bungeecore/Arenaserver.java @@ -0,0 +1,27 @@ +package de.steamwar.bungeecore; + +public class Arenaserver extends Subserver { + + private final String mode; + private final String map; + private final boolean allowMerge; + + public Arenaserver(String serverName, String mode, String map, boolean allowMerge, int port, ProcessBuilder processBuilder, Runnable shutdownCallback) { + super(Servertype.ARENA, serverName, port, processBuilder, shutdownCallback); + this.mode = mode; + this.map = map; + this.allowMerge = allowMerge; + } + + public String getMode() { + return mode; + } + + public String getMap() { + return map; + } + + public boolean isAllowMerge() { + return allowMerge; + } +}