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 Jul 31, 2012Is there any chance for MS SQL support? or anyone know free mysql service that can be access remotely?
-
View User Profile
-
Send Message
Posted Jul 31, 2012This is a great plugin except for two little things. I tried this before and decided not to use it because of these things, maybe they are fixed now though:
1. The plugin wants to automatically roll back EVERYTHING a person did if they are banned and I could not find a way to turn this off. Is there a way to turn this off at all?
2. The questioner plugin didn't seem to work properly. Whenever I did a rollback and it asked to confirm and when I type /yes it wouldn't recognize the command at all, no matter what I did.
If these two things are fixable I would instantly install it again, can someone help me out?
-
View User Profile
-
Send Message
Posted Jul 30, 2012How would I set logblock to clear it's logs every 7 days?
-
View User Profile
-
Send Message
Posted Jul 30, 2012@mprasolov
Oh, found the permission...
-
View User Profile
-
Send Message
Posted Jul 30, 2012Hi,
I don't know if this is already possible, but I would like to disable logging for specific users. I say this because I am a server admin who uses WorldEdit, but the block change is so large, it fills the queue and then lags the server. Also, your tickets link is broken...
Thanks.
-
View User Profile
-
Send Message
Posted Jul 30, 2012@jamietech
Ahh I see, I apologize, but wouldn't it be a lot more simple just to enable logging by default like it used to be? I used it back awhile ago and so did a friend, we never had any trouble then with it then, so why change it?
-
View User Profile
-
Send Message
Posted Jul 30, 2012Do I need MySQL ? PPLLLS :D I search for a plugin whithout MySQL ://
-
View User Profile
-
Send Message
Posted Jul 30, 2012@ProcessedBeef try adding these perms
logblock.tools.tool and logblock.tools.toolblock
-
View User Profile
-
Send Message
Posted Jul 29, 2012@jamietech
I am using 1.54 along with the latest recommended build of bukkit and PermissionsEx, still getting that message.
Only reason I found out there was something wrong was one of my regular players was able to use the /lb tb command when their group has no logblock permission nodes.
-
View User Profile
-
Send Message
Posted Jul 29, 2012@FlawlessSin
This is shown on the wiki in Configuration.
@ProcessedBeef
Update to 1.54.
@bassbeast83
Repair your tables. If you have PHPMyAdmin this should be very easy.
-
View User Profile
-
Send Message
Posted Jul 29, 2012I would highly suggest for the creators of the plugin to either tell your consumers that logblock is set to not log by default or change that if you cant find out why it doesn't log go into your (worldname).yml and change what you would like to be logged as "true"
-
View User Profile
-
Send Message
Posted Jul 29, 2012Hmm I seem to be having a problem where logblock reports in the console that it can't find a permissions plugin. I am using PermissionsEx, any suggestions?
-
View User Profile
-
Send Message
Posted Jul 29, 2012how to fix?
-
View User Profile
-
Send Message
Posted Jul 29, 2012Someone has to help, no one has done anything on the support page, your IRC is down.
I have logblock build 1.50
everything connects fine, no error messages via console, it can create the tables on the MySQL
the problem is, you can have the tools and use commands, but it doesn't log anything. at all, nothing players do, no block changes, nothing. it just says "0 changes found" for everything
would offline mode cause this?
-
View User Profile
-
Send Message
Posted Jul 29, 2012@bluehasia
https://github.com/LogBlock/LogBlock/wiki/FAQ
@qwerty00011
Yes. Give them names in the blocks.yml
-
View User Profile
-
Send Message
Posted Jul 28, 2012Does this work with additional blocks added with tekkit or spout?
-
View User Profile
-
Send Message
Posted Jul 28, 2012Is there any way to convert from Hawkeye databases?
Maybe a MODIFY statement or something?
-
View User Profile
-
Send Message
Posted Jul 27, 2012so i gave my mod group and up logblock.* perms...but why do other lower groups have acces to all the commands ._.
-
View User Profile
-
Send Message
Posted Jul 27, 2012@ShakyTom
Get the author to use the Bukkit API.
-
View User Profile
-
Send Message
Posted Jul 27, 2012@md_5
How would I add I fix the problem of chest banks and logblock?
The particular error is