Inactive [INFO/ADMIN] LogBlock v1.54 - Enderdragon Logging! Tree Grow Logging! [1.4.5]

Discussion in 'Inactive/Unsupported Plugins' started by DiddiZ, Feb 15, 2011.

  1. Offline


    Version: 1.50​
    Find and Backroll those Damn Griefers
    LogBlock release are on DevBukkit:

    LogBlock dev builds:

    Please read the installation guide

    I won't port LogBlock myself to mcAPI. Source code is available, so it shouldn't be to difficult for someone else to do it, also I'm still here. so I can answer questions. If there is more than one willing, that's up to you to handle that.

    The reasons I take this step, are the usual: I quit playing Minecraft about 5 months ago and lastly I was struggling to keep up with updates. The developement of Guardian made slow progress, so I fear it won't be ready to fully replace LB in time.

    Download latest dev build: Jenkins
    View the source code: GitHub
    Table of contents:
    1. Description
    2. Features
    3. Why to use LogBlock
    4. Example command
    5. Older versions
    6. Change log
    7. Todo list / feature requests
    8. Permission nodes
    9. Plugins supporting this
    10. Support the dev
    11. How to post error messages
    12. Advertizing

    LogBlock logs block changes into a MySQL database. Block changes can be placed or destroyed block, explosions, burned blocks, sign text changes, chest access, leaves decay etc.
    It can be used as griefer identification tool, to find out who build a particular building, or even roll back changes by certain players. Other purposes can be e.g: Undoing of forest fires
    All additional features are optional, to keep the database as short as possible. All database actions run in their own threads to avoid server lags.
    The use of permissions plugin (or any clone) is possible, but not necessary.
    Uses Spout for chest logging (but it's fully optional, and there is no need for the client mod at all).

    • Logging for block placing, block braking, fire, explosions, leaves decay, signtexts, lava flow and chest content
    • Very mighty commands system, not only allowing to rollback and redo, but also to tp to blockchanges, delete log ingame etc. Full list of commands.
    • Many parameters for lookup/rollback/redo/tp/clearlog commands: Block changes of one ore more player, in a specific area, in a world edit selection, specific block types only, block changes older or newer that a specific date, destroyed/created block only, in a different world and combinations of all these parameters. Full list of parameters.
    • Rebuilding map after importing a backup (/lb redo)
    • Last parameter to use the parameters of the last command
    • Quick ingame lookup of block history a wood pickaxe or a bedrock block.
    • All commands accessible from console (exept tools :D)
    • Custom queries for tools.
    • Different tool modes (lookup, rollback, redo, writelogfile and clearlog)
    • Saves block data like wool color, log type, torch adjustment, etc
    • Multiworld and multiserver support (some servers sharing the same database)
    • BigBrother log import
    • Loggable super pickaxe plugin (not to confuse with WorldEdit's super pickaxe)
    • API
    • Webstats
    Why to use LogBlock:

    Example commands: (thanks to tha d0ctor, read more about commands here)

    /lb rollback player fire since 1d3h – rolls back fire 1 day 3 hours
    /lb rollback player fire since 1d3h area 15 – rolls back fire 1 day 3 hours within a radius of 15 blocks

    /lb rollback player thad0ctor since 1h - rolls back thad0ctor 1 hour
    /lb rollback player thad0ctor since 1d area 5 – rolls back thad0ctor actions for the last day within 5 blocks
    /lb rollback area 10 since 1h30m - rolls back all modifications within 10 blocks since the list 1 hours and 30 mins
    /lb rollback area 10 before 06.11.2011 - roll back all changes in an area of 1o before June 11th, 2011
    /lb rollback player thad0ctor since 05:36:00 - roll back all changes of thad0ctor since 05:36 (server time)

    Download, Command, Configuration and Details:

    -> Full changelog
    • LogBlock v1.50 # 81 (Dez. 13, 2011)
      Works with CraftBukkit 1.0.1-R1
      • Feature: /lb me shows the total block count
      • Feature: Chest logging without spout
      • Feature: Enderdragon logging
      • Feature: Logging for tree and mushroom grow (thanks to MD5 for the api)
      • Fix: Area param works again with default radius
      • Fix: Rollbacks got slowed down a bit to avoid rare server crashes
      • Fix: If mysql username, password or database only consist of unquoted numbers, LB will read them now
      • Config: World configs changed totally, some names changed and all logging options are now in an own section
    • LogBlock v1.41 #63 (Nov. 15, 2011)
      Works with CraftBukkit recommended build #1337
      • Fix: Players with spawnTools permission are no longer allowed to spawn all tools.
      • Fix: Added a check to avoid "The permission xy is already defined!" errors
    • LogBlock v1.40 #60 (Nov. 09, 2011)
      Works with CraftBukkit recommended build #1337
      • Feature: Custom auto ClearLog
      • Feature: Reduced error spam. Instead of like 40 line of error code, there is now just a warning stating the MySQL con
      • Feature: The queue will now be dumped after 10 tries even when the MySQL server is connected
      • Feature: Custom material names, allows naming custom blocks
      • Feature: LogBlock will now respond to messages when started without MySQL connection
      • Fix: Log import runs now async
      • Fix: Log import errors won't crash the server
      • Fix: Console commands work again
      • Fix: You can now use upper case letter in tool names (I don't know why you even should, but ...)
      • Config: Added, clearlog.enableAutoClearlog in main config. Added materials.yml. Removed clearlog.keepLogDays
      • Permissions: Added 'logblock.spawnTools'
    • LogBlock v1.32 (Oct. 04, 2011)
      Works with CraftBukkit recommended build #1240
      • Feature: Player info logging: firstLogin, lastLogin, onlinetime, ip. No ingame lookup yet.
      • Feature: /lb queuesize to see the current queue size
      • Fix: Door logging logs now also fence gates
      • Fix: Bukkit api break in CB #1191
      • Fix: time restriction works now as intended. Thanks to xrobau
      • Fix: Players with insufficient permissions can't smuggle bedrock from one world to another
      • Config: Added logPlayerInfo
    • LogBlock v1.30 (Sep. 22, 2011)
      Works with CraftBukkit recommended build #1185
      • Feature: Chat lookup /lb chat player diddiz search +admin +sucks +dicks (more info)
      • Feature: Door logging
      • Feature: Dynamic tools, define your own tools
      • Feature: Use since and before to define a timespan
      • Feature: Enderman logging
      • Feature: cake logging (who ate it)
      • Config: Added logEndermen, logCakes and logDoors to world config and moved the tool section in main config.
      • Permissions: logblock.tool changed to and
        logblock.toolblock to
    Todo List:

    Permission Nodes:

    Plugins supporting Logblock:
    List (open)

    When you want to appear your plugin here, tell me about

    Support the developer (that's me :D):
    If you want to support me writing plugins or want to thank me for the plugin/support, you can: Suggest features I missed, report bugs (best with fix :D), donate via PayPal, flattr my plugins, gift me The Witcher 2 (thanks to newyoukdaily), 2x 1GB DDR1 modules (thanks to HonestFlames), or send me the inner life of a laptop or netbook with a broken display (need it to build a model aircraft, so there is no need for parts like display and keyboard).


    How to post error messages:

    I won't aswer questions to general MySQL setup/installation/what is MySQL (there are lots of good tutorials out there, use google)
    Please read the installation guide before asking a question about installation problems.
    Please read the FAQ before posting a error report. It may be solved there.
    In case of rollback or lookup problems: Type /lb savequeue and try again (when it's fixed then, it was a consumer problem, see FAQ)
    When you post error messages, it's important to paste the whole stack trace!

    Newyorkdailys Plugin Support Buisness (open)
    Still can't get LogBlock working, or any other plugin? Are you getting errors in your console and cant figure out why? Newyorkdaily offers Basic/Advanced Plugin support.
    • General/Advanced troubleshooting: FREE!
    • Plugin Installations: 1-2 Plugins - FREE!
    • 3 or More Plugins - $2
    Click on the link below to connect to him now!

    There is a LogBlock irc channel: #logblock at
    You can ask me on skype. My name is 'hawky.diddiz'.
  2. Offline



    with LB 1.10 and CB 860 ... how can I teleport to a griefed location without being killed? Every time I tried tp it took me below bedrock...that causes me falling, being kicked, and dieing after relogging. If not below bedrock, it took me always below surface "into" the dirt (causes dieing again).
    Commands I tried
    /lb tp player <name>
    /lb tp block fire since 4 hours
    /lb tp block fire before 18.06.2011
  3. Offline


    You could just use the coords param and walk there, as an alternative.
  4. Offline


  5. Offline


    Can anyone help me to set up a MySQL, ive tried several times but on the configuration and the very end, it keeps saying that it failed to run?
  6. Offline


    help me plz? im using permissions 3.1.5b, but its not enabling logblock?? help plz on how to enable?
  7. Offline


    Hm, it was a tool lookup. Got blocked, somehow the connection pool freezed. Will have a look at that.
    There are some tuts on youtube explaining that very good:
    Um, do you mean logblock says: "permissions plugin not found, using default permissions)" or LB not starting at all?
    In last case, the error message would be very helpful.
  8. Offline


    Sorry for the question. But I still do not understand. My player broke someone's house during the time interval 12:00-12:15, and I want to roll back this time, how do I do? =)
  9. Offline


    Go to the house and do:
    /lb rb player <name> since 12:00:00 area 20
    or make a world edit selection containing the house and use "sel" instead of "area 20"
  10. Offline


    Thank you very much. Tell me how you look at the statistics MySQL, to know what the load is, and how many survive values.
  11. Offline


    How to use player kills logging?
  12. Offline


    Hm, phpmyadmin can tell how many rows are in a table
    It's made for webstats, but there aren't done yet.
    So you've to write your own interface for that, or wait untill I get it done :D
  13. Offline


    when i right click a chest with a wooden pick, it doesnt show logging and yes i have it enabled in my config.
  14. Offline


    Did you install BukkitContrib?
  15. Offline



    ah nevermind i got it but now it only shows who took/put stuff when you open the chest again after you put/take stuff.

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


    Hm, you should notify Afforess about:
  17. Offline


    Turns out that it was trying to delete 7 days worth of logging - strange.. so I just dropped the db and created it again - everything seems fine.
  18. Offline


    I've been fighting with this for a week, since 1.01 and can't figure it out. I keep getting "You aren't allowed to do this" even trying an /lb lookup. I've verified that I'm in the Admin group in Permissions and that group has 'logblock.*', as well as being an actual OP on the server, verified in ops.txt.

    What on earth can I be doing wrong/have missed?
  19. Offline


    What does LB says about permissions at sartup? found or not found?
  20. Offline


    [INFO] [LogBlock] Permissions found.
  21. Offline


    Then you most likely configured permissions wrong.
    What does it say when yu type: "/lb permissions"
    Does it work when you have "*" permissions?
  22. Offline


    ...I feel like a complete idiot. This is the SECOND time since I've started testing this that the group for my user has been set to "Admin" instead of "Admins" (which is the correct group).

    Sorry for wasting your time again. All seems well.
  23. Offline


    Turns out that it was trying to delete 7 days worth of logging - strange.. so I just dropped the db and created it again - everything seems fine.
  24. Offline


    This is probably a very simple question, but what do I do to make TNT explosions logable? the only thing I changed in config was what db to use.
  25. Offline


    Hey, I wasn't sure if you had managed to get a stack trace for the block break event bug yet, but just saw one in my console and thought I'd paste it here. Hopefully you can pass this to the bukkit devs so they can figure it out. Thanks for the great plugin!

     [SEVERE] Could not pass event BLOCK_BREAK to LogBlock
            at org.bukkit.craftbukkit.inventory.CraftInventory.getSize(
            at org.bukkit.craftbukkit.inventory.CraftInventory.getContents(
            at de.diddiz.LogBlock.Consumer.queueContainerBreak(
            at de.diddiz.LogBlock.Consumer.queueContainerBreak(
            at de.diddiz.LogBlock.LBBlockListener.onBlockBreak(
            at org.bukkit.plugin.RegisteredListener.callEvent(
            at org.bukkit.plugin.SimplePluginManager.callEvent(
            at net.minecraft.server.ItemInWorldManager.c(
            at net.minecraft.server.ItemInWorldManager.dig(
            at net.minecraft.server.NetServerHandler.a(
            at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
            at net.minecraft.server.NetworkManager.b(
            at net.minecraft.server.NetServerHandler.a(
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(
  26. Offline


    set "logging.logExplosions" to "true"
    should be a very simple task :D
    Hm, maybe an empty chest causes that, will check that.
  27. Offline



    I'm seeing a lot of servers still using BukkitContrib 0.0.2, because it was bundled with Logblock. It'd be nice if you could bundle 0.0.7 with the next 1 or 2 releases, just long enough for most servers to have an updated copy. I included code in 0.0.7 to automatically keep itself up to date.
  28. Offline


    I noticed that too. Including was a mistake, I noticed it meanwhile. You warned me, I know, but I won't belive. Won't happen ever again, I learned from this. I replaced it with the link, but that don't really pushs to update ...
    I can include 0.0.7 with next version, hoping it will finally clear the situation
  29. Offline


    Yeah, well, the good news is that the auto-updating means including isn't an issue anymore. It's safe too, because unlike some developers...I don't plan to break my API down the road.
  30. Offline


    can you add command logging?
  31. Offline



    is this SQLite compatible?

Share This Page