[ADMN] PlgLogCmd v2.0 - log player commands [1.4]

Discussion in 'Archived: Plugin Releases' started by Plague, May 11, 2011.

  1. Offline

    Plague

    PlgLogCmd - log player commands
    Version: v2.0

    Any command a player types in (/xxxxx) this plugin logs into server console. That's it!
    Done on request by @Brock Blocking Samson

    Features:
    Logs all commands the player types in.

    Download (source code in the .jar)

    [​IMG]

    Changelog:
    Version 2.0
    • updated to new bukkit API
    Version 1.0
    • Initial release
     
  2. Offline

    silverwing754

    wat does it do
    i need a discription on how it works and a video on it that i can watch to see how it works
     
  3. Offline

    Plague

    Updated to new bukkit API

    If that is true, please don't run a server.

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

    silverwing754

    I'm looking for plugins for my mate and i want a plugin that makes players login with a password like
    /register afk
    then each time they login they have to do /login afk
     
  5. Offline

    Plague

    And this plugin (as the title itself says) logs player commands, it does not do a login or anything like that.
     
  6. Offline

    silverwing754

    for now on put a description in the plugins
     
  7. Offline

    Plague

    I guess "Any command a player types in (/xxxxx) this plugin logs into server console. That's it!" is too complicated to read for some not so bright people then.
     
  8. Offline

    L24D

    Hey hey Plague
    Got a bit of a bump with your newest release....
    Bit of an error when the server shuts down:

    Code:
    2012-02-24 16:00:00 [INFO] [PlgLogCmd] Unloading PlgLogCmd v2.0.
    2012-02-24 16:00:00 [SEVERE] Error occurred while disabling PlgLogCmd v2.0 (Is it up to date?): null
    java.lang.AbstractMethodError
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:233)
        at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:1083)
        at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:397)
        at org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:390)
        at org.bukkit.craftbukkit.CraftServer.disablePlugins(CraftServer.java:186)
        at net.minecraft.server.MinecraftServer.stop(MinecraftServer.java:385)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:465)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
     
  9. Offline

    Plague

    I don't even react to server shutdown so that's really strange. What CB version anyway?
     
  10. Offline

    L24D

    Plague
    It's the last RB.. 1846
    I never use anything other than Recommended builds.. Had a few odd experiences in the past. :p
     
  11. Plague
    Would it be possible to update this for 1.2 please? Its quite useful.
     
  12. Offline

    Plague

    I thought it would work as I updated to the new bukkit API. Have you tested it or just never tried because of 1.1 in the title? I update the title for recommended builds.
     
  13. Plague
    It gave me an error on load, i didnt actually test it any further then that. So it may indeed work but just give an error on load.

    The below error is from using together with CB2013.

    Code:
    17:12:24 [SEVERE] Could not load 'plugins/PlgLogCmd.jar' in folder 'plugins'
    org.bukkit.plugin.InvalidPluginException: java.lang.NoClassDefFoundError: org/bukkit/event/player/PlayerListener
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:148)
            at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:287)
            at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:211)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:207)
            at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:183)
            at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:53)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:156)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)
    Caused by: java.lang.NoClassDefFoundError: org/bukkit/event/player/PlayerListener
            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:41)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:29)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at cz.Plague.bukkit.PlgLogCmd.PlgLogCmd.<init>(PlgLogCmd.java:18)
            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:144)
            ... 8 more
    Caused by: java.lang.ClassNotFoundException: org.bukkit.event.player.PlayerListener
            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:41)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:29)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            ... 27 more
    
     
  14. Offline

    Plague

    From what I see in the log, you have not updated my plugin to the newest version.
     
  15. Sorry, i didnt read the topic, i only read the bit at the top. Ill give the latest version a whirl.

    PlgLogCmd - log player commands
    Version: v1.0

    Edit:
    The latest version indeed loads up just fine, no errors.
     
  16. Offline

    Plague

    Oooh, forgot to change that line!
     
  17. Offline

    Vincent1468

    update to 1.2? :S
     
    Pim1234 likes this.
  18. Offline

    Buckethead

    1.2 update?
     
  19. Offline

    Plague

    There is no 1.2 recommended on dl.bukkit.org
     
  20. Offline

    Pim1234

    there are dev builds and even beta build nearly everyone is using...
     
  21. Offline

    Plague

    Yes, but plugin titles are to be using recommended builds.
    Anyway what's the problem? I would bet you haven't even tried to use this plugin with 1.2 and just posted here ;)
     
  22. Offline

    Pim1234

    xD

    no, i'm not one of those retards.
    i used to use your plugin until 1.2, when i was forced to use dev builds.

    oh and the problem is that i can't use your plugin.
    i get paranoid without it ;)
     
  23. Offline

    Buckethead

    could u just do it for 2060 beta?
     
  24. Offline

    Plague

    Okay I'm sorry, but I'm quite mad now!
    Are you not reading what I'm writing to you???
    The plugin works with beta, but the title will change on recommended only!

    Even though I was pretty sure it has to work, I thought that you must be right and there is a problem, so:

    I had to download some beta build, put it on my testing server, update my testing client (which I do not want to do yet), sit through map conversion and for what?

    For seeing that everyting WORKS just as I predicted.

    So guys, you obviously did not even TRY to use the plugin with 1.2, yet you keep posting here and waiting. Instead of trying it for 10 seconds of your time you are waiting for X days and even taking my time because of it.
     
  25. Offline

    Buckethead

    i did try it and it broke thats i asked
     
  26. Offline

    Pim1234

    i am not updating my bukkit, i am using a dev build i am pretty happy with and i do not want to update because i don't want it all to break again (might be stupid, idc). when i updated to 1.2 your plugin was one of the plugins that broke for me so i thought it wouldn't be unfair to post that, sorry if i were wrong about that...
     
  27. Offline

    Plague

    Then you have not updated form 1.0 to 2.0 of my plugin.
    dtto
     
  28. Offline

    Pim1234

    oh ok, i didn't notice there was a new version.
    most devs change their title to 1.2, i know you won't do that but i thought that that meant that it wasn't updated.

    my apologies.
     
  29. Offline

    Babadegl

    hello

    can you make this plugin to create a new file? i want a log with ONLY commands (no chat) so this plugin would be great
    or does a plugin like this already exist?
    thanks
     
  30. Offline

    Plague

    I think some plugins might do that, I don't really add more features anymore.
    But you can still just run grep or some other tool to filter this out.
     
  31. Offline

    Xavier5293

    Hello
    I find your plugin quite usefull but I have a little problem with it :/

    It logs all commands, even the /login one. And so it also log my user's password. I'm not the only one who can see the server.log, so it's a little bit of a problem :/

    Do you have any solution or any idea for this ? I mean for the plugin stop logging the /login command.
    Thank you.
     

Share This Page