LogBlock logo

Works 100% with 1.7.2

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.


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!


  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.

Please do not post comments requesting support. Report bugs here or, alternatively, talk to a real person. Commenting below is a surefire way to not receive help.

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

  • Avatar of apesgrapes apesgrapes Sep 02, 2014 at 09:52 UTC - 0 likes

    @Willcomputerguy79: Go

    we probably have a timezone mismatch, just been on now (its 10:51am here). i'll keep trying during the day. lb is definitely connnected to your mysql database tho.

  • Avatar of Willcomputerguy79 Willcomputerguy79 Sep 02, 2014 at 04:27 UTC - 0 likes

    @apesgrapes: Go

    Oh, my apologies. I only saw your comment now. If you still want come on the server, I'd appreciate it. The IP is play.cubecraftsurvival.net:25920 (My signature is out-dated :P)


  • Avatar of apesgrapes apesgrapes Aug 31, 2014 at 21:15 UTC - 0 likes

    @Willcomputerguy79: Go

    i'll come on your server tomorrow , it might be easier to work out whats going wrong.

  • Avatar of coolman7879798 coolman7879798 Aug 30, 2014 at 22:30 UTC - 0 likes

    Check out this video if you want to see how to set Logblock up



  • Avatar of Willcomputerguy79 Willcomputerguy79 Aug 30, 2014 at 11:09 UTC - 0 likes

    @apesgrapes: Go

    Now I'm having another problem ._. I had this problem with CoreProtect and HawkEye also... it's quite odd... LogBlock is saying that I placed blocks from two days ago, although I just re-installed LogBlock and deleted LogBlock's mysql stuff. Also, it says "I" did it, but not me.. my username comes up as another player and vice versa. All players' usernames are being mixed up.

  • Avatar of Willcomputerguy79 Willcomputerguy79 Aug 30, 2014 at 10:23 UTC - 0 likes

    @apesgrapes: Go

    Yes, it says that, however commands such as "/b lookup Willcomputerguy sum blocks" | "/lb rollback area 15 player Willcomputerguy time 1d" don't work. Nothing really works... I deleted all my MySQL database info regarding LogBlock and re-installed LogBlock and it now has an "import folder", that was never there before....not sure what's with LogBlock and my server lately.

  • Avatar of apesgrapes apesgrapes Aug 29, 2014 at 09:16 UTC - 0 likes

    @Willcomputerguy79: Go

    what happens when you do /lb ? you should get a response LogBlock v1.81 by DiddiZ so you know the plugin is loaded & connected to the mysql database.

  • Avatar of Willcomputerguy79 Willcomputerguy79 Aug 26, 2014 at 10:38 UTC - 0 likes

    Erm.. I have been using this plugin for a couple months, and I love it, but today I restarted my server and randomly LogBlock stopped working. I got no errors in Console, but when I do commands nothing shows up in chat. When I use the bedrock (default tool for logblock) it shows nothing, but doesn't break blocks / place the bedrock. Any idea? I checked LogBlock's folder and there is an import folder with a "failed.txt" file.. no idea what that means. If anyone could help that'd be great.. this is really bad, because my server is a no-grief server and if something happens I can't do anything right now... Also, I am using my host's MySQL database (using MultiCraft)

    Last edited Aug 26, 2014 by Willcomputerguy79
  • Avatar of mmuziek mmuziek Aug 24, 2014 at 08:31 UTC - 0 likes

    i think you can fix this urself by changing the total value on the mysql table. you can do this in many editors but i use phpmyadmin myself. just change the X and Z medium int to for example int 10 this will get rid of those errors it think i have not tested this! but this usually does the job for me when i run into these problems with other plugins or webscripts

    @ardragoon: Go

  • Avatar of ardragoon ardragoon Aug 15, 2014 at 13:55 UTC - 0 likes

    love this plugin. but got a litle problem.

    im using the plugin to log signs. works like a charm. BUT ^.^

    my server map is 30.000.000* 30.000.000 blocks. people spawn randomly.

    if the players coordinates are bigger than the mysql table i got this error

    [14:51:32] [pool-3-thread-60/ERROR]: [Consumer] SQL exception on insertion:
    com.mysql.jdbc.MysqlDataTruncation Data truncation: Out of range value for column 'x' at row 1

    no server crash or anything else. but a lot console spam :/

    i hope this is getting fixed :D

    Last edited Aug 15, 2014 by ardragoon


Date created
Aug 24, 2011
Last update
Dec 05, 2013
Development stage
  • enUS
Attribution-NonCommercial-ShareAlike 3.0
Curse link
Recent files