LogBlock

LogBlock logo

Works 100% with 1.5

The best block logging and rollback solution for the savvy server administrator.

LogBlock is the best block logging plugin for Bukkit server. Not only is it awesomely powerful, it’s blazing fast! Everything is logged into a MySQL database, allowing developers to hook in and produce things such as player stats and even administrative panels. Every loggable action can be logged with LogBlock: WorldEdit, leave decay, fire, sign changes, explosions, chest changes, player and animal deaths, chat, commands and more!

Development builds of this project can be acquired at the provided continuous integration server. These builds have not been approved by the BukkitDev staff. Use them at your own risk.

LogBlock will very rarely break between Minecraft / Bukkit updates, however if you find it does, please be sure to try a development build from above, as we generally test new releases there until deemed stable.

What is LogBlock?

LogBlock is a tool which allows you to keep track of almost everything on your server, while also giving you the ability to rollback (revert) or redo changes made by users and natural occurrences such as liquid flow or leaf decay. Additionally, LogBlock is able to log and rollback chest contents, sign text and more! LogBlock was originally created by bootswithdefer for HMod, ported to Bukkit by DiddiZ and is now actively maintained by md_5, ammar2 and the community of developers on Bukkit. We accept pull requests on GitHub frequently which means that community developers can add features they wish to see quicker than LogBlock developers are able to from tickets. All database actions are run not only in their own threads, but are queued into a consumer to minimize lag on the main thread. This is great for larger servers! All optional features (not dependencies below) are enabled and disabled from within the config file allowing complete control over what is logged thus ensuring database size is kept to a minimum.

Notices

Most virtual chest plugins are not compatible with LogBlock. Because they do not set the player who is opening the “chest”, LogBlock can’t do what it’s meant to be able to do, thus, making errors in your console. Please report these issues to the fake-chest plugin developer, NOT LogBlock developers.

Issues are read more frequently on the GitHub Issues page as compared to the comments below. When updating to LB1.57, if you already have a large database and have changed your columns to MEDIUMINT, INT or LARGEINT, you do not need the updater to fix this for you automatically. To stop this behaviour, simply change “version” in the configuration to ‘1.57’.

If you are experiencing an error such as this please read the FAQ for answers.

If you're receiving errors regarding players from the consumer such as "[Consumer] Failed to add player <playername>" then change all `playerid` columns to MEDIUMINT or INT in each table that contains them. This may take a long time if you have a lot of rows.

Optional Dependencies

  • WorldEdit (Recommended)
  • Permissions plugin
  • LogBlock Questioner

Need help?

Found a bug or an issue? Please report it (and attach code if you know how to squash it) on our ticket manager.

Just need help in general or have an urgent, more private bug? Join us on IRC at irc.esper.net #LogBlock and ping a +o or +v for faster help. Webchat is available here if you don't have a client, or prefer to use it.

As always, check if your question is on the FAQ before asking!

Installation

  1. Installation
  2. Permissions
  3. BigBrother log import
  4. Configuration
  5. MySQL Configuration

More Information

  1. FAQ (read me first!)
  2. Command reference
  3. Configuration
  4. Helpful Commands
  5. MySQL Connection Problems
  6. MySQL Schema
  7. SQL Queries
  8. Parameters

Are you a Developer?

If you wish to contribute to the LogBlock project, head on over to the GitHub page, fork the project and submit your pull request(s).

If you wish to develop a plugin that interacts with LogBlock in some way, read up on the API here. Support for API and more can be found in the IRC channel, which is listed above.

Developer builds can be found here. (These builds have not been approved by the BukkitDev staff. Use them at your own risk.)

Still need help? Join us on IRC at irc.esper.net #LogBlock and ping a +o or +v for faster help.

If you’re here for help, maybe you should try a different page. For plugin bugs, please report them, for other questions or urgent (private) bugs, click me to connect to IRC. Commenting below is NOT the optimal way to get help.

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of Shadix64 Shadix64 May 20, 2013 at 22:32 UTC - 0 likes

    @kdthehun: Go

    Install FrameProtect to keep frames safe from griefers.

  • Avatar of Waterflow Waterflow May 18, 2013 at 14:29 UTC - 0 likes

    @kdthehun: Go

    agree

  • Avatar of fungreenfox fungreenfox May 18, 2013 at 14:16 UTC - 0 likes

    I have the issue of Logblock making duplicate entries in the sql table of main town. Once a day it happens. This gives an output in the console of 50 lines. When i goto phpmyadmin and check the table(s), it says nothing wrong, all tables are ok. So what is it?

    Last edited May 18, 2013 by fungreenfox
  • Avatar of kdthehun kdthehun May 16, 2013 at 08:53 UTC - 0 likes

    I have the issue of LogBlock not logging ItemFrames. Too often theft happens and the thief goes unpunished as we have no records of ItemFrame placement/removal.

  • Avatar of AlexanderMorrison AlexanderMorrison May 14, 2013 at 16:10 UTC - 0 likes

    @Faffling94: Go

    Yes, it works with 1.5.2.

    Use the latest dev build here: http://ci.md-5.net/job/LogBlock

    AEM Network Please contact me, if you're an experienced developer looking to work for a server. Note: You will be payed depending on the amount of work and experience. :)
  • Avatar of Figfewdisgewd Figfewdisgewd May 11, 2013 at 17:17 UTC - 0 likes

    I'm also having issues with actually logging. It seems to think it works fine, but it refuses to log any single thing. Yes, it's connected to MySQL, I've octuple-checked.

  • Avatar of md_5 md_5 May 11, 2013 at 01:10 UTC - 0 likes

    @xMinecraft: Go

    Its just worldedit debug, ignore

    Follow me on twitter: https://twitter.com/md__5 Visit me on irc: irc.esper.net #md_5

  • Avatar of xMinecraft xMinecraft May 10, 2013 at 22:57 UTC - 0 likes

    Accepted EditSessionFactory of type de.diddiz.worldedit.LogBlockEditSessionFactory from de.diddiz.worldedit
    WTF?

    http://xmcsv.in/img.php

  • Avatar of MinecraftManiac365 MinecraftManiac365 May 10, 2013 at 04:00 UTC - 0 likes

    Hello, whenever I do /rollback {params} (and I am op and the Owner to my server), it says that it does not detect any blocks.  I am 100% sure I have the params down.  To test this, i made a block, then i got a wooden pickaxe out and hit it, it said that i had created that block when I did.  Then I got my wand out and selected the block, both first position and second position.  I then did:    /lb rollback sel 30 minutes
    It said:  0 blocks found rollback aborted!  I then went into the server log and all i saw was that i issued the command.  I also heard something about a questioner and that i would have to type /yes or something, but i must not have that because I can do many commands without being asked.  I have the latest 1.4.7 version (which works completely fine other than this problem on my 1.5.2 server) installed. Please help!

  • Avatar of xiamix xiamix May 09, 2013 at 19:42 UTC - 0 likes

    Doesn't wotk with me either

Facts

Date created
Aug 24, 2011
Categories
Last update
Jan 20, 2013
Development stage
Release
Language
  • enUS
License
Attribution-NonCommercial-ShareAlike 3.0
Curse link
LogBlock
Downloads
238,495
Recent files

Authors