BlockLog
BlockLog
Description
BlockLog is an Anti-Grief plugin with rollback support and a lot of other features for you to use.
This plugin is still in development and constantly gains new features!
Please report any bug found using the ticket system.
Our Jenkins is hosted by United World Miners - Minecraft Server!
Features
- MySQL support
- Specify how many blocks a rollback should change over a time span to prevent lag
- Rollback players or just explosion damage
- Rollback the whole world or just a small area
- Undo the last rollback or any rollback at any time
- Simulate a rollback to see how many blocks will be affected
- Cancel any active rollback
- Per world log options
- Logs blocks destroyed by mcMMO's skills
- Highly customizable, turn off any kind of logging
- Automatic database purge
- A fully functional grief report system build-in
- Search commands to search the database
- See a player his last edits in the whole world or just over a small area
- Both automatic and manual save options
Logs
- Player placed blocks
- Player destroyed blocks
- Blocks destroyed by fire
- Fire extinguish
- Use of buckets
- Explosions
- Interactions with chests, doors, etc.
- Leaves decaying
- Tree growing
- Portal creation
- Block form
- Block fade
- Block spread
- Chat
- Deaths
- Kills
Planned Features
- I'm open for suggestions!
How to install MySQL
See here
Metrics Graph
Support Me
I've put lots of time in developing this plugin. If you like it I would really appreciate it if you donated.
@Wannab007
It shouldn't be that hard to understand the config.
I'll write a guide on how to edit it when I find some time to do it.
a write up on how to properly edit the config would be nice
@ToddVee
It should be fixed in the new logging system. I'm currently to busy to finish v3 of blocklog and since it contains to much untested features (and possible bugs) I'm not going to release it yet.
In the meantime, did you find out anything about the issue regarding the logging of using doors/chests/ etc? remember, I couldn't read any of those events out.
@ben1996123
What do you mean?
Is it possible to undo a player death?
@blackwolf12333
I know there are a lot of logs from these events but you can always disable the logging of these events in the world config.
Also if I'm not mistaking your plugin uses flat file to store its data while mine uses MySQL which is a lot faster when gathering or saving data. As long as the database doesn't contain over 20 million logs you shouldn't experience any lag with a decent host.
@Anerach
In my opinion you should just get the BlockFormEvent and the BlockFadeEvent removed, that's totally useless as far as i know, i had it too in a very young beta version of my plugin but it just spammed my logs, without logging anything, so if you would remove that you would let the database get smaller which reduces lag.
greetz blackwolf12333
@rautamiekka
I've made some changes to the new database structure. It's not final yet so you can always suggest some more changes by either sending me a PM here or creating a Pull Request on GitHub.
You can find the current database tables here.
@Anerach: By 'smaller data type' I mean that if you use signed BIGINT but the numbers would fit just fine under unsigned MEDIUMINT, the db would run faster and take less space.
@Ta6akus3
@shukamu
My main priority for v3 was to increase the optimization of the database structure which should be done. I'm very sorry for the problems v2 causes. I'll release a beta version of v3 when I think it's stable enough to release one.
My server stop block database update..
i have: 4221362 blocks edit in database....
and it cause AWEOSOME lag in server....
@kyledag500
Could you see how much logs you've in your database? Also, there are some issues with the current database structure. It should all be fixed in v3.
Thanks....but this plugin would lag my serve like HELL! It was impossible to use. Everytime i used the tool, it took like 20 secs to return info, and during that time, the whole server was frozen. No talking, no commands
@kyledag500
Try using blocklog.admin
can u add a blocklog.* permission? Its annoying to put them all in!
@Duning
It's unable to create a connection with your mysql server.
2012-06-20 17:04:21 [INFO] [BlockLog] Enabling BlockLog v2.2.3 2012-06-20 17:04:21 [INFO] [BlockLog] Loading the configurations 2012-06-20 17:04:21 [INFO] [BlockLog] Loading the managers 2012-06-20 17:04:21 [INFO] [BlockLog] Loading the database 2012-06-20 17:04:22 [SEVERE] [BlockLog] Unable to connect to the MySQL Server 2012-06-20 17:04:22 [SEVERE] [BlockLog] Please check your MySQL settings in your config.yml 2012-06-20 17:04:22 [SEVERE] Error occurred while enabling BlockLog v2.2.3 (Is it up to date?) java.lang.NullPointerException at me.arno.blocklog.BlockLog.loadDatabase(BlockLog.java:141) at me.arno.blocklog.BlockLog.loadPlugin(BlockLog.java:276) at me.arno.blocklog.BlockLog.onEnable(BlockLog.java:343) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:215) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:337) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381) at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:256) at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:238) at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:381) at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:368) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:197) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:432) at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
Why I get this error? And, when I place the sponges, nothing happens...
Config:
mysql: host: localhost username: root password: '' database: bukkit port: 3306
@dustinwhitaker
This plugin doesn't prevent you from placing any blocks. Are you sure it's related to this plugin?
Please help, ever since i installed this plugin I (owner) cannot break, or place blocks, also it wont let me chat. its only me though everyone else can break, place and chat. my permissions are set to '*' iv looked and looked idk what to do. please help thank you