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

    Hopium

    working great-one suggestion would be an option to separate chat and command logs into separate files with an option to filter what commands get sent to the chat file like /say /me etc.. otherwise its been working great no problems.
     
  3. Offline

    Kalman Olah

    Sure bro.

    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.

    Added the second part of your request :).
    Version 1.1.1​
    • Added command&chat overlapping. This lets you specify commands that will appear in both the chat and command log if those are being logged in separate files.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 18, 2016
  4. Offline

    Hopium

    wow you were working hard while i was sleeping :D gonna download the new jar and check it out thanks alot :D
     
  5. Offline

    Kalman Olah

    You're welcome :).
     
  6. Offline

    Hopium

    very cool i let it run for a while after i configured it and its running superb, i can't think of anything else to suggest for you :D cept maybe a feature to echo commands to the console so i can get rid of plglogcmd, otherwise thank you very much [cake]
     
  7. Offline

    Kalman Olah

    Sure, I'll add it as an option :).

    Here you go :).

    Version 1.1.2​
    • Added a config option to log commands in the standard log/console.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 18, 2016
  8. Offline

    Hopium

    your some kind of bukkit superhero :D
     
  9. Offline

    Kalman Olah

    Version 1.1.3​
    • Logs are now saved in folders named by date. Delete your config.yml and let OKLogger generate a new one.
    Thanks bro.
     
  10. Offline

    Plague

    Sorry for the delay in submission approvals, I've been away for a while.
     
  11. Offline

    Asphodan

    @Kalman Olah

    Possible to have certain commands stand out, or words?

    FlaggedCommands: /tp, /hat

    Say, for example, you know of an exploit that can be used with the combination of a few commands, and you think it's a managable risk. Can have the commands that are important to this stand out, maybe with some unique combination "*&*" for example, at the very start of the line. Scroll through (or search) for it, and then find that.

    Could blacklist words, racial slurs for example, and see if anyone's chat included a blacklisted phrase / word.
     
  12. Offline

    Kalman Olah

    No. It's a logger. Nothing more, nothing less.
     
  13. Offline

    Piedo_bear

    Any chance to log co-ords of where the commands were issued?

    Oh, and custom directory?
     
  14. Offline

    Kalman Olah

    Custom directories? Maybe in a future update :p.

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

    For Ceral

    It said: 21:45:22 [INFO] [Factions v1.4.5] === ENABLE START ===
    21:45:22 [SEVERE] [JARLOADER] This file does not exist: ./lib/gson.jar
    21:45:22 [SEVERE] [Factions v1.4.5] Disabling myself as ./lib/gson.jar is missing from the root Minecraft server folder.
    Please help me?

    I wrote in the wrong thread. I apologize lol.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 18, 2016
  16. Offline

    Xnapi

    Great plugin! I long for a config option to hide the users ip though ;)

    Also, is there a way to stop OKLogger from logging certain specifiable commands? If there isn't, could there be?
     
  17. Offline

    Asphodan

  18. Offline

    leiger

    Hey @Kalman Olah, just a small request.

    Could you please add a direct link to the JAR file for future updates? The link you are providing may be easier to manage for you, but it means that anyone hosting a server remotely on a linux machine can't use "wget" to retrieve it. I must download it to my computer, upload it to my own website, then use wget to grab it from there instead.

    I'm doing that at the moment and am about to test it. Out of the 3-4 threads I looked at, this seems like the best :)

    Edit: Works great! My only concern/wish is that there is a wget-friendly link for future versions.
     
  19. Offline

    Knödel

    Hi Kalman Olah,
    thanks for the plugin. I compared quite a lot of plugins of this kind and I think this one is the most fitting.

    Still, I was wondering if it would be possible to send a message in the In-Game Chat to Admins and Moderators when someone uses certain commands. I know this might be a little more than a logger, but it would be very useful for administration purposes.
     
  20. Offline

    Kalman Olah

    Confirmed to be working on CB 1185
     
  21. Offline

    recon88 Retired Staff

    Maybe you could change the command /ol ?
    /ol is used by the most online-player-lists as ours :/
     
  22. Offline

    Kalman Olah

    Open the OKLogger.jar with Winrar. Open the file called plugin.yml. Remove everything below "commands". That'll remove the /ol command. Not like you need to reload the config a lot anyway.
     
    recon88 likes this.
  23. Offline

    recon88 Retired Staff

    It's a solution but not the best =)
     
  24. Offline

    Kalman Olah

    Well I'm sorry, but I already make my commands weird to avoid conflicts.

    What kind of plugin dev would be like: "Hey, you know what? Lets use /ol!"
     
  25. Offline

    recon88 Retired Staff

    Deleted everything below "commands:" and getting this now:

    Could u not compile a 2nd version with /okl ? :/

    Code:
    02:47:10 [SCHWERWIEGEND] Error occurred while enabling OKLogger v1.1.4 (Is it up
     to date?): null
    java.lang.NullPointerException
            at me.kalmanolah.ol.OKmain.addCommand(OKmain.java:227)
            at me.kalmanolah.ol.OKmain.setupCommands(OKmain.java:215)
            at me.kalmanolah.ol.OKmain.onEnable(OKmain.java:149)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:920)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:278)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:173)
            at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:156
    )
            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)
     
  26. Offline

    Kalman Olah

    http://kalmanolah.net/uploads/OKLogger.jar
     
    recon88 likes this.
  27. Offline

    recon88 Retired Staff

  28. Offline

    colony88

    Perhaps permissions to ignore some players?
     
  29. Offline

    kritska

    hi Kalman Olah
    I have an error when I use the /ol reload ingame. In console I don't have this error.

    Code:
    2011-10-02 16:15:33 [INFO] [OKLogger] [COMMAND] <kritska(192.168.2.3)>@Freebuild(-118,85,119) : /ol reload
    2011-10-02 16:15:33 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'ol' in plugin OKLogger v1.1.4
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:41)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:353)
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:756)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:721)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:714)
    at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
    at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:500)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:464)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    Caused by: java.lang.NoSuchMethodError: com.nijiko.permissions.PermissionHandler.getUserObject(Ljava/lang/String;Ljava/lang/String;)Lcom/nijiko/permissions/User;
    at me.kalmanolah.ol.OKmain.CheckPermission(OKmain.java:167)
    at me.kalmanolah.ol.OKCmd.onCommand(OKCmd.java:25)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:39)
    ... 13 more
    sorry for my english :oops:
    thanks.
     
  30. Offline

    CommanderT1562

    Awesome! Just what i need to keep track of my admins :D!
     

Share This Page