Inactive [SEC] Log v0.8.2 - A lightweight alternative to BigBrother [PERMISSIONS] [1597]

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

  1. Offline

    pokepal101

    MOVING TO BUKKITDEV

    Log - A lightweight alternative to BigBrother.
    Version: v0.8.2
    NOTE: Users have reported problems using GroupManager.

    Log is a plugin that logs block changes. Currently it only records break and place events.
    Being the Bukkit plugin creator n00b I am, I probably made some n00bish mistakes, but it works, anyway.
    Compatible with 617 onwards. Latest build officially tested on 1597.

    Features:
    • Logs block place and destroy events
    • Lets you look up block place and destroy events using a stick
    • Permissions support
    • Block type/material logging - NEW IN 0.4
    • A block to check air and other non-clickable blocks - NEW IN 0.8.2, now works!
    • PLANNED: Auto-delete support - prevent buildup of old stuff
    • POSSIBLE: Rollback?
    • Plaintext buffered SQL alternative to prevent memory leaks - NEW IN 0.5
    How to use:

    How to use (open)

    • 1) Install.
    • 2) Ensure you have the correct permissions (see below)
    • 3) Right click block with stick. DING!
    • 4) If you want to check who destroyed a block, place a block there and right-click that.
      • 4a) Alternatively, "place" a bone where the block would be.
    • 5) To clean the database of all old entries, type '/log clean <time>', replacing <time> with a time unit (15m, 24h, 30d)
    • 6) To completely purge the database of all entries (when you start a new world or something), type '/log purge'


    Permissions:
    Permissions (open)

    • To use the stick lookup, you must have the 'log.stick' permission, or be an op.
    • To use the bone lookup, you must have the 'log.bone' permission, or be an op.
    • A 'log.*' permission is provided for your convenience.


    Admin Permissions:
    Admin Permissions (open)

    • To use '/log purge', you must have the 'log.admin.purge' permission, or be an op.
    • To use '/log clean <time>', you must have the 'log.admin.clean' permission, or be an op.
    • A 'log.admin.*' permission is provided for your convenience.



    Download jar: v0.8.2 | v0.8.1 (Dropbox) | v0.8 (Dropbox) | v0.7.1 (Dropbox) | v0.7 (Dropbox) | v0.6 (Dropbox) (Direct) | v0.5.1 (Dropbox) | v0.5 (Dropbox) UNSTABLE!! | v0.4 (Dropbox) | v0.3 (Dropbox)

    To download, click the link above, wait, then click the "Skip This Ad" button in the top right corner. If the link appears to not work in some way, try refreshing the page. Still not working? Use the (Direct) link (for versions 0.6-).

    Donate:
    Please, please, please, pretty please with sugar on top, donate to support the continued development of this plugin:
    [​IMG]

    Source Code: v0.8.2 | v0.7(.1) (Dropbox) | v0.6 (Dropbox) | v0.5.1 (Dropbox)
    For versions prior to 0.5, source code is packaged in the jar file.

    Changelog:
    Changelog (open)

    Version 0. 8.2:
    • "Added" bone lookup! Yippee!
    Version 0.8.1:

    • Fixed incorrect month number error (again)
    Version 0.8:

    • Added '/log purge' and '/log clean <time>' commands
    Version 0.7.1

    • Removed testing code
    • Fixed incorrect month number error
    Version 0.7

    • Made compatible with RB1060
    • Added config file! (plugins/Log/config.properties)
    • Added bone lookup (non-functional ATM due to Bukkit bug - I think)
    • Made compatible with PermissionsBukkit. Compatibility with original Permissions is unknown
    Version 0.6

    • Fixed incorrect version number 'bug' (again)
    • Fixed FileNotFound bug (again)
    Version 0.5.1

    • Fixed major bug with BufferedReader not being reset
    Version 0.5

    • Exams are over and I have begun working on this again (XD)
    • Tested with 953
    • BIG CHANGE: CHANGED OVER FROM SERIALIZED JAVA OBJECTS TO PLAINTEXT
      • Old filename: logdata.db
      • New filename: logdata.db2
      • Old files will be converted once the server starts/restarts.
      • Make sure you delete the old files once converted to prevent confusion.
      • Advantage: Before: 3.5MB. After: 2.8MB
    • And probably some other stuff
    Version 0.4

    • Tested with 733
    • Added more logged information: block ID, date and time
    • NB: Old data files still work (I think)
    • Fixed FileNotFound bug
    • Fixed incorrect version number 'bug'
    Version 0.3

    • Made compatible with Permissions plugin (node "log.stick")
    • Requires you to either have the permission or be an op to use the stick lookup
    • Fixed small grammatical mistake
    Version 0.2

    • Made compatible with 617
    Version 0.1

    • First release


    Videos:
    - JKapFilms

    Known Bugs:

    Please read this before posting about a bug or problem.
    • FIXED IN 0.5 Not shutting down the server correctly causes data in the last session to be lost.
    • FIXED IN 0.5.1 Possibly many bugs in 0.5. Currently testing.
    • FIXED IN 0.6 Stick does not check cache.
    • FIXED IN 0.7.1 AND 0.8.1 Incorrect month number shown. Even though this has been fixed, incorrect entries will still display incorrectly, however.
     
  2. Offline

    godgodgodgo



    Code:
    2011-04-12 15:16:31 [SEVERE] java.io.InvalidClassException: org.pokepal101.log.pokepal101.log.Position; local class incompatible: stream classdesc serialVersionUID = 1, local class serialVersionUID = -6953548090074503
    2011-04-12 15:16:31 [SEVERE]    at java.io.ObjectStreamClass.initNonProxy(Unknown Source)
    2011-04-12 15:16:31 [SEVERE]    at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)
    2011-04-12 15:16:31 [SEVERE]    at java.io.ObjectInputStream.readClassDesc(Unknown Source)
    2011-04-12 15:16:31 [SEVERE]    at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
    2011-04-12 15:16:31 [SEVERE]    at java.io.ObjectInputStream.readObject0(Unknown Source)
    2011-04-12 15:16:31 [SEVERE]    at java.io.ObjectInputStream.readObject(Unknown Source)
    2011-04-12 15:16:31 [SEVERE]    at java.util.HashMap.readObject(Unknown Source)
    2011-04-12 15:16:31 [SEVERE]    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2011-04-12 15:16:31 [SEVERE]    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    2011-04-12 15:16:31 [SEVERE]    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    2011-04-12 15:16:31 [SEVERE]    at java.lang.reflect.Method.invoke(Unknown Source)
    2011-04-12 15:16:31 [SEVERE]    at java.io.ObjectStreamClass.invokeReadObject(Unknown Source)
    2011-04-12 15:16:31 [SEVERE]    at java.io.ObjectInputStream.readSerialData(Unknown Source)
    2011-04-12 15:16:31 [SEVERE]    at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
    2011-04-12 15:16:31 [SEVERE]    at java.io.ObjectInputStream.readObject0(Unknown Source)
    2011-04-12 15:16:31 [SEVERE]    at java.io.ObjectInputStream.readObject(Unknown Source)
    2011-04-12 15:16:31 [SEVERE]    at org.pokepal101.log.pokepal101.log.LogPlugin.onEnable(LogPlugin.java:54)
    2011-04-12 15:16:31 [SEVERE]    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
    2011-04-12 15:16:31 [SEVERE]    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:578)
    2011-04-12 15:16:31 [SEVERE]    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:216)
    2011-04-12 15:16:31 [SEVERE]    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:115)
    2011-04-12 15:16:31 [SEVERE]    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:93)
    2011-04-12 15:16:31 [SEVERE]    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:215)
    2011-04-12 15:16:31 [SEVERE]    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:202)
    2011-04-12 15:16:31 [SEVERE]    at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:142)
    2011-04-12 15:16:31 [SEVERE]    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:257)
    2011-04-12 15:16:31 [SEVERE]    at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
     
  3. Offline

    sethgandy

    Works for Me :D
     
  4. Offline

    darthsiddious

    did you like it?
     
  5. Offline

    sethgandy

    Yep, was nice having the log info like that.
     
  6. Offline

    godgodgodgo

    Hey why don't you make a new thread for your updated version?
    I think it would be better than people looking through these comments to find an update :)
    Message me if you do :D
     
  7. Offline

    darthsiddious

    dont want to do that. im am one guy who is making a server, fourm page for minecraft.net as well as a website and other things. im not a programmer so i wouldnt be able to update as the updates come along. this plugin maker here has good ideas, i just gave a bandaid for a missing arm. its gonna help for the time being.
     
  8. Offline

    pokepal101

    Version 0.3 out
    Included Permissions support ("log.stick" node).
    Requires you to either have the permission, or be an op to use the stick.
    Fixed a grammatical error.
    http://704cd87b.linkbucks.com
    Click the link, wait, then click "Skip This Ad" in the top right corner.
     
  9. Offline

    StalinEXE

    Your plugin is greate, I like it!

    Will you add multilanguage soon?
     
  10. Offline

    Sir Ducksworth

    Hi, I just put Log v0.3 on and get the following message when starting my server...

    Code:
    2011-04-17 17:46:15 [INFO] Log version 0.2: Loaded.
    2011-04-17 17:46:15 [INFO] Log version 0.2: Events initialised successfully.
    2011-04-17 17:46:17 [SEVERE] java.io.FileNotFoundException: blocks.txt (The system cannot find the file specified)
    2011-04-17 17:46:17 [SEVERE]     at java.io.FileInputStream.open(Native Method)
    2011-04-17 17:46:17 [SEVERE]     at java.io.FileInputStream.<init>(Unknown Source)
    2011-04-17 17:46:17 [SEVERE]     at java.io.FileInputStream.<init>(Unknown Source)
    2011-04-17 17:46:17 [SEVERE]     at java.io.FileReader.<init>(Unknown Source)
    2011-04-17 17:46:17 [SEVERE]     at org.pokepal101.log.pokepal101.log.LogPlugin.onEnable(LogPlugin.java:63)
    2011-04-17 17:46:17 [SEVERE]     at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
    2011-04-17 17:46:17 [SEVERE]     at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:578)
    2011-04-17 17:46:17 [SEVERE]     at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:216)
    2011-04-17 17:46:17 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:115)
    2011-04-17 17:46:17 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:93)
    2011-04-17 17:46:17 [SEVERE]     at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:215)
    2011-04-17 17:46:17 [SEVERE]     at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:202)
    2011-04-17 17:46:17 [SEVERE]     at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:142)
    2011-04-17 17:46:17 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:257)
    2011-04-17 17:46:17 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    2011-04-17 17:46:17 [INFO] Log version 0.2: Permission system detected.
    2011-04-17 17:46:17 [INFO] Done (0.383s)! For help, type "help" or "?"
    It doesn't seem to affect anything in game though...
     
  11. Offline

    pokepal101

    Yea, sorry about that. Just a left over from my testing for version 0.4.
    Just ignore it.
    Putting note in OP.
     
  12. Offline

    Andre_9796

    @pokepal101 0.3 link isnt working for me. Can you please upload to normal mediafire or make it working?
     
  13. Offline

    albla cadeba

    A working link would be nice :(
     
  14. Offline

    Techcuron

    Link Broke....
     
  15. Offline

    pokepal101

    OK. Sorry guys for the broken Mediafire link. I've updated it to a Dropbox one. We apologise for any inconvenience.
     
  16. Offline

    Andre_9796

    Thanks
     
  17. Offline

    stewie1million

    Dropbox link broke.....
     
  18. Offline

    pokepal101

    Really? Works for me.
    Try refreshing the page.
    Or maybe Dropbox had some downtime...
     
  19. Offline

    stewie1million

    Still isn't working, i just get [​IMG] in the top left corner. Yes i clicked it and it just takes me to http://www.linkbucks.com/=S
     
  20. Offline

    Mike A

    I have 'log.stick' under my Mod/Admin groups in Permissions but the regular builders can use the stick, how is this? I have permissions set correctly, I need help!
     
  21. Offline

    Bakies

    worked the first time i started server but after that i got this error
    Code:
    22:27:16 [SEVERE] java.io.FileNotFoundException: blocks.txt (The system cannot find the file specified)
    22:27:16 [SEVERE]       at java.io.FileInputStream.open(Native Method)
    22:27:16 [SEVERE]       at java.io.FileInputStream.<init>(Unknown Source)
    22:27:16 [SEVERE]       at java.io.FileInputStream.<init>(Unknown Source)
    22:27:16 [SEVERE]       at java.io.FileReader.<init>(Unknown Source)
    22:27:16 [SEVERE]       at org.pokepal101.log.pokepal101.log.LogPlugin.onEnable(LogPlugin.java:63)
    22:27:16 [SEVERE]       at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
    22:27:16 [SEVERE]       at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:584)
    22:27:16 [SEVERE]       at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:218)
    22:27:16 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:116)
    22:27:16 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:94)
    22:27:16 [SEVERE]       at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:217)
    22:27:16 [SEVERE]       at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:204)
    22:27:16 [SEVERE]       at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:144)
    22:27:16 [SEVERE]       at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:259)
    22:27:16 [SEVERE]       at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    then when i try to use stick i get this
    Code:
    22:27:16 [SEVERE] java.io.FileNotFoundException: blocks.txt (The system cannot find the file specified)
    22:27:16 [SEVERE]       at java.io.FileInputStream.open(Native Method)
    22:27:16 [SEVERE]       at java.io.FileInputStream.<init>(Unknown Source)
    22:27:16 [SEVERE]       at java.io.FileInputStream.<init>(Unknown Source)
    22:27:16 [SEVERE]       at java.io.FileReader.<init>(Unknown Source)
    22:27:16 [SEVERE]       at org.pokepal101.log.pokepal101.log.LogPlugin.onEnable(LogPlugin.java:63)
    22:27:16 [SEVERE]       at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
    22:27:16 [SEVERE]       at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:584)
    22:27:16 [SEVERE]       at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:218)
    22:27:16 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:116)
    22:27:16 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:94)
    22:27:16 [SEVERE]       at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:217)
    22:27:16 [SEVERE]       at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:204)
    22:27:16 [SEVERE]       at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:144)
    22:27:16 [SEVERE]       at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:259)
    22:27:16 [SEVERE]       at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
     
  22. Offline

    Zeus5966

    Okay here goes the errors. i updated to 1.5_2 for bukkit server which is 7somthingsomthing and here is the error
    Code:
    22:55:18 [SEVERE] java.io.InvalidClassException: org.pokepal101.log.pokepal101.l
    og.Position; local class incompatible: stream classdesc serialVersionUID = 1, lo
    cal class serialVersionUID = -6953548090074503
    22:55:18 [SEVERE]       at java.io.ObjectStreamClass.initNonProxy(Unknown Source
    )
    22:55:18 [SEVERE]       at java.io.ObjectInputStream.readNonProxyDesc(Unknown So
    urce)
    22:55:18 [SEVERE]       at java.io.ObjectInputStream.readClassDesc(Unknown Sourc
    e)
    22:55:18 [SEVERE]       at java.io.ObjectInputStream.readOrdinaryObject(Unknown
    Source)
    22:55:18 [SEVERE]       at java.io.ObjectInputStream.readObject0(Unknown Source)
    
    22:55:18 [SEVERE]       at java.io.ObjectInputStream.readObject(Unknown Source)
    22:55:18 [SEVERE]       at java.util.HashMap.readObject(Unknown Source)
    22:55:18 [SEVERE]       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native M
    ethod)
    22:55:18 [SEVERE]       at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown S
    ource)
    22:55:18 [SEVERE]       at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unkno
    wn Source)
    22:55:18 [SEVERE]       at java.lang.reflect.Method.invoke(Unknown Source)
    22:55:18 [SEVERE]       at java.io.ObjectStreamClass.invokeReadObject(Unknown So
    urce)
    22:55:18 [SEVERE]       at java.io.ObjectInputStream.readSerialData(Unknown Sour
    ce)
    22:55:18 [SEVERE]       at java.io.ObjectInputStream.readOrdinaryObject(Unknown
    Source)
    22:55:18 [SEVERE]       at java.io.ObjectInputStream.readObject0(Unknown Source)
    
    22:55:18 [SEVERE]       at java.io.ObjectInputStream.readObject(Unknown Source)
    22:55:18 [SEVERE]       at org.pokepal101.log.pokepal101.log.LogPlugin.onEnable(
    LogPlugin.java:61)
    22:55:18 [SEVERE]       at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlug
    in.java:127)
    22:55:18 [SEVERE]       at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(
    JavaPluginLoader.java:584)
    22:55:18 [SEVERE]       at org.bukkit.plugin.SimplePluginManager.enablePlugin(Si
    mplePluginManager.java:218)
    22:55:18 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftSe
    rver.java:116)
    22:55:18 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftS
    erver.java:94)
    22:55:18 [SEVERE]       at net.minecraft.server.MinecraftServer.e(MinecraftServe
    r.java:217)
    22:55:18 [SEVERE]       at net.minecraft.server.MinecraftServer.a(MinecraftServe
    r.java:204)
    22:55:18 [SEVERE]       at net.minecraft.server.MinecraftServer.init(MinecraftSe
    rver.java:144)
    22:55:18 [SEVERE]       at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:259)
    22:55:18 [SEVERE]       at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:394)
     
  23. Offline

    ichingpow



    Can you add the changes he made, please? And test on 716? Thank you very much op! Really like how it is just light weight.

    Also fix the issue with blocks.txt and update so it says 0.4 instead of 0.2 :p
     
  24. Offline

    pokepal101

    *sigh*, people just don't understand that saying things like 'can i haz update?' or 'update plox' or 'UPDATE YOU [bleep]' won't make things any faster.

    OK. Version 0.4 out. Fixed some bugs, added some features, that sort of stuff. Also tested with Unofficial build 733.

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

    thedjshow

    Thanks now it's worls only for admins =) and you should fix rollback then it would be great ;)
     
  26. Offline

    StalinEXE

    Don't working (
     
  27. Offline

    pokepal101

    in what way? works for me (obvious, we don't just blindly release updates without extensive less extensive slack testing - hey, it's better than microsoft!)
     
  28. Offline

    StalinEXE

    Craftbukkit build: 733
    Log v0.4
    Permissions updated for plugin.

    When I click with stick, nothing happens.
    When gamers build or destroy block, chat tell me:

    Code:
    13:09:11 [SEVERE] Could not pass event PLAYER_INTERACT to Log
    java.lang.NullPointerException
            at org.pokepal101.log.pokepal101.log.CPlayerListener.onPlayerInteract(CP
    layerListener.java:24)
            at org.bukkit.plugin.java.JavaPluginLoader$9.execute(JavaPluginLoader.ja
    va:254)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:59)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:257)
            at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEven
    t(CraftEventFactory.java:162)
            at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:6
    4)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:431)
            at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
            at net.minecraft.server.NetworkManager.a(NetworkManager.java:195)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:74)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Sorry my bad English)
     
  29. Offline

    pokepal101

    See if there is a line on the console reading "Log version 0.4: Permissions system detected" or similar? If so:
    Are you sure you have Permissions installed? Does it work if you delete Permissions.jar (note you will have to be op if you delete permissions)?
    If not:
    The system is not detecting your Permissions plugin. PM me for further support.
     
  30. Offline

    Walnoot

    I will download this as soon as it gets rollback :)
     
  31. Offline

    StalinEXE

    Yes, I have Permissions plugin (for 3 month:)), and I have line "Log version 0.4: Permissions system detected". But plugin don't works (

    I use your plugin since 0.1 version and want to use more.
     

Share This Page