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.
Hi - will there be any update for 1.8?
Hello Bukkit Community!
I am fairly new to interacting on bukkit, as I normally just download the plugin I need and head off, but I am in need of knowledge. Do any of you fine people know if LogBlock is compatible with ChestCommands? I was reading the description here and it said some fake chest plugins were not supported, but as it said "some" I am hopeful ChestCommands is not one of the incompatible plugins. Anyways a fast response would be wonderful,
Cheers!
Bkox
@momai
Yes, next site. But i not see this...
@Jalulek
you mean turning the team? /Page /Page 1 /page 2
Is it possible check history item put and took with chest which not see on chat because it is their lot? I see only 15 lines on chat...Any commands?
@Thestickman391
There is no 1.8 update out yet, just the Spigot protocol hack. I use it, and it works fine.
Does this work with 1.8?
Hello. Is it possible to somehow connect blocks of mods?
@Chevels
I use LogBlock on 1.7.10/1.8 Spigot and haven't experienced any problems yet.
Hello, LogBlock is it still maintained? I ask this because it's been a long time that has not been updated. What worries me most is the new UUID system. My database is 1GB and prior to migrating to another plugin I dare ask: Should I wait for a compatible version for Minecraft 1.7.9 or 1.8?
In any case, thank you for this great plugin that is very useful last 3 years!
(Sorry for mistakes, English is not my native language but I try to improve myself)
@Eiffelrose
can you provide a copy of the bit of server.log that shows the full error details?
Hi Im having a problem with logblock, Whenever I do /lb tool it says error,check server.log. opped players can check logblocks but others can not, maybe if I send you a copy of my server log you can help me? Idk what to do...
Hi. I have a little problem i instaled LogBlockand connected it to mysql. Logblock created tables like lb-world etc. but when i type /lb ingame nothing hapens.
@Willcomputerguy79
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.
@apesgrapes
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)
@Willcomputerguy79
i'll come on your server tomorrow , it might be easier to work out whats going wrong.
Check out this video if you want to see how to set Logblock up
https://www.youtube.com/watch?v=AFUVXuNqGCY
@apesgrapes
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.
@apesgrapes
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.
@Willcomputerguy79
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.