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 Oct 9, 2012@KDMinecraftServer
This is a very weird bug and if you are able to post reproducable steps on a new issue on our issue tracker that would be appreciated greatly.
@Unboxermail
Unfortunately this is an issue that you need to raise with Essentials.
@DuskShadowBrony
Don't change the config while the server is still running.
@DieselFaka
Please provide any relevant error messages.
@05wardj
Ensure logging is also enabled in (worldname).yml. See 'Configuration' on the wiki. If you are asking for help on IRC ensure you STATE YOUR QUESTION AND WAIT FOR A RESPONSE. Most users are joining and leaving before stating a question.
@Furt
FTR this was answered on IRC.
@lolo2438
SuperPickaxe is not created by LogBlock and thus we cannot log it. Have the developer to use the API to log it (or you could do that yourself as you appear to be a plugin developer).
-
View User Profile
-
Send Message
Posted Oct 8, 2012You NEED to add the superpickaxe logging. Bad things could happen else.
-
View User Profile
-
Send Message
Posted Oct 8, 2012Using the api is is possible to rollback all changes to a world? all changes have happened within a 24hr period if that matters.
-
View User Profile
-
Send Message
Posted Oct 7, 2012the tool says "This world ('map title') isn't logged" i've look in the config and added the map titles to the logged worlds list but it still comes up and on another note your IRC gave me no help at all thanks 05wardj
-
View User Profile
-
Send Message
Posted Oct 7, 2012nothing is written to the database and the tool does not work
-
View User Profile
-
Send Message
Posted Oct 6, 2012The config won't save. I make changes then reupload it, but when I check the config again, it is back to the unchanged version. I am using Swatchdog, and was planning to switch, but if the config is unchangeable, i see no reason to switch.
EDIT
I am careful with spacing, yes, as someone was kind enough to pm me to ask.
-
View User Profile
-
Send Message
Posted Oct 6, 2012There's an error when using the Essentials command, /Kittycannon, wich causes a fake explosion. Here's the error.
http://pastie.org/4923435
-
View User Profile
-
Send Message
Posted Oct 6, 2012please updata lbwebstats
-
View User Profile
-
Send Message
Posted Oct 6, 2012For some reason when people are rolled back they are rolled back in a way where their changes in the nether are reverted both in the nether and in the normal world (and vice versa). What I mean by this is, if someone breaks a block in the nether and they are rolled back that block that they broke reappears in both the nether and in the normal world. Any help on this matter would be much appreciated.
-
View User Profile
-
Send Message
Posted Oct 6, 2012@AndyMcB1
LogBlock won't automatically rollback items. Are you sure you don't have moderators/administrators doing so? If not, there is most likely an issue with your servers saving.
@flyingtacoz
LogBlock questioner is available for download @ https://github.com/LogBlock/LogBlock/blob/master/LogBlockQuestioner.jar?raw=true
@bob7l
There is already a radius limit in configuration. There is also a radius bypass node.
@Pixiyo
askClearLogs to false. Download link above.
@offdps
Your SQL isn't local (and you should change your password!) thus latency between connections is expected.
-
View User Profile
-
Send Message
Posted Oct 5, 2012Is it possible if you give /rollback to a mod they can't delete the logs? So with LogBlock questioner you will see this "Are you sure you want to delete the logs?'' Is it possible so mods can't type /yes?
BTW: where is the new version of LogBlockQuestioner
-
View User Profile
-
Send Message
Posted Oct 4, 2012My server is saving the queues ridiculously slow. I tuned up the "consumer" config to extreme settings, but it's still taking it 15 minutes to log a block. The save queue often exceeds 20000 in a matter of 30 minutes after a restart.
Config: http://pastebin.com/Q1wEyTRS
-
View User Profile
-
Send Message
Posted Oct 3, 2012@bob7l
I think there allready is a feature like that, look in config
-
View User Profile
-
Send Message
Posted Oct 2, 2012I highly suggest you add a radius limit, when rolling back a player it's very easy to roll ALL their changes made on mistake :P
-
View User Profile
-
Send Message
Posted Oct 2, 2012Where can I download the web statistics for Logblock?
-
View User Profile
-
Send Message
Posted Oct 1, 2012So is logblock questioner ever going to get updated? This is an essential tool to help dumb server mods from rollbacking the world. Please update it.
-
View User Profile
-
Send Message
Posted Oct 1, 2012@AndyMcB1
I am having this issue, and it's a MAJOR problem! Every day when I log on, I see that all of the griefs I rolled back are back??
-
View User Profile
-
Send Message
Posted Sep 30, 2012I seem to be getting random rollbacks for certain areas.
Example. I mine a tunnel Next day its back...
Help?
LB 1.59 Newest CB
-
View User Profile
-
Send Message
Posted Sep 30, 2012@acc1dent
There is nothing wrong with LogBlock currently. Ensure your queue is configured correctly.
@alyis
Check that rollback on ban is false, if it is, then it's just your queue overloading in which case you should ensure it is configured correctly.
-
View User Profile
-
Send Message
Posted Sep 30, 2012@Ducky_333
I am having this issue too, and my MYSQL server is local. This appears to be an issue with logblock's interaction with the new release build of craftbukkit. If anyone knows of a way to fix this please let me know.