LogBlock 1.16.1.1

Log block changes, entity kills and more

  1. Brokkonaut
    Native Minecraft Version:
    1.16
    Tested Minecraft Versions:
    • 1.15
    • 1.16
    Source Code:
    https://github.com/LogBlock/LogBlock
    If you run a 1.15.2 server, use this download

    LogBlock is one of the most mature and most used logging tools available. It can log nearly all block and entity changes, has a versatile query system and can rollback those changes. But not only its extremely powerful - it’s also blazing fast! Hundreds of thousands of log entries can be looked up and rolled back in just a few seconds.

    To store the data a MySQL database is used, allowing developers to hook in and produce things such as player stats and even administrative panels. All database access is done in separate threads to avoid any negative impact on the server performance. There are a lot of config options to optimize LogBlock for your servers requirements. You can decide what is logged and for how long and you even can configure your own tools to simplify log queries!

    LogBlock was originally created by bootswithdefer in 2010 for HMod, ported to Bukkit by DiddiZ and continued by md_5, ammar2 and others. Currently it is maintained by Brokkonaut. 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.

    Development Builds
    We have a build server where you can download the latest development builds. Those builds include the newest features and bug fixes. But as they are development builds there might be bugs, so be careful and test those build when updating.

    You can download our Dev Builds here: https://www.iani.de/jenkins/job/LogBlock/

    Optional Dependencies
    • WorldEdit (recommended) - WorldEdit allows you to look up logs within a WorldEdit selection. To be able to log entity interaction we use some features of WorldEdit, so this plugin is highly recommended.
    Installation
    1. Installation
    2. Permissions
    3. Configuration
    4. MySQL Configuration
    Usage
    1. Helpful Commands
    2. Command reference
    3. Parameters
    More Information
    1. FAQ (read me first!)
    2. MySQL Connection Problems

Recent Reviews

  1. Starguts
    Starguts
    5/5,
    Version: 1.15.2
    Good logging plugin, pretty useful most of the time. When will a 1.16 version come out?
  2. z__
    z__
    5/5,
    Version: 1.15.2
    Switched to LogBlock for several reasons, but the quickest to say is because the other one I had been using hosted their wiki/permissions/commands on a site that is down/unavailable... Compared to this being opensource on Github with good documentation made this a much easier decision...

    That combined with it having some active & relevant developers who maintain and use this plugin (including md_5) I have decided to switch back to LogBlock for the foreseeable future...
  3. EmnichtdaYT
    EmnichtdaYT
    3/5,
    Version: 1.15.2
    I always geht this Error on 1.14.4. I guess you should try{}catch() before you use 1.15 stuff

    [19:54:06 ERROR]: Could not pass event EntityDamageByEntityEvent to LogBlock v1.15.2
    java.lang.NoClassDefFoundError: org/bukkit/entity/Bee
    at de.diddiz.LogBlock.listeners.AdvancedEntityLogging.onEntityDamageByEntity(AdvancedEntityLogging.java:233) ~[?:?]
    at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor97.execute(Unknown Source) ~[?:?]
    at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:69) ~[patched_1.14.4.jar:git-Paper-240]
    at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) ~[patched_1.14.4.jar:git-Paper-240]
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[patched_1.14.4.jar:git-Paper-240]
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:545) ~[patched_1.14.4.jar:git-Paper-240]
    at org.bukkit.craftbukkit.v1_14_R1.event.CraftEventFactory.callEvent(CraftEventFactory.java:231) ~[patched_1.14.4.jar:git-Paper-240]
    at org.bukkit.craftbukkit.v1_14_R1.event.CraftEventFactory.callEntityDamageEvent(CraftEventFactory.java:990) ~[patched_1.14.4.jar:git-Paper-240]
    at org.bukkit.craftbukkit.v1_14_R1.event.CraftEventFactory.handleEntityDamageEvent(CraftEventFactory.java:877) ~[patched_1.14.4.jar:git-Paper-240]
    at org.bukkit.craftbukkit.v1_14_R1.event.CraftEventFactory.handleEntityDamageEvent(CraftEventFactory.java:833) ~[patched_1.14.4.jar:git-Paper-240]
    at org.bukkit.craftbukkit.v1_14_R1.event.CraftEventFactory.handleLivingEntityDamageEvent(CraftEventFactory.java:1022) ~[patched_1.14.4.jar:git-Paper-240]
    at net.minecraft.server.v1_14_R1.EntityLiving.damageEntity0(EntityLiving.java:1686) ~[patched_1.14.4.jar:git-Paper-240]
    at net.minecraft.server.v1_14_R1.EntityHuman.damageEntity0(EntityHuman.java:863) ~[patched_1.14.4.jar:git-Paper-240]
    at net.minecraft.server.v1_14_R1.EntityLiving.damageEntity(EntityLiving.java:1095) ~[patched_1.14.4.jar:git-Paper-240]
    at net.minecraft.server.v1_14_R1.EntityHuman.damageEntity(EntityHuman.java:786) ~[patched_1.14.4.jar:git-Paper-240]
    at net.minecraft.server.v1_14_R1.EntityPlayer.damageEntity(EntityPlayer.java:757) ~[patched_1.14.4.jar:git-Paper-240]
    at net.minecraft.server.v1_14_R1.EntityEgg.a(EntityEgg.java:27) ~[patched_1.14.4.jar:git-Paper-240]
    at net.minecraft.server.v1_14_R1.EntityProjectile.tick(EntityProjectile.java:118) ~[patched_1.14.4.jar:git-Paper-240]
    at net.minecraft.server.v1_14_R1.WorldServer.entityJoinedWorld(WorldServer.java:702) ~[patched_1.14.4.jar:git-Paper-240]
    at net.minecraft.server.v1_14_R1.World.a(World.java:936) ~[patched_1.14.4.jar:git-Paper-240]
    at net.minecraft.server.v1_14_R1.WorldServer.doTick(WorldServer.java:472) ~[patched_1.14.4.jar:git-Paper-240]
    at net.minecraft.server.v1_14_R1.MinecraftServer.b(MinecraftServer.java:1231) ~[patched_1.14.4.jar:git-Paper-240]
    at net.minecraft.server.v1_14_R1.DedicatedServer.b(DedicatedServer.java:417) ~[patched_1.14.4.jar:git-Paper-240]
    at net.minecraft.server.v1_14_R1.MinecraftServer.a(MinecraftServer.java:1098) ~[patched_1.14.4.jar:git-Paper-240]
    at net.minecraft.server.v1_14_R1.MinecraftServer.run(MinecraftServer.java:925) ~[patched_1.14.4.jar:git-Paper-240]
    at java.lang.Thread.run(Thread.java:748) [?:1.8.0_211]
  4. zhuangsenfeng
    zhuangsenfeng
    5/5,
    Version: 1.15.2
    This plugin is useful! it can display logs!
    Do I have permission to post this plugin on http://www.mcbbs.net/?
    www.mcbbs.net is The largest unofficial minecraft forum in China
    1. Brokkonaut
      Author's Response
      Ok, you can do that, but please link to the official downloads on this site.
  5. Hypocisy
    Hypocisy
    5/5,
    Version: 1.15.2
    The plugin works good,but i can't custom message in config!!
    Please support the custom message file! Thanks you, dear Author!
  6. TreeCloudduck
    TreeCloudduck
    5/5,
    Version: 1.15.1
    A great Plugin! please make a Update for MC 1.15.2! :)
    --------------------------
  7. seema
    seema
    5/5,
    Version: 1.15.1
    Great work and a good guy. Thanks Brokkonaut for maintaining the plugin. 5/5 obviously.
  8. Starguts
    Starguts
    5/5,
    Version: 1.14.1
    works well as usual. Great plugin, very useful, but when will it be updated to 1.15?
    1. Brokkonaut
      Author's Response
      Thanks fpr the review :) I just pushed the update for 1.15.1
  9. AngelSagiri
    AngelSagiri
    3/5,
    Version: 1.14.1
    Hi! I have an question can you do 1.12.2 version, because i need it for my server and I think that all of people using 1.12.2. will be soo happy.

    Sorry for my English :)
    1. Brokkonaut
  10. MarjoOfficial
    MarjoOfficial
    1/5,
    Version: 1.14.1
    Can't get it to work, not creating database.
    When I tried creating database from github it always showed me this error:
    [LogBlock] Error while loading: Unknown column 'UUID' in 'field list'
    com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'UUID' in 'field list'
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_222]
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_222]
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_222]
    at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_222]
    at com.mysql.jdbc.Util.handleNewInstance(Util.java:425) ~[patched_1.14.4.jar:git-Paper-232]
    at com.mysql.jdbc.Util.getInstance(Util.java:408) ~[patched_1.14.4.jar:git-Paper-232]
    at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:944) ~[patched_1.14.4.jar:git-Paper-232]
    at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3978) ~[patched_1.14.4.jar:git-Paper-232]
    at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3914) ~[patched_1.14.4.jar:git-Paper-232]
    at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2530) ~[patched_1.14.4.jar:git-Paper-232]
    at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2683) ~[patched_1.14.4.jar:git-Paper-232]
    at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2491) ~[patched_1.14.4.jar:git-Paper-232]
    at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2449) ~[patched_1.14.4.jar:git-Paper-232]
    at com.mysql.jdbc.StatementImpl.executeInternal(StatementImpl.java:845) ~[patched_1.14.4.jar:git-Paper-232]
    at com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:745) ~[patched_1.14.4.jar:git-Paper-232]
    at de.diddiz.lib.com.zaxxer.hikari.pool.ProxyStatement.execute(ProxyStatement.java:95) ~[?:?]
    at de.diddiz.lib.com.zaxxer.hikari.pool.HikariProxyStatement.execute(HikariProxyStatement.java) ~[?:?]
    at de.diddiz.LogBlock.Updater.checkTables(Updater.java:807) ~[?:?]
    at de.diddiz.LogBlock.LogBlock.onEnable(LogBlock.java:90) ~[?:?]
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263) ~[patched_1.14.4.jar:git-Paper-232]
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:338) ~[patched_1.14.4.jar:git-Paper-232]
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:420) ~[patched_1.14.4.jar:git-Paper-232]
    at org.bukkit.craftbukkit.v1_14_R1.CraftServer.enablePlugin(CraftServer.java:467) ~[patched_1.14.4.jar:git-Paper-232]
    at org.bukkit.craftbukkit.v1_14_R1.CraftServer.enablePlugins(CraftServer.java:381) ~[patched_1.14.4.jar:git-Paper-232]
    at net.minecraft.server.v1_14_R1.MinecraftServer.a(MinecraftServer.java:474) ~[patched_1.14.4.jar:git-Paper-232]
    at net.minecraft.server.v1_14_R1.DedicatedServer.init(DedicatedServer.java:290) ~[patched_1.14.4.jar:git-Paper-232]
    at net.minecraft.server.v1_14_R1.MinecraftServer.run(MinecraftServer.java:876) ~[patched_1.14.4.jar:git-Paper-232]
    at java.lang.Thread.run(Thread.java:748) [?:1.8.0_222]
    [15:12:03 INFO]: [LogBlock] Disabling LogBlock v1.14.1-SNAPSHOT (build #65)
    [15:12:03 INFO]: [LogBlock] Waiting for consumer ...
    [15:12:03 INFO]: [de.diddiz.lib.com.zaxxer.hikari.HikariDataSource] LogBlock-Connection-Pool - Shutdown initiated...
    [15:12:03 INFO]: [de.diddiz.lib.com.zaxxer.hikari.HikariDataSource] LogBlock-Connection-Pool - Shutdown completed.
    1. Brokkonaut
      Author's Response
      Can you try to delete all logblock tables from the database and start again? It looks like you have some broken (or very old?) tables in your database.

      Also please use the comments section and not the review section to discuss configuration problems.