View Single Post
Author Message
McFlurry
Veteran Member
Join Date: Mar 2010
Location: RemoveEdict(0);
Old 09-07-2010 , 21:46   [ANY] Chat Logger 2.0 Colorful RTF Logging Available Now!
Reply With Quote #1

Today I bring to you a chat logger for you server owners.

It's functions are simple it will log the time a chat was made the name and if their chat was team chat it will write the team name down in the chat log.

Info:
A chat_yearmonthday.txt file is created in the logs folder a new file is created whenever the day changes.

Cvars:
chat_log_version Version
chat_log_enable "1" Enable logging of all chat
chat_log_timeformat "%b %d |%H:%M:%S| %Y" This shows up as Sep 07 |2060| 2010 in the log (info about this HERE)
chat_log_triggers "1" Log when a user uses a chat trigger such as !
chat_log_sm_say", "1" Log sm_say in chat log?
chat_log_sm_chat", "1" Log sm_chat in chat log?
chat_log_sm_csay", "1" Log sm_csay in chat log?
chat_log_sm_tsay", "1" Log sm_tsay in chat log?
chat_log_sm_msay", "1" Log sm_msay in chat log?
chat_log_sm_hsay", "1" Log sm_hsay in chat log?
chat_log_sm_psay", "1" Log sm_psay in chat log?

Note:Currently only supports say and say_team the sourcemod included says are not logged if people want those to be logged just let me know and I will add those. Alert me if a similar plugin exists.

Installation:
Click Get Plugin then cut/drag that file to plugins in the sourcemod folder

History:
1.0 - Initial Release
1.0.1 - Increase in size of Print String to prevent incomplete chat logs
1.1 - Added convars for the SM say commands and logging for them as well.
2.0 - RTF file type version released, logs in .rtf format and has colorful chat print outs.
Attached Thumbnails
Click image for larger version

Name:	screenie.jpg
Views:	4478
Size:	59.1 KB
ID:	73053   Click image for larger version

Name:	rtfscreenie.jpg
Views:	5170
Size:	93.2 KB
ID:	73696  
Attached Files
File Type: sp Get Plugin or Get Source (chat_logger.sp - 3774 views - 7.6 KB)
File Type: sp Get Plugin or Get Source (chat_logger_rtf.sp - 3027 views - 9.1 KB)
__________________

Last edited by McFlurry; 09-19-2010 at 23:01.
McFlurry is offline
Send a message via Skype™ to McFlurry