[CHAT]Chatlog 0.2.3 - browse sent chat messages [766]

Discussion in 'Inactive/Unsupported Plugins' started by asdaarg, Apr 1, 2011.

  1. Offline

    asdaarg

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Chatlog
    Version:v0.2.3
    • autocreation of config file
    • uses NSCommand now
    Description:

    Simple plugin that allows players to read sent messages when they were afk or offline or just forgot what was said by who and when. It also filters chat messages from non-chat messages (can be turned off) into separate files (speeds up loading the files, especially if you get a lot of error messages and stuff that your plugins spew out).

    Downloads:
    NSCommand <-- Required
    chatlog
    Source and old versions

    Commands:

    /page up - show previous page
    /page down - show next page
    /page up <i> - go up i pages and show that page
    /page down <i> - go down i pages and show next page
    /page - show current page again
    /page end - show last page (and loses page pointer making next page command refer to the end)

    Permissions (optional):

    chatlog.page.up
    chatlog.page.down
    chatlog.page
    chatlog.page.end

    config.txt:

    MSGtimeformat - simpledate format of time
    MSGdateformat -simpledate format of date
    MSGentryformat - format of each message entry
    pgsize - length of a page
    serverlog=server.log usually
    chatlog - chatlog file when using filter
    nonchatlog= - nonchatlog file when using filter
    filterchat - filter chat messages and non chatmessages into separate files
    loadserverlog - load the server log at startup
    loadchatlog - load chatlog at startup

    Changelog:
    v0.2.3
    • autocreation of config file
    • uses NSCommand now
    v0.2.2
    • Setting either time/date format to empty string will result in it not being displayed
    • chatlog and nonchatlog now stored in plugin data folder
    v0.2.1
    • Fixed bug when a line in server log is less than 30 char long (such as in errors)
    v0.2
    • Added option to load server log
    • Added option to filter chat messages from log, putting chat messages and non chat messages in separate files, and clearing server log
    • Added option to load filtered log
    • Added option to specify server log,chatlog and nonchatlog filenames
    v0.1
    • Initial Release
    [/URL]
     
    domavoy likes this.
  2. Offline

    Jerry Larsson

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Nice work! :)
     
  3. Offline

    1lann

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Nice plugin! But where are the logs stored?
     
    thecoolwolf likes this.
  4. Offline

    asdaarg

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    They are not stored in any files and are gone if you restart or reload the server. I'm thinking about adding the option to load the server.log file so you have the full history.
     
  5. Offline

    nichiatu

    My BukkitDev Profile
    My Plugins (2)
    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    which means they're stored in memory?
     
  6. Offline

    asdaarg

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Yes.
     
  7. Offline

    captainbinary

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    This is brilliant, i have always been annoyed at the fact i cannot see what i have said to people, and command help files sometimes get cut off, you know the score.

    Reading from the log file would be a good feature.
     
  8. Offline

    Phealoon

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I like the chatlog plugin but I have a thought. What if you made it so that instead of typing /page up or /page down etc, users could just type "p u" or "p d". It would be much quicker and easier.

    Also, where is the config file, I installed Chatlog on my server, but I never saw a chatlog config file.

    -Phea
     
  9. Offline

    asdaarg

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    You create the config file in plugins/chatlog/
    You can also change the commands by putting these in it:
    CMD_page_up=p u
    CMD_page_down=p d
    Note: make sure you don't have a trailing line at the end of the file.
     
  10. Offline

    Kartus

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    suggest: configvalue for maximum entries logging in chatlog.
     
  11. Offline

    asdaarg

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Good idea. It could preserve memory if you have a big file. Then again you could just cut out part of the log into another file when it gets too big.
     
  12. Offline

    Kartus

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Can you please move your log files into "/plugins/chatlog" ? this is a must cause of bukkit plugin guidelines.
     
  13. Offline

    Kartus

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    i want to get this MSGtimeformat and MSGdateformat working:
    Code (Text):
    1. MSGtimeformat=HH:mm
    2. MSGdateformat=
    3. MSGentryformat=§e$1 §b$2 §a$3 §f$4
    4. pgsize=10
    5. serverlog=server.log
    6. chatlog=chat.log
    7. nonchatlog=nonchat.log
    8. filterchat=true
    9. loadserverlog=false
    10. loadchatlog=true
    but i will get crappy result in chat: [​IMG]
    any idea to help?
     
  14. Offline

    asdaarg

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I guess I could make it bypass the date format if you have it like that (it uses the java simpleformat function)
    Yes
     
  15. Offline

    Kartus

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Thanks, it's working 0.2.2 with this config:
    Code (Text):
    1. MSGtimeformat=HH:mm
    2. MSGdateformat=
    3. MSGentryformat=$2 $3 $4
    4. pgsize=10
    5. serverlog=server.log
    6. chatlog=chat.log
    7. nonchatlog=nonchat.log
    8. filterchat=true
    9. loadserverlog=false
    10. loadchatlog=true
    but there aren't colors, all is white.
    when i set colours like MSGentryformat=§e$1 §b$2 §a$3 §f$4

    i got this:
    [​IMG]
     
  16. Offline

    asdaarg

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    It works fine for me. Maybe your text editor screws § up somehow
     
  17. Offline

    Kartus

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    i tested it WITHOUT EssentialsChat.jar and same issue. got same "ÿ" issue in /motd of plugin "MCDocs" when using with Essentials.jar. I think its issue with Essentials.jar.
     
  18. Offline

    asdaarg

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Try using ## instead of §
     
  19. Offline

    Kartus

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    it works. thank you very much!
     
  20. Offline

    Kartus

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    when will this be updated for #733+ ? At me it's broken.
     
  21. Offline

    asdaarg

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    It works for me. Could you describe the problem?
     
  22. Offline

    Kartus

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    it's working fine on #733. Sorry and thanks.
     
  23. Offline

    Kartus

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    i don't have chat.log or nonchat.log any more since weeks. please can you help me?

    my config:
    Code (Text):
    1. MSGtimeformat=HH:mm
    2. MSGdateformat=
    3. MSGentryformat=##b$2 ##e$3 ##f$4
    4. pgsize=10
    5. serverlog=server.log
    6. chatlog=chat.log
    7. nonchatlog=nonchat.log
    8. filterchat=true
    9. loadserverlog=false
    10. loadchatlog=true
     
  24. Offline

    asdaarg

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    loadserverlog=true
    Since thats the input that is filtered into the two other files.
     
  25. Offline

    EpicATrain

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Any change you can make it more readable in the chat.log file? By that I mean, more reader friendly such as having each message on a different line? A configurable option such as that would be very handy.
     
  26. Offline

    asdaarg

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Its probably because you are using notepad.
     
  27. Offline

    EpicATrain

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Indeed you are correct, What should I be using?
     
  28. Offline

    asdaarg

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Try wordpad or notepad++
     
  29. Offline

    Kartus

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME


    it's not working. bukkit #740
    i have chat.log and nonchat.log files in /plugins/chatlog. But chat.log is empty and nonchat.log filled up with full server.log (including chatlines), so it seems like a clon of server.log.

    My config is now:
    Code (Text):
    1. MSGtimeformat=HH:mm
    2. MSGdateformat=
    3. MSGentryformat=##b$2 ##e$3 ##f$4
    4. pgsize=10
    5. serverlog=server.log
    6. chatlog=chat.log
    7. nonchatlog=nonchat.log
    8. filterchat=true
    9. loadserverlog=true
    10. loadchatlog=true
     
  30. Offline

    Lykkepillen

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Any ETA on a testet 766 version?

    -Thanks in advance :)
     

Share This Page