mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-09-23 04:32:50 -04:00
Show client's app name in server logs when connecting
This commit is contained in:
parent
64b5cc833c
commit
8a87cb977f
@ -161,7 +161,11 @@ namespace MCGalaxy {
|
|||||||
SendMessage("&cPlease complete admin verification with &a/pass [Password]!");
|
SendMessage("&cPlease complete admin verification with &a/pass [Password]!");
|
||||||
}
|
}
|
||||||
|
|
||||||
Server.s.Log(name + " [" + ip + "] has joined the server.");
|
if (String.IsNullOrEmpty(appName)) {
|
||||||
|
Server.s.Log(name + " [" + ip + "] connected.");
|
||||||
|
} else {
|
||||||
|
Server.s.Log(name + " [" + ip + "] connected using " + appName + ".");
|
||||||
|
}
|
||||||
Game.InfectMessages = PlayerDB.GetInfectMessages(this);
|
Game.InfectMessages = PlayerDB.GetInfectMessages(this);
|
||||||
Server.zombie.PlayerJoinedServer(this);
|
Server.zombie.PlayerJoinedServer(this);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user