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 Jan 10, 2013@stickman12124
Using SQLite for this would not be advisable because it generates too many database transactions. When you want to roll someone back for example your entire server would lockup for minutes at a time while the plugin tries to parse your SQLite database.
To put this sort of thing in to perspective, I run Three Minecraft Servers on one system. Only two of those have Logblock installed. Over the past two years they have created MySQL databases that when combined total 80GB in size. It simply isn't feasible to traverse a database as large as these using SQLite.
Now if you need to install MySQL I suggest you install WAMP if your server is using Windows (Google it). Then google for a WAMP + Logblock, there are many guides available including videos on YouTube. If you are using Linux there are guides for that too but you will probably need to know how to use SSH as many of those guides involve that.
-
View User Profile
-
Send Message
Posted Jan 9, 2013@mumblerit
well that doesn't help me
-
View User Profile
-
Send Message
Posted Jan 9, 2013@stickman12124
lol
-
View User Profile
-
Send Message
Posted Jan 9, 2013I don't know much about mysql. Could someone please reply with step by step instructions? Tip for Logblock: sqlite support would be nice.
-
View User Profile
-
Send Message
Posted Jan 9, 2013Working for 1.4.7 yet?
-
View User Profile
-
Send Message
Posted Jan 7, 2013Google search: http://forums.bukkit.org/threads/dev-logblockquestioner-v0-03-so-many-questions-1-2.20823/
The newest one, v0.02 works on 1.4.6. I use it every day.
-
View User Profile
-
Send Message
Posted Jan 6, 2013@Squirzy
@DrJ7788
Not sure if you found it yet, but if you go to the files tab at the top of the dev page, the oldest releases are zip files and inside you'll find LogBlockQuestioner. I don't believe there is any new update to it but probably because there doesn't need to be one.
-
View User Profile
-
Send Message
Posted Jan 5, 2013Where can I find the latest LogBlock Questioner?
-
View User Profile
-
Send Message
Posted Jan 4, 2013I've posted a ticket but it was deleted or something.
Well my issue is the since command is off by about 2 hours. Anything earlier does not show up, and is causing some issues. I can't rollback multiple players at once anymore either.
There are no errors in console.
-
View User Profile
-
Send Message
Posted Jan 3, 2013@DrJ7788
I think this project has been deleted. If you add me in skype, I can send you the last version of LogBlockQuestioner. Or if you haven't skype, send me a PM and I can upload it anywhere. Skype name: orscrider
-
View User Profile
-
Send Message
Posted Jan 3, 2013QUOTE: "Guys... Just get CoreProtect its so much better and more simple and it logs nearly everything even WorldEdit Griefing and best part is it logs everything into compact files, no SQL database needed, although SQL is supported but optional. Check it out"
Hey guys. I use LB "LogBlock" on my personal Minecraft Server, as well as on many other servers I find it to be an extremely reliable plugin and Administrative tool for MC Servers. I highly recommend this plugin and will put my IGN on it: Aussiemines. It may require a MySQL Database to store the data but if you ask me I think that this is 100 times better than flat file storage and it is also more reliable.
Also as most of you would know use or have "MCBans" The Minecraft Server Banning Plugin, LogBlock is highly recommended by MCBans and is also supported in it's plugin. for example if you are making a Global Ban or Even a Temp ban, MCBans has a great command "/rban <player name> g <reason>" this command is executed in conjunction with LB it executes the Global Ban as well as the rollback from LogBlock. The default amount of time for rolling back is 20days but can be configured to do more or less, thus making it easy to make a rollback from griefing while banning the Player at the same time.
Coreprotect "Not knocking this plugin" is not compatible with MCBans roll backs, thus creating more work for the (Staff Member) to make a ban and rollback the damage (Grief)
Thanks guys.
Nick.S Aussiemines.**
-
View User Profile
-
Send Message
Posted Jan 2, 2013Guys... Just get CoreProtect its so much better and more simple and it logs nearly everything even WorldEdit Griefing and best part is it logs everything into compact files, no SQL database needed, although SQL is supported but optional. Check it out
-
View User Profile
-
Send Message
Posted Jan 2, 2013@Minecraftlego
that is hilarious
-
View User Profile
-
Send Message
Posted Jan 2, 2013Powered Rails are not rollbacked correct, their orientation is lost on rollback.
-
View User Profile
-
Send Message
Posted Jan 2, 2013Where do I download LogBlock Questioner?? I cant find it anywhere??
-
View User Profile
-
Send Message
Posted Jan 1, 2013@Minecraftlego
This plugin doesn't ban anything, it just logs block actions so admins can access them. If your friend got banned then it was an admin/staff that banned him.
-
View User Profile
-
Send Message
Posted Jan 1, 2013everything works perfect for me, except rollback always says 0 blocks found. bukkit 1.4.6 R0.3 My log shows no error and the tables are created in mysql I need help please
-
View User Profile
-
Send Message
Posted Jan 1, 2013I HATE THIS IT GOT MY FRIEND BANNED FOR NO REASON?!
-
View User Profile
-
Send Message
Posted Jan 1, 2013I have updated to the new version but i still get an error that says "Error, check server.log"
-
View User Profile
-
Send Message
Posted Jan 1, 2013I have this Error with 1.4.6
http://pastebin.com/QGwktAZj