Improved Chat Logger
Improved Chat Logger
Improved Chat Logger is a plugin which allow you to store your in-game chat messages into MySQL databases. By the way, It stores messages as IT IS. So you dont need anymore to worry about charsets of messages or foreign symbols. Improved Chat Logger will store anyway.
Anyway, you could simply write a script to view in-game chat through your web-site. By the way, I wrote simple script which allow that(very simple).
/logcommands simply turn on the logging of commands. However, its turned off by default.
Download:
Plugin: In the download section
PHP: http://dl.dropbox.com/u/20280501/chat.php
Source included in jar.
Use it and have fun!
If you found something nasty or have a problem, post down in comments, I will fix it.
Works in 1.7.10, but makes chat incredibly slow.
Seems to be what im looking for... Hope it works! Ant
@Th3Darkcop
I love you
@jblanda
Works with 1.6
Does this work with 1.5?
@Textra1
there is no need to use replaceAll in that line.
It should look like
On top of that, the backslash character is the escape character in sql.
So, along with that line, this plugin also needs
Is this still alive?
Is this going to get fixed?
Tried to use this got the following :
using the cb 1.2.5 beta R1.3 I also tried it on 1.2.5 R1.2 and it did the same thing.
For all you lazy children, here is very basic little modification to the PHP Script that adds a bit more of a snazz to the display.
chat.php
chat.css
demo
Though it does have a few issues when it comes to long names. I'm working on fixing that.
I just updated the plugin! PM me if there is a bugs. I'm checking this page rarely, so PM me, so i could fix it. http://dev.bukkit.org/server-mods/improved-chat-logger/files/3-improved-chat-logger-v1-02/
I'm not sure if this plugin is being updated any more but I have fixed the problem with apostrophes ( ' ). I really only had to add one line.
A double apostrophe acts like a string literal character in SQL so scanning the msg for them and replacing with a double ' fixes the problem.
Link -> Improved Chat Logger
The source code is still in the jar file should any one be concerned I've added anything malicious.
Edit: I read the chat here and saw that some people wanted to log commands as well as chat, so I added that feature. You can toggle the command logging feature by typing /logcommands
It does not log "'" like "I'm" Creates a mysql error, but nice plugin!
Love this - simple and mysql supported. Can you please add command logging as well?
@VADemon
As far as I can tell, from what I've been playing around with this plugin is that it Does Not track the commands that go through correctly. But as for misspellings, it might.
Cool! Does it also log those commands that are sent to console (/msg player Hello! or /money pay troll 200)?