geforkt von SteamWar/BungeeCore
Hotfix test server log path and auto sending
Dieser Commit ist enthalten in:
Ursprung
94438a8056
Commit
43809981fb
@ -90,7 +90,7 @@ public class SubserverSystem {
|
|||||||
//Generate launch command
|
//Generate launch command
|
||||||
List<String> cmd = new LinkedList<>();
|
List<String> cmd = new LinkedList<>();
|
||||||
cmd.add("java");
|
cmd.add("java");
|
||||||
cmd.add("-DlogPath=" + serverName);
|
cmd.add("-DlogPath=" + mapName);
|
||||||
cmd.add("-DfightID=" + eventFightID);
|
cmd.add("-DfightID=" + eventFightID);
|
||||||
if(player1 != null && eventFightID != -1)
|
if(player1 != null && eventFightID != -1)
|
||||||
cmd.add("-DblueLeader=" + player1.toString());
|
cmd.add("-DblueLeader=" + player1.toString());
|
||||||
@ -150,7 +150,7 @@ public class SubserverSystem {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static void sendToTestServer(ProxiedPlayer p, ArenaMode m, String map){
|
public static void sendToTestServer(ProxiedPlayer p, ArenaMode m, String map){
|
||||||
startArena(m, map, -1, p.getName() + "s Bau", p.getName(), p.getUniqueId(), null);
|
startArena(m, map, -1, p.getName() + "s Bau", p.getName(), p.getUniqueId(), null).sendPlayer(p);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void sendToBauServer(ProxiedPlayer p, UUID owner){
|
public static void sendToBauServer(ProxiedPlayer p, UUID owner){
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren