Raised This Month: $ Target: $400
 0% 

[ANY] Log Connections


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
Player 1
Member
Join Date: Apr 2012
Plugin ID:
3389
Plugin Version:
1.1
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    98 
    Plugin Description:
    Logs player connect and disconnect times, SteamID, IP, connection time, disonnnect reason
    Old 11-28-2012 , 19:32   [ANY] Log Connections
    Reply With Quote #1

    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>
    Attached Files
    File Type: sp Get Plugin or Get Source (logconnections.sp - 6333 views - 4.0 KB)

    Last edited by Player 1; 02-02-2013 at 11:47. Reason: ready for review
    Player 1 is offline
     



    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 17:10.


    Powered by vBulletin®
    Copyright ©2000 - 2024, vBulletin Solutions, Inc.
    Theme made by Freecode