geforkt von SteamWar/PersistentBungeeCore
Merge pull request 'Arena Store' (#18) from arena_store into master
Reviewed-on: SteamWar/PersistentBungeeCore#18 Reviewed-by: YoyoNow <jwsteam@nidido.de> Reviewed-by: Lixfel <lixfel@steamwar.de>
Dieser Commit ist enthalten in:
Commit
8cd6866906
27
src/de/steamwar/bungeecore/Arenaserver.java
Normale Datei
27
src/de/steamwar/bungeecore/Arenaserver.java
Normale Datei
@ -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;
|
||||
}
|
||||
}
|
In neuem Issue referenzieren
Einen Benutzer sperren