LogBlock 1.15.2

Log block changes, entity kills and more

  1. Brokkonaut
    Native Minecraft Version:
    1.15
    Tested Minecraft Versions:
    • 1.13
    • 1.14
    • 1.15
    Source Code:
    https://github.com/LogBlock/LogBlock
    If you run a 1.13.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. 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.
  2. 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!
  3. TreeCloudduck
    TreeCloudduck
    5/5,
    Version: 1.15.1
    A great Plugin! please make a Update for MC 1.15.2! :)
    --------------------------
  4. seema
    seema
    5/5,
    Version: 1.15.1
    Great work and a good guy. Thanks Brokkonaut for maintaining the plugin. 5/5 obviously.
  5. 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
  6. 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
  7. 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.
  8. mororocze
    mororocze
    3/5,
    Version: 1.14.1
    What did you do with the database,
    I wanted to do my script to monitor the collection of foreign chests.
    Who knows the logical link and storage in bin encrypted files. Years ago I loved it now I'm disappointed.
    1. Brokkonaut
      Author's Response
      The plugin is open source: https://github.com/LogBlock/LogBlock

      For the chest-access database table: column itemtype is the id of the material (use lb-materials to resolve the material name), item is the itemstack serialized by spigot and then gzipped. this is required to be able to restore items with all properties (enchantments, custom name, ...)

      So if you just need the material it should be quite simple to access. If you need the full item state, use this: https://github.com/LogBlock/LogBlock/blob/master/src/main/java/de/diddiz/util/Utils.java#L234
  9. Rufmeister
    Rufmeister
    5/5,
    Version: 1.14.1
    Plugin is great and up to date. I appreciate you updating to 1.14. It is very difficult to find essential plugins for a Survival server that are as persistent with updates as this plugin is. Thank you!
  10. Manysion
    Manysion
    1/5,
    Version: 1.13.2
    [LogBlock-Connection-Pool connection adder/WARN]: Mon May 13 20:24:16 CEST 2019 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
    1. Brokkonaut
      Author's Response
      Why 1 star? It's just a MySQL warning, because your MySQL server is not correctly configured.