[INACTIVE][CHAT/ADMIN] ChatLogger v0.5 - log the chat [860]

Discussion in 'Inactive/Unsupported Plugins' started by Cr3dos, May 9, 2011.

  1. Offline

    Cr3dos

    Name: ChatLogger
    Version: 0.5 (Beta version, because I want to test it on diffrent Systems)
    Bukkit: 860

    This Plugin logs the chat

    Download
    Jar: http://dl.dropbox.com/u/6613106/ChatLogger.jar
    Source: https://github.com/cr3dos/ChatLogger

    Features
    • Log the chat in a .txt File in the Plugin Ordner(ever Day a new one)
    • On/Off switch
    • Format
    Format the Output
    insert in the config.yml this line: format: 'theFormatYouWant'
    Keys are {date} {player} {msg} {world}
    example: format: '{date}: [{world}] {player}: {msg}

    Command (need OP)
    • cl: switch on/off logging
    • clset delDays <int> (After how many days the log Files should be deleted(value between 1 and 13) 1 day mean not 24h(on the next morning(00.00) the folder will be deleted))
    • clset worldName (show in the log file the worldname)
    • clset commands (log the commands)
    • clset playerOnServer (log join, quit and kick)
    Future
    • Add Permission support
    • maybe split the log file
    • Fix Bugs
    Folders
    • The plugin create the folder ChatLogger
    • In this folder you find the conifg.yml file
    • and more folders for every day in format: mm_dd_yyyy
    • In this folde are the daily logs
    Important

    If you found an error or want a new feature let me know

    Changelog
    Version 0.1
    • Release the Beta
    Version 0.2

    • Add loggin cmds
    • Add some settings
    Version 0.3

    • Add log player join, player quit and player kick
    • Bug fixing
    Version 0.4
    • Add the format
    Version 0.5
    • Dollar fix
     
  2. Offline

    alysdal

    mysql support would be great, or is there another plugin for that?
    anyway, does this log commands as well?
     
  3. Offline

    Bryan Taylor

    I, too, would like to see optional MySQL support. this would allow much more flexibility when tyring to investigate the logs. It would also allow longer archive periods.

    Also, will this log private and party chat as well? ie:
    [datetime][world][from][to][msg]
     
  4. Offline

    ZachBora

    Actually it logs for example
    date name /msg bob blahblahblah
     
  5. Offline

    Bryan Taylor

    Cool - Thanks! I have it working on #953. Haven't pulled any recent files though.
     
  6. Offline

    ZachBora

    Make sure you did the commands to enable logging. I had it running without anything enabled for 2 days before I realised. The commands are written above, theres one for chat and one for commands and such.
     
  7. Offline

    Cr3dos

    I don't add mysql support, sorry

    Edit: Sorry forget that I have a daily restart on my Server - work on it
     
  8. Offline

    Holyasgard

    Hello Peopels

    I have Installed the Plugin in the neuest Bukkit version

    After 2 Days the Log File and the Config File are Empty.

    Wenn ich Start from the konsole with CL i see this Error Message in the Window.

    Code:
    >cl
    12:29:13 [WARNING] Unexpected exception while parsing console command
    org.bukkit.command.CommandException: Unhandled exception executing command 'cl'
    in plugin ChatLogger v0.5
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:12
    9)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:3
    44)
            at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:489)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:468)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.ClassCastException: org.bukkit.craftbukkit.command.Coloured
    ConsoleSender cannot be cast to org.bukkit.entity.Player
            at me.cr3dos.ChatLogger.ChatLogger.toggle(ChatLogger.java:64)
            at me.cr3dos.ChatLogger.ChatLogger.onCommand(ChatLogger.java:56)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
            ... 6 more
    >
    Has Anyone a idea or can help me ?
    Gives a new Plugin and that not more supported ?

    Best Regards, Holyasgard
     
  9. Offline

    ZachBora

    You need to type /cl in game as an OP or something.
     
  10. Offline

    RageX.ca

    Hi there.
    I really like the idea of custom Format for chatlogging and its compatible with IRSSI stats generator *except its Ingame users and not IRC*
    Thing i wanna know is it possible to make it log more than a day? in a single file? Add option like No delete Log whole year to a file?
    I wanna test something out like Parsing the .txt like its a irssi log and generate stats of server like a irc channel.
    http://royale.zerezo.com/irssistats/irssi.php
    Either that way or someone create a plugin just for making Webstats with quote and even adding Characters look?
     
  11. Offline

    Cr3dos

    I found a dev who would like to support this plugin in the futur.
     
    saul100 likes this.

Share This Page