Description:
This plugin logs players' connect and disconnect times along with their Name, SteamID, and IP Address to a text file at /sourcemod/logs/connections/ seperate from the server logs. Players will only be logged when they fully connect and disconnect from the server. (as apposed to every map change in the generic server logs)
This could be useful to go back and ban a hacker / cheater without having to dig through the messy server logs.
A new log file will be created every day. The information on each line will be ordered as follows:
<Time> - <Name> <SteamID> <IP> Connected from <Country>
<Time> - <Name> <SteamID> <IP> Disconnected after <#> minutes. <Reason>
Here is an example log from 28_Nov_2012.txt
Code:
16:58:34 - ===== Map change to metro =====
17:02:41 - <Xander> <STEAM_1:0:XXXX> <108.XXX.XX.XXX> CONNECTED from <United States>
17:04:35 - <Xander> <STEAM_1:0:XXXX> <108.XXX.XX.XXX> DISCONNECTED after 3 minutes. <Kicked by administrator>
17:05:07 - <Xander> <STEAM_1:0:XXXX> <108.XXX.XX.XXX> CONNECTED from <United States>
17:05:31 - ===== Map change to silo =====
17:06:47 - <Xander> <STEAM_1:0:XXXX> <108.XXX.XX.XXX> DISCONNECTED after 2 minutes. <Xander timed out>