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

    cheeky_kingers

    I personally think its a very nice plugin for those not wishing to use something as complex as bigbrother. I don't need rollbacks. Just proof of griefers. This lives up to that very well.
     
  3. Offline

    Crete21

    With the current chest contents disappearing bug, i was wondering... is there any way to log chest contents with this plugin?

    That way when it does happen, i know what was in that chest
     
  4. Offline

    pokepal101

    Well I don't know how that works, and Bukkit uses an API system that isn't really designed for bug fixing or logging...
    So probably no.
     
  5. Offline

    blakefire

    Obviously saying "No Offense" Just means it should offend you, and secondly I mis-read the first post, dont be so quick to assume.
     
  6. Offline

    blakefire

    I think I found a flaw, it wont log things done with world edit, should try to fix it.
     
  7. Offline

    enilsss

    Hurray for the update! I love this simple plugin.
     
  8. Offline

    prefix

    Thanks! Is it possible to change the item to something other than stick?
     
  9. Offline

    ichingpow

    Yes, it's possible. I might add some config thing.
     
  10. Offline

    prefix

    Hooray :) No rush though, i managed to change SimpleChestLock to lock chests with wooden blocks :p
     
  11. Offline

    slowmonkey1227

    This is excellent! I love these lightweight plugins, they are easy to set up and easy to use. Good work Pokepal101! :D
     
  12. Offline

    blakefire

    I think I found a flaw, it wont log things done with world edit.
     
  13. Offline

    niallevans123

    How do you turn off /material ???
     
  14. Offline

    Knuckx

    Could you please fix this plugin to support multiworld as block changes interfere between worlds. For example:
    I change a block at 0,127,0 in world 'main'.
    I then goto world 'main_nether' and rightclick w/stick on block 0,127,0 the changes for the corresponding block in world 'main' show up.
     
  15. Offline

    xFli3r

    I RUV YOU!
     
  16. Offline

    FroyoShark

    I agree with this
     
  17. Offline

    ~Poke~

    On RB1000 it gives this error.

    Yes permissions, I know, you don't support the inbuilt bukkit ones yet...
    But I'm not interested in permissions, so if it's easy enough just to make a quick version which doesn't check for permissions at all? Could that be done? Please?


    Error below for reference:
     
  18. Offline

    The Zephyr Kid

    I might have missed it but after it is installed it keeps block history forever? lets say i install and someone breaks a block, 5 months later i can click there and see he did that? or is there a limit before it starts getting rid of old logs? thanks :D
     
  19. Offline

    glo_bros

    Please make a rollback feature! that would be awesome!!! Thanks
     
  20. Offline

    weini37

    1000 works to
     
  21. Offline

    seedorfj

    Thanks for this awesome plugin, banned my first griefer today. :)
    It is awesome and perfect for what I do. I also do a bunch of world edit stuff (only I can) and I want to let you know that this doesn't record super pick. But I like that because otherwise I would have too many block changes for it to handle. I am currently working on the Ultimate plugin that comes packed with everything for a great server, and I was wondering of you were the type who would maybe post a source code, This works great and I think I may just do a little SQL addition or something to that effect. Or I will end up writing my own, I will see how that goes.
     
  22. Offline

    Zaros

    Sometimes the more simple plugins are the better choices. Thank you.
     
  23. Offline

    Cranky Miner

    It's not compatibil with B1000.
     
  24. Offline

    Platypus1997

    where is it suppposed to say who broke cause i click with a stick and i get nothing
     
  25. Offline

    datwerd

    is there a command to purge old data from the database?
    ive been running your plugin now for a number of months
    querying the database is now taking quite some time
    excellent plugin saves so many arguments
     
  26. Offline

    pokepal101

    Phew. It's been a while, but here is v0.7
    Download: http://dl.dropbox.com/u/26746878/Log0.7.jar

    Changes:
    Added config file! Horray!
    Added code to look up air blocks by "placing" a bone, but it doesn't seem to work... Bukkit bug... I think...
    Made compatible with RB1060
    No longer compatible with Permissions plugin, requires PermissionsBukkit now (or similar).
    Probably some other stuff

    You can purge old data by deleting "logdata.db2" in the server directory.

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

    sparkhead95

    I have this issue when right clicking any block with the stick:
    [SEVERE] Could not pass event PLAYER_INTERACT to Log
    java.lang.NoSuchMethodError: org.bukkit.entity.Player.hasPermission(Ljava/lang/S
    tring;)Z
    at org.pokepal101.log.pokepal101.log.CPlayerListener.onPlayerInteract(CP
    layerListener.java:34)
    at org.bukkit.plugin.java.JavaPluginLoader$10.execute(JavaPluginLoader.j
    ava:307)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:321)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEven
    t(CraftEventFactory.java:168)
    at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.j
    ava:210)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:552)
    at net.minecraft.server.Packet15Place.a(SourceFile:57)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:84)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)

    PLEASE HELP!!!!!
     
  28. Offline

    pokepal101

    you need bukkit version 1000+
     
  29. Offline

    datwerd

    i am aware of this one problem with this is it purges everything would be nice to remove all logs from a player or all logs over a week old
     
  30. Offline

    Adrenaline

    Nice plugin but i have problem.. i have CB1000 and latest permissions plugin and only OPS can see who place/destroy blocks.. i give Admins permissions and dont work.. wtf? :/ do you can give me link do log 0.6 ?

    PHP:
        Admin:
            default: 
    false
            info
    :
                
    prefix'&4'
                
    suffix''
                
    buildtrue
            inheritance
    :
            
    permissions:
            - 
    'log.stick'
            
    'log.sticks'
            
    'modplugin.ban'
            
    'modplugin.kick'
            
    'modplugin.unban'
            
    'lwc.admin'
            
    'lwc.protect'
            
    'tombstone.*'
            
    'ChestShop.shop.*'
            
    'worldguard.*'
            
    'HomeX.*'
            
    'getwolfowner'
            
    'jobs.join.*'
            
    'jobs.world.*'
            
    'worldedit.wand'
            
    'tombstone.use'
            
    'worldedit.selection.expand'
            
    'worldedit.*'
            
    'worldguard.region.define.*'
            
    'worldguard.region.redefine.own.*'
            
    'worldguard.region.redefine.member.*'
            
    'worldguard.region.redefine.*'
            
    'worldguard.region.select.*'
            
    'worldguard.region.setparent.*'
            
    'worldguard.region.info.*'
            
    'commandbook.who'
            
    'commandbook.spawn'
            
    'commandbook.teleport'
            
    'commandbook.teleport.other'
            
    'commandbook.broadcast'
            
    'commandbook.mute'
            
    'commandbook.whereami'
            
    'commandbook.whereami.compass'
            
    'commandbook.slap.other'
            
    'commandbook.kick'
            
    'commandbook.bans.ban'
            
    'commandbook.bans.unban'
            
    'tombstone.freechest'
            
    'tombstone.freesign'
            
    'iConomy.access'
            
    'sendgift.send'
            
    'craftbook.*'
            
    'craftbook.mech.ammeter.use'
            
    'craftbook.mech.bridge'
            
    'craftbook.mech.bookshelf.use'
            
    'craftbook.mech.cauldron'
            
    'craftbook.mech.elevator'
            
    'craftbook.mech.elevator.use'
            
    'craftbook.mech.gate'
            
    'craftbook.mech.light-switch'
            
    'iQuest.CanQuest.*'
            
    'iQuest.CanDropQuest'
            
    'tombstone.lwc'
            
    'commandbook.rules'
            
    'commandbook.time.check'
            
    'okspamsecurity.ignore'
            
    'choptree.chop'
            
    'citizens.healer.use.heal'
            
    'citizens.trader.use.trade'
            
    'commandbook.rocket'
            
    'commandbook.rocket.other'
            
    'IPNotify.other'
            
    'log.stick'
     
  31. Offline

    pokepal101

    1) Are you sure you have made yourself/tester admin?
    2) You have in 2 "log.stick"s. Maybe the problem?
    3) Log 0.6 is available in the OP. It's next to the download button (in really small text)

    Unreleased Version 0.8
    What's coming up:
    • Commands! There are currently two: "/log purge", which purges all data from the database, and "/log clean <time>", which deletes all entries older than <time>.
    • Multiworld support, if I can get it to work.
    • I'm trying to get the bone to work.

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

Share This Page