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?​
    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.​
    chat-log-name: 'chat'​
    command-log-name: 'commands'​
    This will save chat in /logs/<date>/chat.txt, and commands in /logs/<date>/commands.txt.​

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

    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


    PermissionsBukkit 1.2k / CraftBukkit 1185
  4. Offline

    Kalman Olah

    Should be fixed now :).

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


    its working :cool:
  6. Offline


    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


    [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(
    at me.kalmanolah.ol.OKConfig.readString(
    at me.kalmanolah.ol.OKConfig.loadkeys(
    at me.kalmanolah.ol.OKConfig.configCheck(
    at me.kalmanolah.ol.OKmain.onEnable(
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(
    at net.minecraft.server.MinecraftServer.e(
    at net.minecraft.server.MinecraftServer.a(
    at net.minecraft.server.MinecraftServer.init(
    Caused by: java.lang.ClassNotFoundException: org.bukkit.configuration.file.YamlConfiguration
    at$ Source)
    at$ Source)
    at Method)
    at Source)
    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


    I'm using 1317...
  11. Offline

    Kalman Olah

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


    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


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

    Kalman Olah

    Nope and nope. Flatfile only.
  16. Offline


    hmm i kinda need mysql support to dont have it loaded in ram all the time (i am with
  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


    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


    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.
  21. Offline


    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

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


    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


    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


    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


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


    Can i disable command /login ?
  29. Offline


    We can haz src? :D
  30. Offline


    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