AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=109)
-   -   [ANY] Chat Logger 2.0 Colorful RTF Logging Available Now! (https://forums.alliedmods.net/showthread.php?t=137646)

McFlurry 09-07-2010 21:46

[ANY] Chat Logger 2.0 Colorful RTF Logging Available Now!
 
7 Attachment(s)
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 |20:36:30| 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. :wink:

Xp3r7 09-08-2010 19:52

Re: [ANY] Chat Logger
 
Thanks for this.

Ive been looking for a plugin like this and I would like the sourcemod chats to be included to see admin chat, etc. :)

SirCole 09-09-2010 20:01

Re: [ANY] Chat Logger
 
are you able to add the ability to log this to a database, ie mysql.

Idea been that we could make a simple php page that would query it, and I could even throw in a search function, this way it would make it easier to search for key things in the logs, for example when someone complains about getting abused ;)

peace

Xp3r7 09-09-2010 20:23

Re: [ANY] Chat Logger
 
Quote:

Originally Posted by SirCole (Post 1296027)
are you able to add the ability to log this to a database, ie mysql.

Idea been that we could make a simple php page that would query it, and I could even throw in a search function, this way it would make it easier to search for key things in the logs, for example when someone complains about getting abused ;)

peace

http://forums.alliedmods.net/showthread.php?p=817310

There is this one that goes to a MySQL DB.

SirCole 09-09-2010 20:27

Re: [ANY] Chat Logger
 
I guess you can tell how much attention I pay these days :/

thankyou <3

McFlurry 09-10-2010 16:53

Re: [ANY] Chat Logger 1.1
 
Update to log all the SM say commands.

Silvers 09-11-2010 18:11

Re: [ANY] Chat Logger 1.1
 
Would it be possible to log chat colours? The log could then be formatted into RTF(rich text font) or something?

McFlurry 09-11-2010 18:20

Re: [ANY] Chat Logger 1.1
 
Looking at an rtf file in notepad++ it seems very very possible I would just need a while to even get it working properly though.

Silvers 09-11-2010 18:37

Re: [ANY] Chat Logger 1.1
 
Nice one!! Thanks

McFlurry 09-11-2010 19:00

Re: [ANY] Chat Logger 1.1
 
Hmm nevermind the previous thing it somehow will not write the file header before it decides to log the chat which means colors wont show up correctly and such


All times are GMT -4. The time now is 02:55.

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