Inactive [ADMN/CHAT] OKLogger v1.1.6 - Lightweight Chat and Command logging! [1.0.0-R1]

Discussion in 'Inactive/Unsupported Plugins' started by Kalman Olah, Aug 2, 2011.

  1. Offline

    Kalman Olah

    OL - OKLogger
    by Kalman Olah​
    Latest version: 1.1.6 ( Download )​
    Would you like to buy me a drink? some useless stuff from Amazon? a car?​
    [​IMG]
    What is OKLogger?
    OKLogger is a lightweight player chat and command logging plugin. It logs player names, IPs, worlds, commands and chat messages. OKLogger supports Bukkit's permissions, PermissionsEx, GroupManager and Permissions.​
    Where can I get OKLogger?
    You can always find the latest version of OKLogger here.​
    This plugin comes with an auto-updater that will download updates to the /plugins/OKLogger/update/ folder.​
    How do I set it up?
    Simply drop OKLogger.jar into your /plugins/ folder and let it generate a configuration file(/plugins/OKLogger/config.yml).​
    Example config.yml:​
    The maximum amount of logs to keep should be filled in. Please note that OKLogger creates a new file every day. So a value of "100" would mean that after 100 days have passed, OKLogger will start pruning logs.​
    If you enable command&chat overlapping, any commands listed will be logged both in the chat log and the command log. Perfect for /me, /say etc... . Only works if chat and commands are being logged in separate files. Separate with commas.​
    If you enable command filtering, only the commands listed will be logged. Separate with commas.​
    Log names can be set by changed the default name.​
    e.g.:​
    chat-log-name: 'chat'​
    command-log-name: 'commands'​
    This will save chat in /logs/<date>/chat.txt, and commands in /logs/<date>/commands.txt.​

    Commands
    Credits and Thanks
    Thanks to @Asphodan . It was his plugin request.​

    Changelog
    Version 1.1.6​
    • Code cleaning.
    • Uses new bukkit configuration API.
    • Added CubeList anonymous stat tracking. Can be turned off in config.
    Version 1.1.5​
    • Fixed an issue with permissions.
    Older versions (open)
    Older versions (open)

    Version 1.1.4​
    • OKLogger now also logs (x,y,z) coordinates in addition to the world's name when chat/ a command is logged.
    Version 1.1.3​
    • Logs are now saved in folders named by date. Delete your config.yml and let OKLogger generate a new one.
    Version 1.1.2​
    • Added a config option to log commands in the standard log/console.
    Version 1.1.1​
    • Added command&chat overlapping. This lets you specify commands that will appear in both the chat and command log ifthose are being logged in separate files.
    Version 1.1.0​
    • Added the option to turn off command logging.​
    • Added the option to turn off chat logging.​
    • Added command filtering. This allows you to filter which commands are logged.​
    • Added the ability to specify custom log names for chat and command logging.​
    Version 1.0.1
    • Fix for Bukkit's permissions.​
    Version 1.0.0​
    • Initial release.​
     
    tabpol9959 and Hopium like this.
  2. Offline

    Kalman Olah

    Permissions plugin/version?
     
  3. Offline

    kritska

    PermissionsBukkit 1.2k / CraftBukkit 1185
     
  4. Offline

    Kalman Olah

    Should be fixed now :).

    Version 1.1.5​
    • Fixed an issue with permissions.
     
  5. Offline

    kritska

    its working :cool:
    thanks
     
  6. Offline

    Kiwz

    Could it be possible to specify where to save the logs, so I can let it save it in my appache folder?
    And could it be possible to choose that it logs to one single file instead of one file each day?
    And is it compatible with the bchat, if not could it be?
    Seems like the plugin I need for mine website's MC-chatt page :D
     
  7. Offline

    Kalman Olah

    Version 1.1.6​
    • Code cleaning.
    • Uses new bukkit configuration API.
    • Added CubeList anonymous stat tracking. Can be turned off in config.
     
  8. Offline

    tzann

    [OKLogger] Attempting to enable OKLogger v1.1.6 by Kalman Olah...
    2011-10-12 20:11:03 [INFO] [OKLogger] Initiating auto-update...
    2011-10-12 20:11:03 [INFO] [OKLogger] You already have the latest version of OKLogger.
    2011-10-12 20:11:03 [INFO] [OKLogger] Permissions plugin not found, defaulting to Bukkit's permissions...
    2011-10-12 20:11:03 [INFO] [OKLogger] Successfully hooked into Permissions plugin.
    2011-10-12 20:11:03 [INFO] [OKLogger] Attempting to load configuration file...
    2011-10-12 20:11:03 [SEVERE] Error occurred while enabling OKLogger v1.1.6 (Is it up to date?): org/bukkit/configuration/file/YamlConfiguration
    java.lang.NoClassDefFoundError: org/bukkit/configuration/file/YamlConfiguration
    at me.kalmanolah.ol.OKConfig.load(OKConfig.java:59)
    at me.kalmanolah.ol.OKConfig.readString(OKConfig.java:53)
    at me.kalmanolah.ol.OKConfig.loadkeys(OKConfig.java:86)
    at me.kalmanolah.ol.OKConfig.configCheck(OKConfig.java:32)
    at me.kalmanolah.ol.OKmain.onEnable(OKmain.java:89)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:941)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:174)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:157)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:297)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:284)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:152)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    Caused by: java.lang.ClassNotFoundException: org.bukkit.configuration.file.YamlConfiguration
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    ... 15 more


    Do you know why this could be happening?
    Even if it's the only plugin installed, it still doesn't work...
     
  9. Offline

    Kalman Olah

    What bukkit build are you on? You need 1317+.
     
  10. Offline

    tzann

    I'm using 1317...
     
  11. Offline

    Kalman Olah

    Working for me on build 1330. Could be a bukkit issue, not sure.
     
  12. Offline

    austin101

    I was looking for a plugin like this one. I downloaded it slapped it on the server and its been working wonderful!
    I like the nice clean format for the files too.

    Thank you so much now I can stalk the server chat and command usage while I'm offline :)
     
  13. Offline

    Kalman Olah

    Glad it's useful to you :).
     
  14. Offline

    teknikeksperten

    is there support for mysql ? or will it be added ?
     
  15. Offline

    Kalman Olah

    Nope and nope. Flatfile only.
     
  16. Offline

    teknikeksperten

    hmm i kinda need mysql support to dont have it loaded in ram all the time (i am with redstonehost.com)
     
  17. Offline

    Kalman Olah

    The file isn't loaded in ram. It gets opened, written to, and closed, on a line per line basis.
     
  18. Offline

    Brvtvs

    Would it be possible (both from coding and just whether you would be willing to do it) to be able to include IP in the log? This seems like the best way I can find of combatting chat hackers (people who speak as notch, or the server and like to confuse my players). As it is, it can help me find them when I am on, but with IP I would be able to search their real names and ban them retroactively.

    EDIT: Wow for some ridiculous reason I did not realize it already supports this, thanks a lot. Nice plugin
     
  19. How do I disable auto-update in your plugins? I can't seem to find an option.

    Kinda problematic restarting server when the auto-updater is timing out on your host ^^
     
  20. Offline

    taso131

    Hi, I got a question.
    I am looking now for about 1 month for a plugin, which logs ALL commands including the chat.
    Yeah, I am using your plugin.
    But what I am really wishing, is that Admins should see ALL commands written in the chat.
    Like when somebody writes /warp t
    Then the admins should see in the chat (NOT in a .txt file)
    [Group]<UserName>: /warp t

    If you would make this feature, I would really love it.
    Please include with this command permission nodes if possible and a command.
    Not like publishing to all admins, because this could really spamm.
    Thanks!
     
  21. Offline

    Doctacosa

    First things first, thanks for the plugin, and good work: this is exactly what I was looking for. Simple, straight, to the point. :)

    Now, I've got a question. The plugin is installed, running, and actually logging things. So far so good. However, the usernames of the players are not displayed alongside each log line. Here's a sample output taken last night:

    I'm currently running a version of Bukkit compatible with Minecraft Beta 1.9 Pre-release 5.

    Is this a side-effect of the version of Bukkit I'm running? Everything else is running smoothly. Could it be a conflicting plugin, perhaps (I doubt it, but...)? Or is there a way to configure the output format so I can add that username information?

    Thanks for any help on this!
     
  22. Offline

    Kalman Olah

    Code:
    2011/11/28 21:10:46 | [CHAT] <testuser(127.0.0.1)>@world2(-30,64,248) : test
    2011/11/28 21:10:55 | [COMMAND] <testuser(127.0.0.1)>@world2(-30,64,248) : /test
    This is on CraftBukkit 1529.
     
  23. Offline

    Doctacosa

    Thanks for the quick reply. Based on that, I disabled all plugins saved for OKLogger, restarted the server, and I'm getting the same result. As such, I can rule out a conflicting plugin.

    I'll wait until a recommended build of CraftBukkit is available for 1.0, and I'll see how it behaves then. Maybe I'm running a slightly defective build, but I'd rather not mess with it unless I really have to!

    I'll report back if this doesn't go away with the update. :)
     
  24. Offline

    shanko

    So can this log things like players using .kill and .nyan and stuff like that?
     
  25. Offline

    Kalman Olah

    It can log all chat and commands, yes.
     
  26. Offline

    Doctacosa

    I updated to RB 1597 tonight, and I'm seeing the same result.

    Any clue as to what would be doing this? Am I missing something obvious?
     
  27. Offline

    Katorone

    Best chat logger i found! One question though, would it be possible to include the channel (herochat/channelchat/...) ppl are talking on?
     
  28. Offline

    eRko16

    Can i disable command /login ?
     
  29. Offline

    Royal_Soda

    We can haz src? :D
     
  30. Offline

    Kiste

    Does this prevent the server from dumping everything into "server.log"?

    If yes, could you please add MySQL support?
     
  31. Offline

    Kalman Olah

    Decompile it.
    No, it doesn't. It only logs stuff, it doesn't prevent standard logging.
     

Share This Page