LogBlock
Works 100% with 1.7 / 1.8
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
More Information
- FAQ (read me first!)
- Command reference
- Configuration
- Helpful Commands
- MySQL Connection Problems
- MySQL Schema
- SQL Queries
- 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.
-
View User Profile
-
Send Message
Posted Aug 17, 2013is there any chance this plugin will ever log world edit wands?
-
View User Profile
-
Send Message
Posted Aug 17, 2013@Hellfire48
works for me too
-
View User Profile
-
Send Message
Posted Aug 15, 2013@oldassgamers i have logblock running on my 1.6.2 server as we speak....
-
View User Profile
-
Send Message
Posted Aug 15, 2013I can confirm that logblock does not work with latest version. The mysql is not working cannot establish connection. I compared with other plugins that requires mysql like LWC and it worked perfectly fine. So logblock is not working properly. I don't recommend to download this until the devs have the energy to finally release and updatet to this mod.
-
View User Profile
-
Send Message
Posted Aug 11, 2013the FAQ & Configuration sections don't say anything about WorldEdit logging... but under 1.70 download... it mentions WorldEdit logging. Thanks!
-
View User Profile
-
Send Message
Posted Aug 10, 2013@PLPatrick
That image is transparent. Plus, it's in png format.
-
View User Profile
-
Send Message
Posted Aug 10, 2013@Erik05888
Doesn't need to be updated. Works fine
-
View User Profile
-
Send Message
Posted Aug 9, 2013Hi there!
I was wondering how to get the id of the last block placed on a special world with a mysql command. There are several columns in the lb-world table and I'm not sure how to define the block id with them.
These 3 colums are what I'm talking about:
What exactly are they standing for? There are entrys as well where either replaced and data is 0 while replaced is variable or the same thing for type.
I hope my explanation was not too confusing,
Ichaelus
EDIT: I found it out by myself with a few tests. If someone is searching for the answer of this question read this:
-
View User Profile
-
Send Message
Posted Aug 8, 2013Wtf... Where is 1.6.2
-
View User Profile
-
Send Message
Posted Aug 7, 2013Working good for me
-
View User Profile
-
Send Message
Posted Aug 7, 2013@leonvakt
No such bug, you probably have a poor or incorrectly configured database: read: free remote hosted
-
View User Profile
-
Send Message
Posted Aug 7, 2013Can you fix the bug that wen players join the server it freezes the server in 1 minute
-
View User Profile
-
Send Message
Posted Aug 6, 2013Recent dev build doesn't work for me.
-
View User Profile
-
Send Message
Posted Aug 5, 2013Ok so I have been having problems with LogBlock, if I break a block and then try to rollback recent changes in an area of 5 since 5 minutes, it finds no changes.
We tried everything possible. The only time it would pick up the blocks is if we set the time to rollback as 1 day.. Is this just a bug or is something seriously wrong?
-
View User Profile
-
Send Message
Posted Aug 2, 2013@ViscousSummer88
It is not transparent. I tried to change the background but the shadow is disturbing.
-
View User Profile
-
Send Message
Posted Aug 2, 2013@nicktehbrick
Use LogBlockQuestioner, when you are asked if you are sure you want to do the rollback, you usually think through what the damn you just wrote :P https://github.com/LogBlock/LogBlock/issues/393
After running it once, you can configure what it should ask you about in Plugins/LogBlock/config.yml under "questioner:".
-
View User Profile
-
Send Message
Posted Jul 30, 2013Please add an option in the config, such that when you don't specify a selection or area that is doesn't default to the whole world. I keep rollback the entire world on accident.
-
View User Profile
-
Send Message
Posted Jul 29, 2013MC-PC+ Direwolf20 1.5.2 doesn't work for me either. I'm being forced to use the old 1.4.7 build that was made by them
-
View User Profile
-
Send Message
Posted Jul 28, 2013@PLPatrick
http://wiki.nitrado.net/images/5/51/Pluginlogo-LogBlock.png
-
View User Profile
-
Send Message
Posted Jul 28, 2013It would be nice if you could create a logo for LogBlock with transparent background. A logo like http://bukkit.org/logo.png.