Successful logins are now logged.
This commit is contained in:
parent
30d0d48386
commit
fa18c5ea54
1 changed files with 1 additions and 0 deletions
|
|
@ -312,6 +312,7 @@ namespace TShockAPI
|
||||||
args.Player.UserName = args.Parameters[0];
|
args.Player.UserName = args.Parameters[0];
|
||||||
args.Player.IsLoggedIn = true;
|
args.Player.IsLoggedIn = true;
|
||||||
args.Player.SendMessage("Authenticated as " + args.Parameters[0] + " successfully.", Color.LimeGreen);
|
args.Player.SendMessage("Authenticated as " + args.Parameters[0] + " successfully.", Color.LimeGreen);
|
||||||
|
Log.ConsoleInfo(args.Player.Name + " authenticated successfully as " + args.Parameters[0] + ".");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue