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


    What does /lb permissions return?
    If just nothing, it doesn't run, if no permissions are listed, that's the problem.
  3. Offline


    sorry, sorry, sorry.
    i check the cpu load, it was on 200%.
    i disable all addons an let only lb run.

    its not logblock, its any other plugin what bombing the cpu :p
    thanks :)
  4. Offline


    Alright, so I'm using Bukkit 1240, with clean MySQL table (no previous log block tables), with LogBlock v1.32 build 41 and auto-generated tables and configuration. All the old stuff works, such as look ups and such. But all the new stuff doesn't seem to work for some odd reason.

    I spawned an Enderman, and checked the space of the block that it took, but nothing was logged.
    I placed a cake, then ate a piece, but it only logged the block placement, not the action.

    When I use /lb chat <player> I get the following error in console:
    [SEVERE] [LogBlock Lookup] SELECT date, playername, message FROM `lb-chat` INNER JOIN `lb-players` USING (playerid) ORDER BY date DESC, id DESC :
    com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table '' doesn't exist
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(
        at java.lang.reflect.Constructor.newInstance(
        at com.mysql.jdbc.Util.handleNewInstance(
        at com.mysql.jdbc.Util.getInstance(
        at com.mysql.jdbc.SQLError.createSQLException(
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(
        at com.mysql.jdbc.MysqlIO.sendCommand(
        at com.mysql.jdbc.MysqlIO.sqlQueryDirect(
        at com.mysql.jdbc.ConnectionImpl.execSQL(
        at com.mysql.jdbc.ConnectionImpl.execSQL(
        at com.mysql.jdbc.StatementImpl.executeQuery(
        at de.diddiz.LogBlock.CommandsHandler$
    I'm just wondering, does the table lb-chat not get generated by default? Because I don't see it in the database.
    And any reason why the other new aspects aren't working?
  5. Offline


    Then I can't wait for Guardian, my genius friend, with you working on it, its bound to be a success. I <3 your work.
  6. Offline


    Upgraded to 1.32 and on first start up I get this:

    02:14:25 [SEVERE] org.bukkit.Bukkit.getConsoleSender()Lorg/bukkit/command/Co
    eCommandSender; initializing LogBlock v1.32 (Is it up to date?)
    java.lang.NoSuchMethodError: org.bukkit.Bukkit.getConsoleSender()Lorg/bukkit
            at de.diddiz.LogBlock.Config.<init>(
            at de.diddiz.LogBlock.LogBlock.onLoad(
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(
            at org.bukkit.craftbukkit.CraftServer.<init>(
            at net.minecraft.server.ServerConfigurationManager.<init>(ServerConf
            at net.minecraft.server.MinecraftServer.init(
    Then... later in the console while it is still starting up, I get this:
    02:14:30 [SEVERE] Error occurred while enabling LogBlock v1.32 (Is it up to date
    ?): null
            at de.diddiz.LogBlock.LogBlock.onEnable(
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(
            at org.bukkit.craftbukkit.CraftServer.enablePlugins(
            at net.minecraft.server.MinecraftServer.e(
            at net.minecraft.server.MinecraftServer.a(
            at net.minecraft.server.MinecraftServer.init(
    Few things:
    - I'm using #1185 CB
    - I'm OP with the "*" permissions.
    - Restarted server and still had the same problems.
  7. Offline


    CB #1240

    With 1.32, I keep getting errors in console spamming every 10 secs:
    06.10 02:18:05 [Server] INFO     at Source)
    06.10 02:18:05 [Server] INFO     at
    06.10 02:18:05 [Server] INFO     at
    06.10 02:18:05 [Server] INFO     at com.mysql.jdbc.StatementImpl.execute(
    06.10 02:18:05 [Server] INFO     at com.mysql.jdbc.StatementImpl.execute(
    06.10 02:18:05 [Server] INFO     at com.mysql.jdbc.ConnectionImpl.execSQL(
    06.10 02:18:05 [Server] INFO     at com.mysql.jdbc.ConnectionImpl.execSQL(
    06.10 02:18:05 [Server] INFO     at com.mysql.jdbc.MysqlIO.sqlQueryDirect(
    06.10 02:18:05 [Server] INFO     at com.mysql.jdbc.MysqlIO.sendCommand(
    06.10 02:18:05 [Server] INFO     at com.mysql.jdbc.MysqlIO.checkErrorPacket(
    06.10 02:18:05 [Server] INFO     at com.mysql.jdbc.MysqlIO.checkErrorPacket(
    06.10 02:18:05 [Server] INFO     at com.mysql.jdbc.SQLError.createSQLException(
    06.10 02:18:05 [Server] INFO     at com.mysql.jdbc.Util.getInstance(
    06.10 02:18:05 [Server] INFO     at com.mysql.jdbc.Util.handleNewInstance(
    06.10 02:18:05 [Server] INFO     at java.lang.reflect.Constructor.newInstance(Unknown Source)
    06.10 02:18:05 [Server] INFO     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    06.10 02:18:05 [Server] INFO     at sun.reflect.GeneratedConstructorAccessor72.newInstance(Unknown Source)
    06.10 02:18:05 [Server] INFO com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'onlinetime' in 'field list'
    06.10 02:18:05 [Server] SEVERE [LogBlock Consumer] SQL exception on UPDATE `lb-players` SET onlinetime = ADDTIME(onlinetime, TIMEDIFF(FROM_UNIXTIME(1317885484), lastlogin)) WHERE playerid = 2449;: 
    Since the update, logblock will not rollback the blocks properly either.

    Also on your website:
    Lists logblock version 1.33 but both files are exactly same size.
  8. Offline


    I use the LogBlock v1.30 and I have PermissionsEx. The Problem ist, that everybody can use LogBlock and my deafaultgroup too.
    I don't gave them any permissions, but they can use everything.
    What's wrong?
  9. Offline


    well console says only this

    LogBlock: Version check: There is a newer version: v1.33
    LogBlock: Connecting to c0dgn@jdbc:mysql://localhost:3306/c0dgn_mclogblock...
    version 1.33 waring because i am using CB 1185 with version 1.30
  10. Offline


    Did you enable these features in world config?
    There was an api break, v1.30 works with cb# 1185
    Set version in config to 1.30 and restart the server, database should get updated then.
    1.33 is a type, has to be 1.32, ty
    You need the permissions bridge, the file called Permissions.jar in pex package.

    So no error? Also have a look at server.log, some hosters web console doesn't display error mesages.[/CODE][/COLOR][/FONT][/quote]
    Mitsugaru likes this.
  11. Offline


    I have the permissions bridge in my plugins ordner, but everybody can use it :(
  12. Offline


    Wow .. with 6 Usern an~40 seconds i get a 1500 queue with xD
    (and now is only 12 am .. when it is 6pm .. oh yeah .. that will be a great queue :D)
  13. Offline


    Sounds odd ... can users use all commands or just tools?
    /lb permissions list the permisions you've got
    You might disable some environment loggingt :D
    (and/or increade forceToProcess)
  14. Offline


    I'm having the same problem as StopSpazzing.

    I updated CB to 1240 and updated LogBlock to 1.32.

    I checked the config, which I had not changed, and it had "1.30" as the version identifier. I changed it to 1.32 and re-ran. Got same error. I changed it back to 1.30, but still seeing same error.
  15. Offline


    Interesting, what error message do you get at server start with 1.30 as version?
  16. Offline


    The first error section that appears

    (and apologies, this might not be the same error that StopSpazzing was having!)...
    13:39:57 [INFO] Starting minecraft server version Beta 1.8.1
    13:39:57 [INFO] Loading properties
    13:39:57 [INFO] Starting Minecraft server on *:25567
    13:39:57 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-1067
    -g6301507-b1185jnks (MC: 1.8.1)
    13:39:58 [INFO] [SuperpermBridge] Superperm/Permissions bridge initialized
    13:39:58 [INFO] LWC: Loading shared objects
    13:39:58 [INFO] LWC: Protection cache: 0/10000
    13:39:58 [INFO] LWC: Native library: plugins/LWC/lib/native/Windows/amd64/sqlite
    13:39:58 [SEVERE] org.bukkit.Bukkit.getConsoleSender()Lorg/bukkit/command/Consol
    eCommandSender; initializing LogBlock v1.32 (Is it up to date?)
    java.lang.NoSuchMethodError: org.bukkit.Bukkit.getConsoleSender()Lorg/bukkit/com
            at de.diddiz.LogBlock.Config.<init>(
            at de.diddiz.LogBlock.LogBlock.onLoad(
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(
            at org.bukkit.craftbukkit.CraftServer.<init>(
            at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigur
            at net.minecraft.server.MinecraftServer.init(
    13:39:59 [INFO] Spout has been initialized
    MY BAD - I am launching the wrong version of CraftBukkit

    Sorry sorry!

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


    I don't gave any permissions for the defaultgroup but when a player makes /lb permissions than he had

    whats wrong? :/
  18. Offline


    These permissions are default enabled in bukkit permissions.
    - '-logblock.tool'
    - '' (depends on your LB version)
    to disable
  19. Offline


    Just comes up with "/lb help" whenever I do a command
  20. Offline


    thanks a lot :D
    DiddiZ likes this.
  21. Offline


    LB v1.30 for CB 1185
    LB v1.32 for CB 1240
  22. Offline


    Heyy, I asked awhile back but wanted to check up again. Is there any chance in a future build of logging pistons? I've got a world build for dungeons and it'd really be great if I could just roll back everything that changed from one person running to the next... but I need piston logging to really be able to do it.
  23. Offline


    I just want to let the developer know that I tried for days to figure you why logblock 1.32 wasn't working on my bukkit 1.8.1 server. Turns out it doesn't work but logblock 1.3 DOES
  24. Offline


    I'm getting an error with the latest RB's.

    Anyone know what's wrong?

  25. Offline


  26. Offline


    I got the same thing, but it disappears if you change logPlayerInfo to false
  27. Offline


    Alright, thanks - I'll disable that.
  28. Offline


    I have no clue what that means xD

    I'm using 1.32 is thats what youre asking

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


    How do you disable the bedrock tool?
    I've tried setting log tool to false
    Setting log tool to air (in both root and plugin)
  30. Offline


    Remove the toolblock part in config, if you wnat to totally get rid of it. Use "/lb tb off" to disable it temporarity ingame.
    I'll have a look the the piston event
    Either disable it, or set version in config to 1.30 and start again to make the updater creating the missing tables.
  31. Offline


    After updating LogBlock it works with default settings, but not from those in config.yml! For example, the unit changed to bedrock and viewing logs became available to all players.

    You could warn that changed the format of the configuration file...

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

Share This Page