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


  3. Which "consumer" setting increases the number of times log block processes the queue?
  4. Offline


    /lb logging
    /lb queuesize
    /lb savequeue
    /lb logging
    /lb permissions
    Try to get a local MySQL server, it's way faster.
    That's the autoupdater, set version in config manually to '1.51'.
    Check server.log
    So the table is corrupted, seems like you have to delete it.
    Flatfile isn't supported at all.
    With a remote MySQL server I usually recommend forceToProcess: 1000
  5. Offline


    I see that logbock logs kills, and I currently have mine set to "ANIMALS"

    But I can't figure out how to lookup or writelogfile the kills.

    There's no info in the params of the wiki or the plugin help, I've tried kill and kills.

    Any help?
  6. Offline


    you have the same problem that i have, i found the fix and its very simple
    open your config.yml and go to your mysql port area

    user: username
      port: '3306'
      password: password
      host: ip
      database: database name
    ok take the brackets off the port and it will work
    user: username
      port: 3306
      password: password
      host: ip
      database: database name
    not every mysql server likes brackets, as this plugin works on a differnt server i manage and i installed it into my private server and got this error
  7. Offline

    Ryan Thorn

    From what I tested it was the tool commands, however it could be all commands, I would need to test again as at the moment im using hawkeye.
  8. So does the latest beta build work in 1.2.5 or not? I'm rather confused.
    If it does work, could you please mention this in the first post.
  9. Offline


    Everything's correct, it just doesn't do anything.
  10. Offline


    There is currently no command to lookup yet.
    Nope, just the tool commands are true by default.
    Yup, the port should be a number, not a string in config.
    That's rather unlikely.
    So you say the world is logged, you've got the tool permissions, LB is enabled properly and still the bedrock gets placed?
    Did youchange the toolblock id?
  11. Offline


    I have the same problem.
  12. Offline


    I'm new,(very) and I was just wondering what the error, "Error occurred while enabling LogBlock v1.50 (Is it up to date?)
    Java.lang.NoClassDefFoundError: org/bukkit/event/block/BlockListener "

    I suppose this means that my craftbukkit.jar is missing BlockListener but i'm not sure. I've configured it all, and its connected to MySql, (this i'm sure of because it logged me logging on). I'm using 1.50 and I have Craftbukkit r 1.0 (The latest 1.2.5 recommended build) but it wont log anything. Also, whatever I set my Toolblock to it gets placed.

    Heres' the MySql part of the config incase somethings wrong there, (this is on my local hosted test server so by all means, feel free to look at my worthless password and username)
      user: root
      port: 3306
      password: 123
      host: localhost
      database: minecraft
    And the logging part (I don't log the creepers by the way because the server dosent even have mobs)
      - 0
      logCreeperExplosionsAsPlayerWhoTriggeredThese: false
      logPlayerInfo: true
      hiddenPlayers: []
      logKillsLevel: PLAYERS
  13. Offline


    You need to update this for 1.2.5, it dosent seem to work?
  14. Offline


    How do stop players from being able to use /lb tool and /lb block. They dont have nodes to allow it yes can access them.
  15. Offline


    This was happening on my server not long ago. The issue for us was we were using 1.50 and not one of the latest dev builds.

    We switched to the latest Dev and it works perfectly now.
    Same thing on our server.

    Open the config.yml find the lines under each tool that reads
    permissionDefault: 'TRUE' and change them to 'FALSE'

    reset server, problem solved.
  16. Offline


    Logblock does not detect PermissionsBukkit plugin why ?

    Have you a solution or sugestion ?
  17. Having an issue where any block changes near the co-ords x=0 z=0 are logged (slowly) but any near our furthest points (x=50000 z=50000) aren't logged at all. Also, it's showing port conflictions with LogBlokc & Skype? (Running server from home PC)
  18. Offline


    I use PermissionsBukkit.
    Logblock says it doesn't detect it in the console, but it works anyway.
  19. Offline


    Not work :(
  20. Offline


    It works fine for me.. Using the 1.2.1 builds.. ;-) Btw is it better to update to dev? And please DiddiZ just update this and don't work on any features! JUST work on Guardian!! We need it so much :)
  21. Offline


    x=50000 z=50000
    That's out of the default range. Did you change the x and z columns?
  22. Offline


    Hello, im using version 1.50 and when I place bedrock or use the tool nothing happens the bedrock will just stay there, heres my comfig:


    defaultEnabled: true
    mode: LOOKUP
    - t
    params: area 0 all sum none limit 15 desc silent
    leftClickBehavior: NONE
    item: 270
    rightClickBehavior: TOOL
    permissionDefault: 'FALSE'
    canDrop: true
    params: area 0 all sum none limit 15 desc silent
    permissionDefault: 'TRUE'
    rightClickBehavior: BLOCK
    item: 7
    mode: LOOKUP
    canDrop: true
    defaultEnabled: true
    - tb
    leftClickBehavior: TOOL
    user: [Hidden]
    port: [Hidden]
    password: [Hidden]
    host: [Hidden]
    database: [Hidden]
    - 0
    logCreeperExplosionsAsPlayerWhoTriggeredThese: true
    logPlayerInfo: true
    hiddenPlayers: []
    logKillsLevel: PLAYERS
    timePerRun: 200
    useBukkitScheduler: true
    forceToProcessAtLeast: 20
    delayBetweenRuns: 6
    linesLimit: 1500
    defaultTime: 30 minutes
    defaultDist: 20
    linesPerPage: 15
    askClearLogs: true
    banPermission: mcbans.ban.local
    askRollbacks: true
    askRedos: true
    askClearLogAfterRollback: true
    askRollbackAfterBan: false
    checkVersion: true
    installSpout: true
    - world
    - world_nether
    - world_the_end
    enableAutoClearLog: false
    - world "world" before 365 days all
    - world "world" player lavaflow waterflow leavesdecay before 7 days all
    - world world_nether before 365 days all
    - world world_nether player lavaflow before 7 days all
    autoClearLogDelay: 6h
    dumpDeletedLog: false
    - 8
    - 9
    - 10
    - 11
    - 51
    maxArea: 50
    - 10
    - 11
    - 46
    - 51
    maxTime: 2 days
    version: '1.52'


    anyhelp? :(
  23. Offline


    Is the world you're trying to use logblock on called "world" or something else? If it's called something else, you need to list it under "loggedWorlds:"
  24. Offline


    I'm using world as the map
  25. Offline


    Mike1998 try updating to the dev build, it compatible with 1.2.5 and should solve the problem your having. I had the same problem on my server.
  26. Offline


    I Have this error
    [LogBlock Consumer] Queue overloaded. Size: <number>

    because of slow mysql connection..
    so if i change the mysql host , will the data lost?
    sorry for bad english
  27. Offline


    Awesome! Thanks it worked! :D
  28. Offline


    2012-04-07 18:33:25 [INFO] [LogBlock] Enabling LogBlock v1.52
    2012-04-07 18:33:25 [INFO] [LogBlock] Disabling LogBlock v1.52
    2012-04-07 18:33:25 [INFO] [LogBlock] LogBlock disabled.
    first it asked for lb_player and lb_main but how to create them
    i have made a new table but it dont work need help
  29. Offline


    MadeOke You might not need to change you're host. You can make you're queue smaller by disabling logging for things such as tree growth, doors, or cake logging ect'. If you disable these stuff it will make you're queue way smaller and it might not overload. If you still get that error then yes change you're host but if you don't want to lose data you can just transfer it. If you need more help here's the wiki,

    tonihoks When you download LogBlock it comes with a LogBlock folder, you need to put that folder into the plugins folder, because LogBlock doesn't create one itself.

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


    Hey it took me a while to figure out the databse thing but i got it all working now but i am having one issue, all commands work etc. but no logs show up nothing to do with logs show up and when i place bedrock to check logs it just places it down and does nothing but stays there... help?

Share This Page