This project is abandoned and its default file will likely not work with the most recent version of Minecraft. Whether this project is out of date or its author has marked it as abandoned, this project is no longer maintained.
Here another simple, but usefull, Plugin, wich allow you to logg the Chat and Commands in an extern File, and manage other chat-related things.
You searched in the Console or Serverlog a Message from anyone, but don't found it, because there are many Plugin-Messages between? Or spammers are every time posting IP's and bad words? This time is the past! Now you can log the Chat in an extern File, and just look at it if you search a thing, censor words, detect IPs, and more!
Features
|
---|
- Log Chat and/or Commands in an external File!
- Define Name and Location of the File!
- Configurabel Logging!
- Find Griefer easily!
- Add a global Chatprefix!
- Activate or deactivate the Logging of Chat and/or Commands separatly!
- You can define separatly files for chat and commands!
- Own Events! If you would, for example, make a warn plugin, and warn if anyone post an IP, just use the integrated IPpostevent!
- Reload the Config with a Command!
- Censor defined Words! Replace these words with another!
- Edit a Message if a IP is included in the message!
- Let warn you on update!
- Advertise your Team on IP-Posting/Censored Word posting!
- Let stop the logging of chat in the console! (Cleaner Console)
- Reload Command is reachable by the console!
- And more!
- Comming soon: PhP Script for viewing the logger in the browser!
|
|
Permissions
|
- ChatLogger.reload
- Permission needed for the /cl reload Command
- ChatLogger.censor.bypass
- Permission is needed to bypass the censored word protection.
- ChatLogger.censor.receiveAdvert
- Permission is needed to recieve the advert, if anyone post an censored word!
- ChatLogger.ipblock.bypass
- Permission is needed to bypass the IP-Post-Protection
- ChatLogger.ipblock.receiveAdvert
- Permission is needed to recieve the advert, if anyone post an IP
|
|
And now the Configuration! It's very simple!
Config
|
- Log -> Commands
- If this is true, the Plugin will log if anyone perform a Command
- Log -> Chat
- If this is true, the plugin will log all Chatmessages
- Log -> ChatFile
- Very important! This is the Path to the File for logging the Chat. Default is plugins/ChatLogger/Chat.log
- Log -> CommandFile
- Very important! This is the Path to the File for logging the Commands. Default is plugins/ChatLogger/Commands.log
- Log -> DisableConsoleCommandAndChat
- If this i true, the Chat will no longer be logged in the Console
- (You can have the same File for Chat and Command)
- Format -> OD
- This is the "opening" Bracket for the Date. Explanation below.
- Format -> CD
- This is the "closing" Bracket for the Date. Explanation below.
- Format -> OP
- This is the "opening" Bracket for the User. Explanation below.
- Format -> CP
- This is the "closing" Bracket for the User. Explanation below.
- Extra -> IPBlock -> blockips
- Would you let block IPs if there are posted in the Chat?
- Extra -> IPBlock -> blockedipmessage
- The Message with the posted ip will be replaced by this.
- Extra -> IPBlock -> advertiseTeam
- If this is true, the Team will be adverted if anyone post an IP!
- Extra -> IPBlock -> advertiseMessage
- The Message, wich is sended to the Team if anyone post an IP
- Extra -> Censored -> Words
- The List of Words wich must be Censored on post.
- Extra -> Censored -> replaceWord
- The Word wich replace all censored words on posting.
- Extra -> Censored -> advertiseTeam
- If this is true, the Team will be adverted if anyone post a censored word
- Extra -> Censored -> advertiseMessage
- The Message, wich is sended to the Team if anyone post a censored word
- Extra -> Prefix
- A Prefix wich is added to everyone on the Server. If yo don't want to use it, just let it blank.
- Messages -> reload
- The Reload Message.
- Messages -> nopermission
- The Message wich is sended to everyone who dont have the permission
- Messages -> commanddoesnotexists
- If you try to use an not existing command, this is the message you get.
|
|
Explanation & Example
A example of a logging File (Wich Commands AND Chat) :
[16:32:06 02/12]{ChatLogger}: Enabling ChatLogger
[16:33:17 02/12]{Testplayer}: hi
[16:33:19 02/12]{Testplayer (Command) }: Executed Command "/hlep"
[16:33:25 02/12]{Testplayer (Command) }: Executed Command "/help"
[16:33:31 02/12]{Testplayer}: HOWDY ALL, I'VE GRIEFED A HOUSE!
[16:33:58 02/12]{ChatLogger}: Disabling ChatLogger
"[" is the "OD" (Opening Bracket for Date)
"]" is the "CD" (Closing Bracket for Date)
"{" is the "OP" (Opening Bracket for User)
"}" is the "CP" (Closing Bracket for User)
In this Example "chat" and "command" is true.
For Developers
Yeah, this Plugin has an API!
To use it, just add it as Library, like Bukkit.
Then if you would use an Event, just import it
The Events are:
- ChatCensorEvent
- If a censored Word is posted, this event is called. Good for Warn-Plugins
- IPBlockEvent
- If an IP is posted, this event is called. Good for Warn-Plugins
- ChatLoggingEvent & CommandLoggingEvent
- The name says everthing..
A better explanation will follow.
VideoDoesn't exists yet :( If anyone desire to make a Video, just post the link and i will include it ;D
So, that was a little Description.
Hope that the Plugin help!
Greet :)
If you have Requests, Bugs, or other, please Comment!
PS: If anyone has a better Englisch than me, and understands this post, i would be very grateful to him if he can help me to change this post to better english :(
Good Plugin bro!
But I've got some wishes (Sorry for my bad english now)
can edit the config for us that we can edit it so the .log file shows following:
now: [15:01:08 24/02]{GoldPaddy}: Executed Command "/cl reload"
later: 24.02.2014 - 15:01:00 - GoldPaddy: /cl reload
and that it logs login/logout and afk/back
I hope you understand it :D
@xH3LLRAIZ3Rx
Html for what :o?
@John__B
(Sorry for my late answer, i had things to do in real-life )
Sure, i can try it, but first i must have enough time ;)
could you add html please
Integrate with Dynmap? not recording chat from it.
@ServerModSearcher Thanks! Yes, i know - i try to fix it on the next update - but i cant be sure that i achieve it.
Awesome! But the Chat disabling dont seems working correctly :( Its disable al other message like "Done!" etc..
Ah, and one thing: If you are using this API on a published Plugin, just tell it me, and i will create a list with all these plugins liste in :)
@Creep_Freak Thanks :D ! And to the Idea: How do you mean it =S ? Sorry, i've don't unterstanden it :'(
Or maybe like a search thing so you can type in a playersname and then it'll lookup every sentence the player has said
The colors that are used on the server and mayybe also with the www.minotar.net API you can add the faces/helm of the players into it And maybe also the prefixes/suffixes :D
Then I think it's perfect for a plugin like this
@Creep_Freak Thanks :D ! Because you can check the Log with the Web ;) And i'm adding a PhP-Script for the Logs :)
Any Ideas to add?
I think it could be usefull but why is it at the Website Administration?