Raised This Month: $ Target: $400
 0% 

[Request] Simple chat logging


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Werewolf_UK
AlliedModders Donor
Join Date: Oct 2010
Location: United Kingdom
Old 04-07-2013 , 09:35   [Request] Simple chat logging
Reply With Quote #1

I am looking for a plugin that will automatically records everything said in the chat window, and saves it to a .txt or .log file.

Currently I use HLSW (HLSW site / Wikipedia page) to RCON connect to the servers I'm an admin for, and one of HLSW's features is the ability to save 'pure' chat logs locally on the users PC. By 'pure' I mean free from the other information such as kills, connections/disconnections, team changes, etc. This is very handy for checking up on complaints of players being abusive over chat and such.
Below is an example snippet taken from one of the log files on my PC. This is the sort of thing I would like the plugin to produce, notably the players names, team info, the time index and of course, what they said.

Code:
00:01:41 (       Red) Travis ♥ Aya                 : ded
00:02:15 (       Red) Csi71                        : What do you guys have bound as an audio key?
00:02:23 (       Red) Travis ♥ Aya                 : ded
00:02:28 (      Blue) RainmakerX                   : f1
00:02:29 (       Red) Seki                         : i just use the same one as normal voice, so v
00:02:37 (       Red) Csi71                        : I set it to f1
00:02:38 (       Red) Travis ♥ Aya                 : you use v for hldj?
00:02:38 (       Red) [=.=] iZyren                 : v?
00:02:41 (       Red) Travis ♥ Aya                 : you smell
00:02:44 (       Red) Seki                         : XD
00:02:55 (       Red) Travis ♥ Aya                 : i use v to injject awesomeness into the voice server
00:03:12 (       Red) Seki                         : XD
00:03:20 (       Red) Seki                         : really travis?
00:03:21 (       Red) [=.=] iZyren                 : i use v to be travis
00:03:21 (       Red) Csi71                        : :~:
00:03:25 (       Red) [=.=] iZyren                 : ;D
00:03:26 (       Red) Seki                         : i've never seen/heard you do that
00:03:27 (       Red) Csi71                        : I need halp with hlfj
00:03:27 (       Red) Seki                         : xD
00:03:31 (       Red) Csi71                        : soo much halep
00:03:35 (       Red) Travis ♥ Aya                 : unlucky then
00:03:38 (       Red) Travis ♥ Aya                 : maybe ill do it now 
00:03:39 (       Red) Travis ♥ Aya                 : >.>
00:03:42 (       Red) Csi71                        : <.>
00:03:46 (       Red) Seki                         : :3
00:03:57 (       Red) Travis ♥ Aya                 : that was a class apm
00:04:05 (       Red) Travis ♥ Aya                 : not this one
My reason for asking for this as a plugin is due to the limitations in HLSW. As the program runs locally on the users PC, it only records server/chat logs while the program is open and connected. The rest of the time, there is nothing. By making this as a plugin, server admins would get chat logs free from the other information (kills, connections/disconnections, team changes, etc), and it would record the chat even when all admin are offline.


Overview of requested features:
  • Records all messages by players (both say and say_team messages)
  • Record players names
  • Time indexed
  • Team information - IE: Red, Blue, Dead, Spectator, RCON, CT, T, Unassigned
  • Generates files automatically on server start/map change
  • Saves chat logs on map change, creates new log on new map.
  • Filenames are time and dated - IE: 2013_04_07-14_32.chat.log
I am not too concerned with the exact file hierarchy or where the files get saved to. Nor am I concerned with the file management side of things. Some admins might want to keep the logs for a while or might want to automatically delete old logs. As long as some files are being generated that record the above points, I'll be happy!
__________________
Werewolf_UK is offline
cREANy0
SourceMod Donor
Join Date: Jul 2012
Location: Germany
Old 04-07-2013 , 09:45   Re: [Request] Simple chat logging
Reply With Quote #2

You can use this Plugin:
Code:
http://forums.alliedmods.net/showthread.php?t=117116
It's a really good Plugin and have all your requested Features.
greetz cREANy0
__________________

Last edited by cREANy0; 04-07-2013 at 09:48.
cREANy0 is offline
Reply



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 03:17.


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