Option to send player IPs to admins.
This commit is contained in:
parent
e6f06ab567
commit
85123a4db3
2 changed files with 5 additions and 0 deletions
|
|
@ -693,6 +693,8 @@ namespace TShockAPI
|
|||
player.Teleport((int)pos.X, (int)pos.Y);
|
||||
player.SendTileSquare((int)pos.X, (int)pos.Y);
|
||||
}
|
||||
if (Config.DisplayIPToAdmins)
|
||||
Utils.SendLogs(string.Format("{0} has joined. IP: {1}", player.Name, player.IP), Color.Blue);
|
||||
e.Handled = true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue