Admin player team switch + more trace info

This commit is contained in:
Anuken
2023-06-11 23:18:04 -04:00
parent 0ec59691bf
commit 4b0824a20c
10 changed files with 180 additions and 68 deletions

View File

@@ -624,14 +624,17 @@ public class Administration{
public String ip, uuid;
public boolean modded, mobile;
public int timesJoined, timesKicked;
public String[] ips, names;
public TraceInfo(String ip, String uuid, boolean modded, boolean mobile, int timesJoined, int timesKicked){
public TraceInfo(String ip, String uuid, boolean modded, boolean mobile, int timesJoined, int timesKicked, String[] ips, String[] names){
this.ip = ip;
this.uuid = uuid;
this.modded = modded;
this.mobile = mobile;
this.timesJoined = timesJoined;
this.timesKicked = timesKicked;
this.names = names;
this.ips = ips;
}
}

View File

@@ -38,7 +38,7 @@ public class Packets{
}
public enum AdminAction{
kick, ban, trace, wave
kick, ban, trace, wave, switchTeam
}
/** Generic client connection event. */