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

    enilsss

    This plugin's simplicity is amazing. I would love to see it updated. I gave all of my server's regulars the ability to use the stick and bad-people placing blocks they shouldn't place were being caught left and right.
     
  3. Offline

    Jotschie

    please update this awesome plugin... anyone?
     
  4. im not trying to be another one of those guys, but could you please update this plugin. i dont know how to work mySQL or i would use logblock or whatever. you are my only hope. :)
     
  5. Offline

    iffa

    For all of you that want this plugin to be 'updated', I checked the source and well... here is your 'updated' version (no new features, just one small fix): http://dl.dropbox.com/u/16261496/Log.jar
     
  6. Offline

    EpicATrain

    Works beautifully on 860
     
  7. Offline

    ichingpow

    I will contact pokepal and ask him if I can take over.
     
  8. Offline

    pokepal101

    it's true that this is inactive.
    i have exams. and sickness.
    but it works on the latest build (if you do everything properly).
    the + was simply to indicate that all builds from 617 onwards are compatible with a version of the plugin.
     
  9. Offline

    ichingpow

    So can I maintain it?
     
  10. Offline

    pokepal101

    well... you can take the source and modify it, and PM me the updates and i'll put them in the post (acknowledging you of course)
    exams are over in a week or so anyway, and i'll be able to update this again.
     
  11. Offline

    ichingpow

    I plan to work on it a bit as soon as I can get a decompiled version of iffa's update (I want to see the "fix").
     
  12. Offline

    pokepal101

    Finally updated!
    Version is 0.5 and it's a big update!
    We have eliminated the problem with memory leaks AND (partially) the bug where data is not saved if the server shuts down suddenly!

    Download link: [removed]

    Note to moderator: Please move this back to the normal plugins thread thing.

    Update: Version 0.5.1
    Fixed bug with BufferedReader not being reset.

    Download: [removed]

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

    ichingpow

    The code isn't in JAR file. DJ decompiler, here I come!
     
  14. Offline

    pokepal101

    Yeah. I'm uploading a separate source zip now.
    Sorry for any inconveniences.
     
  15. Offline

    Clucky

    What does this mean?

    Code:
    02:27:14 [INFO] Log version 0.4: Loaded.
    02:27:14 [INFO] Log version 0.4: Events initialised successfully.
    02:27:14 [SEVERE] java.io.FileNotFoundException: logdata.db2 (No such file or directory)
    02:27:14 [SEVERE]     at java.io.FileInputStream.open(Native Method)
    02:27:14 [SEVERE]     at java.io.FileInputStream.<init>(FileInputStream.java:137)
    02:27:14 [SEVERE]     at java.io.FileReader.<init>(FileReader.java:72)
    02:27:14 [SEVERE]     at org.pokepal101.log.pokepal101.log.LogPlugin.onEnable(LogPlugin.java:87)
    02:27:14 [SEVERE]     at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
    02:27:14 [SEVERE]     at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:857)
    02:27:14 [SEVERE]     at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:264)
    02:27:14 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:151)
    02:27:14 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:136)
    02:27:14 [SEVERE]     at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:284)
    02:27:14 [SEVERE]     at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:271)
    02:27:14 [SEVERE]     at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
    02:27:14 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
    02:27:14 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
     
  16. Offline

    pokepal101

    It means you have helped my find a bug. Just create an empty file in the bin folder of the server called 'logdata.db2' for now.

    Update: Version 0.6
    Fixed a couple o' bugs.
    Download: [removed]

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

    Assassin

    so what is different about it ?

    comparing to BigBrother?
    im interested
     
  18. Offline

    ichingpow

    You've obviously haven't used BigBrother or Log. Read the first post!

    Basically Log only logs block breaks and placement and is a lot faster and smaller and doesn't have chest logging, rollback, etc.
     
  19. Offline

    pokepal101

    (clears throat) err, it does log block placements as well...

    chest logging, rollback and etc will come... soon...
     
  20. Offline

    ichingpow

    Yeah I forgot about that :p

    I personally don't want anything but placement and break logging. Remember the lightweight part?
     
  21. Offline

    arsjet

    please add setting.
    • ignore group=Admins,level2
    • Separate log for each day.(Please if possible.)
     
  22. Offline

    pokepal101

    I was thinking about adding a separate permission (log.ignore) which ignores block changes, but decided against it.
    It might come later.
    The second option might also come later. If it's fine to just delete old log entries, setting the 'clear' log after setting to 1 day might work (when I add that option).
     
  23. Offline

    arsjet

    Thank you !
     
  24. Offline

    arsjet

    Additional features would you like. Sorry many times.
    Can reduce the storage space in the log by this.
    • To log only when the block was installed.
    • To log only when the block broke.
     
  25. Offline

    Assassin

    ok thanks
     
  26. Offline

    pokepal101

    I'm not sure what you mean, but if you mean what I think you mean, then the plugin already only does those two things.
    More options will probably come later and will be disable-able.
     
  27. Offline

    Dothackking

    Where does it store the logs?
     
  28. Offline

    pokepal101

    In the root directory of the server (the folder with server_nogui.bat) in a file called 'logdata.db2' or 'logdata.db' in the older version.
     
  29. Offline

    tommydrum

    links down, well the whole site of linkbucks.com (maybe its chrome?)
     
  30. Offline

    blakefire

    Before I download what if someone breaks a block how will i know who destroyed it since it's not there to click?
     
  31. Offline

    ichingpow

    No offence intended but you obviously can't read.
    That's part of the original post quoted, now read 4) in "How to use:".

    Was it really that hard that a 13 year old had to explain how to read to you?
     

Share This Page