[INACTIVE][INFO] Commands Logging v1.1 - Logs whenever a player uses a command [818]

Discussion in 'Inactive/Unsupported Plugins' started by LRFLEW, Mar 19, 2011.

  1. Offline

    LRFLEW

    Commands Logging - Logs whenever a player uses a command

    This logs whenever a player uses a command, wether or not another plugin uses it, so you can see if other players are using any commands you don't want them to.

    Features:
    • Logs commands by players
    • Log to the server's log and/or a separate log just for commands
    Downloads (to all my projects and source):
    http://lrflew.ismywebsite.com/bukkit.html
    Mirror:
    http://dl.dropbox.com/u/22202470/ComLog.jar
    Source Code: http://dl.dropbox.com/u/22202470/ComLog.zip

    Changelog:
    • 1.1: Removed redundant source code hidden in the jar file
    • 1.0: fixed file access for new standard, changed comments in settings file, and added better messages for invalid settings.
    • 1.b: added experimental new-file logging. Please test!
    • 0.2: added ebean dependency
    • 0.1: Initial release. Reports all commands.
     
    Phaedrus, g_BonE and weasel5i2 like this.
  2. Offline

    Juze

    Nice, I missed this plugin from hMod. Thanks!
     
  3. Offline

    weasel5i2

    Sweet! Using this I can possibly get my now-defunct LastCommand plugin working again!! I'll give credit where credit is due, of course. :)
     
  4. Offline

    Kainzo

    Very nice! Although where do the logs go? I'm not seeing a comlog folder or anything like that.
     
  5. Offline

    xtream1101

    I am having that same problem.

    It logs it in the console fine, but doesn't output it anywhere.
    Code:
    [INFO] xtream1101 used command "/home"
     
  6. Offline

    LRFLEW

    Try server.log :p
     
  7. Offline

    Kainzo

    oh i was under the impression it would be in a completely different file - but that works just as well.
     
  8. Offline

    xtream1101

    can this be made to output to its own file?
    Because otherwise it shows the commands in there even without this plugin.
     
  9. Offline

    LRFLEW

    I can, but my skills with file reading/writing are not that amazing :p (just check out the source to my other project Unknown Command). It doesn't always show a command when used, only if it doesn't exist :p. This was originally going to be a supplementary plugin for Unknown Command as the latest version doesn't return commands anymore, but it still needs work.

    EDIT: I should probably reiterate :p. CraftBukkit has a default "<Player> issued server command <Whatever>", but when a plugin uses the command, it doesn't show that. This plugin logs commands no matter if a plugin uses it or not :p.
     
  10. Offline

    Kainzo

    Gotta say that this owns hard. Everyone should have it!
     
  11. Offline

    wizzywoo

    THANK YOU SO MUCH ! :) Nuff Said
     
  12. Offline

    Zaros

    Could you please make it create its own file? Server.log is full of other things that aren't necessarily related, and it can get quite large in size.
     
  13. thanks for this !
     
  14. Offline

    eRko16

    Please make config with command in /plugins/Commands/command.txt
     
  15. broken with b602jnks:

    Code:
    2011-03-30 13:48:44 [SEVERE] Could not load plugins\ComLog.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
    	at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:102)
    	at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:158)
    	at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:106)
    	at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:62)
    	at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
    	at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
    	at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.reflect.InvocationTargetException
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    	at java.lang.reflect.Constructor.newInstance(Unknown Source)
    	at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:98)
    	... 8 more
    Caused by: java.lang.VerifyError: class com.LRFLEW.bukkit.comlog.ComLog$PlayerEvents overrides final method onPlayerCommandPreprocess.(Lorg/bukkit/event/player/PlayerChatEvent;)V
    	at java.lang.ClassLoader.defineClass1(Native Method)
    	at java.lang.ClassLoader.defineClass(Unknown Source)
    	at java.security.SecureClassLoader.defineClass(Unknown Source)
    	at java.net.URLClassLoader.defineClass(Unknown Source)
    	at java.net.URLClassLoader.access$100(Unknown Source)
    	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)
    	at com.LRFLEW.bukkit.comlog.ComLog.<init>(ComLog.java:13)
    	... 13 more
    
     
  16. Offline

    tha d0ctor

    great now my server file can get larger faster! It was at 1gb the other day before I deleted it lol
     
  17. Offline

    oleerik

    Would be AWESOME if this could write to an file of its own or write to mysql :)
     
  18. Offline

    LRFLEW

    Something broke big time. I may not have time to fix it until this weekend, but it will get done, don't fret.

    It's coming :p. I just need to work with the file read/write system (the one I use is awful).
     
  19. Offline

    LRFLEW

    I cannot recreate this anymore. Try the latest recommended build and see if you still get this error.
     
  20. Offline

    TheDarkness73

    Does this work with 617?
     
  21. Offline

    LRFLEW

    Should. The only reason I put 627 is that it was the build it with.
     
  22. Offline

    TheDarkness73

    So when it says like build 627, it will also worker with the older builds as well?
     
  23. Offline

    LRFLEW

    Here's my stance on the version thingy-mo-bob: the number is what version I built the plugin with. I cannot guarantee it will work with older or newer versions, but unless specified, imply it does. If it doesn't work for you, post it here, and I'll update it.
     
  24. Offline

    abaldwin11

    This is an AWESOME plugin, I love it. I do hope one day it will have it's own file for the log instead of being in the server log.
     
  25. Offline

    LRFLEW

    AN ANNOUNCEMENT ABOUT THIS PLUGIN:
    This will soon be able to log to it's own file. I have the logging finished, just need to setup some simple settings, debug, and release. Stay tuned!
     
  26. Offline

    xtream1101

    Great job on adding it to log to a file.

    Been using it for a few hours with cb #617 and it seems to work great!
     
  27. Offline

    ShaDooM

    Works flawless on #670 thank you sir

    You just recieved some interwebz love <3
     
  28. Offline

    abaldwin11

    I can't wait!!! This will make this plugin even more awesome!
     
  29. Offline

    LRFLEW

    ??? use v1.0 :p
     
  30. Offline

    abaldwin11

    Nice so now I just need to updated the version I have, even better.... sorry about that.
     

Share This Page