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 Mar 26, 2012@drumming102
3 worlds, 40 players...
Try disabling the plugin and then try it. If you still get lagg with this plugin disabled, its not this plugin.
-
View User Profile
-
Send Message
Posted Mar 26, 2012@drumming102
Im actualy surprised it creates lag. Unles your running your mysql server on the mc server box it shouldnt matter what the backlog is. Ive had 200k plus doing new map gen with no lag
Odd
-
View User Profile
-
Send Message
Posted Mar 26, 2012@xMrMatty Latest Jar: http://diddiz.insane-architects.net:8080/job/LogBlock/lastSuccessfulBuild/artifact/LogBlock.jar
Active Changelog: http://diddiz.insane-architects.net:8080/job/LogBlock/changes
Yes, it works perfectly fine with 1.2.4 :)
@ToXcWaStEBoY1
In the config file you can specify options for the ./lb tool command, as well as setup permissions nodes for the command as well. On our server, moderators have:
PEX:
PermissionsBukkit:
config.yml
-
View User Profile
-
Send Message
Posted Mar 26, 2012Does this work for 1.2.4?
-
View User Profile
-
Send Message
Posted Mar 26, 2012How do i stop my default players doing /lb tool... because i use bedrock, this means people can spawn bedrock.. Would be appreciated if i get a reply soon! :)
-
View User Profile
-
Send Message
Posted Mar 25, 2012@drumming102 How to configure consumer
https://github.com/DiddiZ/LogBlock/wiki/Configuration
-
View User Profile
-
Send Message
Posted Mar 25, 2012we are getting lots of
25.03 18:37:36 [Server] INFO [LogBlock Consumer] Queue overloaded. Size: 13034
Will upping the time perrun to 800 and downing the delay between to 2 help this? this backlog at times creates MASSIVE lag.
we run about 40 people on all the time logging 3 worlds.
-
View User Profile
-
Send Message
Posted Mar 25, 2012@deleted_7554077
Holy shit! Look at that z value! Good god! Lol
And muffin he is right look for how to change the data type for the z field in the faq
-
View User Profile
-
Send Message
Posted Mar 25, 2012@MuffinMario
All your problem solutions here -
https://github.com/DiddiZ/LogBlock/wiki/FAQ
https://github.com/DiddiZ/LogBlock/wiki/FAQ
https://github.com/DiddiZ/LogBlock/wiki/FAQ
:D
-
View User Profile
-
Send Message
Posted Mar 24, 2012hi you :P can you help me with this error,i didn't find a error help to this...i wrote the right name,pass... but... look :I [SEVERE] [LogBlock Consumer] SQL exception on INSERT INTO `lb-world` (date, playerid, replaced, type, data, x, y, z) VALUES (FROM_UNIXTIME(1332627773), 13, 0, 5, 1, '-756', 63, '78780');: com.mysql.jdbc.MysqlDataTruncation: Data truncation: Out of range value adjusted for column 'z' at row 1
Is this the reason why the plugin don't log anything D:´?
-
View User Profile
-
Send Message
Posted Mar 24, 2012@deleted_7554077
I 2nd that KJanar. My test last night went smooth as warm butter. Lookin good.
-
View User Profile
-
Send Message
Posted Mar 24, 2012@Stark_98
um... dude just click download...
-
View User Profile
-
Send Message
Posted Mar 24, 2012LogBlock 1.52 works just fine with CB 1.2.4 Build 2117.
So far at least.
-
View User Profile
-
Send Message
Posted Mar 23, 2012@mrchasez
I have no import folder or anything weird, mine works perfectly fine. Must be using a older build or something wrong with the setup. Try to generate fresh configs and drop the sql tables cos the 1.1 data is invalid anyways on the new 1.2 maps.
-
View User Profile
-
Send Message
Posted Mar 23, 2012Anyone attempt 1.2.4 with v1.52 yet? gonna try tonight but thought id ask.
Digi
-
View User Profile
-
Send Message
Posted Mar 23, 2012@Pr07o7yp3
Use PermissionsEx, Use - logblock.* on everyone that isn't admins You're a dumbass.
-
View User Profile
-
Send Message
Posted Mar 23, 2012Any one who has a database related error or any other error please refer to this page before posting a comment or a ticket.
https://github.com/DiddiZ/LogBlock/wiki/FAQ
https://github.com/DiddiZ/LogBlock/wiki/FAQ
https://github.com/DiddiZ/LogBlock/wiki/FAQ
-
View User Profile
-
Send Message
Posted Mar 22, 2012@lipe124
I use latest Dev build. V1.52
-
View User Profile
-
Send Message
Posted Mar 22, 2012You guys are on drugs, besides there is a proper ticket page.
Just bitchin like a lil child on here without build numbers or CB versions etc makes you look stupid. The dev build of LB works fine and no one can use the pick unless they have permission.
Maybe you guys shouldnt use the cb1337 build on cb 2060!
-
View User Profile
-
Send Message
Posted Mar 22, 2012Why do i need to keep deleting a damn Import folder?