Spigot AuditTrail 5.1

The best file and mysql event logger for Minecraft PERIOD.

  1. Do you mean events are not logged for players? Or the settings for player log files do not take from the configuration file?
     
  2. EDIT: The issue should be resolved in 3.52. Please update and let me know.
     
  3. Hello Tbakonyi,

    I noticed some new errors in my log from a couple of days ago. Just an FYI:

    2016-05-14 17:19:54 [ERROR] Could not pass event InventoryClickEvent to AuditTrail v3.51
    org.bukkit.event.EventException
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[spigot-1.9.4.jar:git-Spigot-4af49dc-e22506f]
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot-1.9.4.jar:git-Spigot-4af49dc-e22506f]
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot-1.9.4.jar:git-Spigot-4af49dc-e22506f]
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot-1.9.4.jar:git-Spigot-4af49dc-e22506f]
    at net.minecraft.server.v1_9_R2.PlayerConnection.a(PlayerConnection.java:1851) [spigot-1.9.4.jar:git-Spigot-4af49dc-e22506f]
    at net.minecraft.server.v1_9_R2.PacketPlayInWindowClick.a(SourceFile:33) [spigot-1.9.4.jar:git-Spigot-4af49dc-e22506f]
    at net.minecraft.server.v1_9_R2.PacketPlayInWindowClick.a(SourceFile:10) [spigot-1.9.4.jar:git-Spigot-4af49dc-e22506f]
    at net.minecraft.server.v1_9_R2.PlayerConnectionUtils$1.run(SourceFile:13) [spigot-1.9.4.jar:git-Spigot-4af49dc-e22506f]
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_91]
    at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_91]
    at net.minecraft.server.v1_9_R2.SystemUtils.a(SourceFile:45) [spigot-1.9.4.jar:git-Spigot-4af49dc-e22506f]
    at net.minecraft.server.v1_9_R2.MinecraftServer.D(MinecraftServer.java:726) [spigot-1.9.4.jar:git-Spigot-4af49dc-e22506f]
    at net.minecraft.server.v1_9_R2.DedicatedServer.D(DedicatedServer.java:399) [spigot-1.9.4.jar:git-Spigot-4af49dc-e22506f]
    at net.minecraft.server.v1_9_R2.MinecraftServer.C(MinecraftServer.java:665) [spigot-1.9.4.jar:git-Spigot-4af49dc-e22506f]
    at net.minecraft.server.v1_9_R2.MinecraftServer.run(MinecraftServer.java:564) [spigot-1.9.4.jar:git-Spigot-4af49dc-e22506f]
    at java.lang.Thread.run(Thread.java:745) [?:1.8.0_91]
    Caused by: java.lang.NullPointerException
    at com.tbakonyi.AuditTrail.helpers.ItemHelpers.getItemName(ItemHelpers.java:294) ~[?:?]
    at com.tbakonyi.AuditTrail.listeners.ContainerListener.onInventoryClick(ContainerListener.java:140) ~[?:?]
    at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source) ~[?:?]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_91]
    at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_91]
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot-1.9.4.jar:git-Spigot-4af49dc-e22506f]
    ... 15 more
    2016-05-14 17:19:55 [ERROR] Could not pass event InventoryClickEvent to AuditTrail v3.51
    org.bukkit.event.EventException
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[spigot-1.9.4.jar:git-Spigot-4af49dc-e22506f]
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot-1.9.4.jar:git-Spigot-4af49dc-e22506f]
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot-1.9.4.jar:git-Spigot-4af49dc-e22506f]
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot-1.9.4.jar:git-Spigot-4af49dc-e22506f]
    at net.minecraft.server.v1_9_R2.PlayerConnection.a(PlayerConnection.java:1851) [spigot-1.9.4.jar:git-Spigot-4af49dc-e22506f]
    at net.minecraft.server.v1_9_R2.PacketPlayInWindowClick.a(SourceFile:33) [spigot-1.9.4.jar:git-Spigot-4af49dc-e22506f]
    at net.minecraft.server.v1_9_R2.PacketPlayInWindowClick.a(SourceFile:10) [spigot-1.9.4.jar:git-Spigot-4af49dc-e22506f]
    at net.minecraft.server.v1_9_R2.PlayerConnectionUtils$1.run(SourceFile:13) [spigot-1.9.4.jar:git-Spigot-4af49dc-e22506f]
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_91]
    at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_91]
    at net.minecraft.server.v1_9_R2.SystemUtils.a(SourceFile:45) [spigot-1.9.4.jar:git-Spigot-4af49dc-e22506f]
    at net.minecraft.server.v1_9_R2.MinecraftServer.D(MinecraftServer.java:726) [spigot-1.9.4.jar:git-Spigot-4af49dc-e22506f]
    at net.minecraft.server.v1_9_R2.DedicatedServer.D(DedicatedServer.java:399) [spigot-1.9.4.jar:git-Spigot-4af49dc-e22506f]
    at net.minecraft.server.v1_9_R2.MinecraftServer.C(MinecraftServer.java:665) [spigot-1.9.4.jar:git-Spigot-4af49dc-e22506f]
    at net.minecraft.server.v1_9_R2.MinecraftServer.run(MinecraftServer.java:564) [spigot-1.9.4.jar:git-Spigot-4af49dc-e22506f]
    at java.lang.Thread.run(Thread.java:745) [?:1.8.0_91]
    Caused by: java.lang.NullPointerException
    at com.tbakonyi.AuditTrail.helpers.ItemHelpers.getItemName(ItemHelpers.java:294) ~[?:?]
    at com.tbakonyi.AuditTrail.listeners.ContainerListener.onInventoryClick(ContainerListener.java:140) ~[?:?]
    at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source) ~[?:?]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_91]
    at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_91]
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot-1.9.4.jar:git-Spigot-4af49dc-e22506f]
    ... 15 more
    2016-05-14 17:19:55 [ERROR] Could not pass event InventoryClickEvent to AuditTrail v3.51
    org.bukkit.event.EventException
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[spigot-1.9.4.jar:git-Spigot-4af49dc-e22506f]
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot-1.9.4.jar:git-Spigot-4af49dc-e22506f]
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot-1.9.4.jar:git-Spigot-4af49dc-e22506f]
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot-1.9.4.jar:git-Spigot-4af49dc-e22506f]
    at net.minecraft.server.v1_9_R2.PlayerConnection.a(PlayerConnection.java:1851) [spigot-1.9.4.jar:git-Spigot-4af49dc-e22506f]
    at net.minecraft.server.v1_9_R2.PacketPlayInWindowClick.a(SourceFile:33) [spigot-1.9.4.jar:git-Spigot-4af49dc-e22506f]
    at net.minecraft.server.v1_9_R2.PacketPlayInWindowClick.a(SourceFile:10) [spigot-1.9.4.jar:git-Spigot-4af49dc-e22506f]
    at net.minecraft.server.v1_9_R2.PlayerConnectionUtils$1.run(SourceFile:13) [spigot-1.9.4.jar:git-Spigot-4af49dc-e22506f]
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_91]
    at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_91]
    at net.minecraft.server.v1_9_R2.SystemUtils.a(SourceFile:45) [spigot-1.9.4.jar:git-Spigot-4af49dc-e22506f]
    at net.minecraft.server.v1_9_R2.MinecraftServer.D(MinecraftServer.java:726) [spigot-1.9.4.jar:git-Spigot-4af49dc-e22506f]
    at net.minecraft.server.v1_9_R2.DedicatedServer.D(DedicatedServer.java:399) [spigot-1.9.4.jar:git-Spigot-4af49dc-e22506f]
    at net.minecraft.server.v1_9_R2.MinecraftServer.C(MinecraftServer.java:665) [spigot-1.9.4.jar:git-Spigot-4af49dc-e22506f]
    at net.minecraft.server.v1_9_R2.MinecraftServer.run(MinecraftServer.java:564) [spigot-1.9.4.jar:git-Spigot-4af49dc-e22506f]
    at java.lang.Thread.run(Thread.java:745) [?:1.8.0_91]
    Caused by: java.lang.NullPointerException
    at com.tbakonyi.AuditTrail.helpers.ItemHelpers.getItemName(ItemHelpers.java:294) ~[?:?]
    at com.tbakonyi.AuditTrail.listeners.ContainerListener.onInventoryClick(ContainerListener.java:140) ~[?:?]
    at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source) ~[?:?]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_91]
    at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_91]
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot-1.9.4.jar:git-Spigot-4af49dc-e22506f]
    ... 15 more
     
  4. Another one tonight:

    2016-05-16 00:56:39 [ERROR] Could not pass event EntityDeathEvent to AuditTrail v3.51
    org.bukkit.event.EventException
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[spigot-1.9.4.jar:git-Spigot-4af49dc-e22506f]
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot-1.9.4.jar:git-Spigot-4af49dc-e22506f]
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot-1.9.4.jar:git-Spigot-4af49dc-e22506f]
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot-1.9.4.jar:git-Spigot-4af49dc-e22506f]
    at org.bukkit.craftbukkit.v1_9_R2.event.CraftEventFactory.callEntityDeathEvent(CraftEventFactory.java:391) [spigot-1.9.4.jar:git-Spigot-4af49dc-e22506f]
    at net.minecraft.server.v1_9_R2.EntityLiving.die(EntityLiving.java:986) [spigot-1.9.4.jar:git-Spigot-4af49dc-e22506f]
    at net.minecraft.server.v1_9_R2.EntityHorse.die(EntityHorse.java:665) [spigot-1.9.4.jar:git-Spigot-4af49dc-e22506f]
    at net.minecraft.server.v1_9_R2.EntityLiving.damageEntity(EntityLiving.java:903) [spigot-1.9.4.jar:git-Spigot-4af49dc-e22506f]
    at net.minecraft.server.v1_9_R2.EntityHorse.damageEntity(EntityHorse.java:257) [spigot-1.9.4.jar:git-Spigot-4af49dc-e22506f]
    at net.minecraft.server.v1_9_R2.EntityArrow.a(EntityArrow.java:269) [spigot-1.9.4.jar:git-Spigot-4af49dc-e22506f]
    at net.minecraft.server.v1_9_R2.EntityArrow.m(EntityArrow.java:189) [spigot-1.9.4.jar:git-Spigot-4af49dc-e22506f]
    at net.minecraft.server.v1_9_R2.EntityTippedArrow.m(EntityTippedArrow.java:68) [spigot-1.9.4.jar:git-Spigot-4af49dc-e22506f]
    at net.minecraft.server.v1_9_R2.World.entityJoinedWorld(World.java:1617) [spigot-1.9.4.jar:git-Spigot-4af49dc-e22506f]
    at net.minecraft.server.v1_9_R2.World.g(World.java:1592) [spigot-1.9.4.jar:git-Spigot-4af49dc-e22506f]
    at net.minecraft.server.v1_9_R2.World.tickEntities(World.java:1426) [spigot-1.9.4.jar:git-Spigot-4af49dc-e22506f]
    at net.minecraft.server.v1_9_R2.WorldServer.tickEntities(WorldServer.java:632) [spigot-1.9.4.jar:git-Spigot-4af49dc-e22506f]
    at net.minecraft.server.v1_9_R2.MinecraftServer.D(MinecraftServer.java:797) [spigot-1.9.4.jar:git-Spigot-4af49dc-e22506f]
    at net.minecraft.server.v1_9_R2.DedicatedServer.D(DedicatedServer.java:399) [spigot-1.9.4.jar:git-Spigot-4af49dc-e22506f]
    at net.minecraft.server.v1_9_R2.MinecraftServer.C(MinecraftServer.java:665) [spigot-1.9.4.jar:git-Spigot-4af49dc-e22506f]
    at net.minecraft.server.v1_9_R2.MinecraftServer.run(MinecraftServer.java:564) [spigot-1.9.4.jar:git-Spigot-4af49dc-e22506f]
    at java.lang.Thread.run(Thread.java:745) [?:1.8.0_91]
    Caused by: java.lang.NullPointerException
    at com.tbakonyi.AuditTrail.helpers.MobHelpers.getMobAttributes(MobHelpers.java:54) ~[?:?]
    at com.tbakonyi.AuditTrail.listeners.EntityDeathListener.OnEntityDeath(EntityDeathListener.java:72) ~[?:?]
    at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source) ~[?:?]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_91]
    at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_91]
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot-1.9.4.jar:git-Spigot-4af49dc-e22506f]
    ... 20 more
     
  5. I have both issues fixed for the next release which is coming very shortly. Thanks for reporting it!
     
  6. Tbakonyi updated AuditTrail with a new update entry:

    New listeners + lots of fixes

    Read the rest of this update entry...
     
  7. Tbakonyi updated AuditTrail with a new update entry:

    Fixes

    Read the rest of this update entry...
     
  8. Are you planning to add an in-game method to review logs?

    I would primarily like to be able to left/right-click to see changes to a specific block/inventory/

    A way to perform a search for specific changes in the chat would be good too, even if it would then just provide a clickable link to the results on AuditTrail-Web.
     
  9. Yes, in game log viewing is planned. I'll see what we can do with the clickable link.
     
    • Like Like x 1
  10. Tbakonyi updated AuditTrail with a new update entry:

    Fixes

    Read the rest of this update entry...
     
  11. For those looking for Minecraft 1.10 support, the plugin has been updated but cannot be uploaded to Spigot due to problem on their side. I have created a temporary OneDrive folder which contains the latest version of both AuditTrail and AuditTrail-Web. This version also includes new event recyclers, new data monitors and a ton of very important fixes which deal with a number of crashes.

    Link is here:

    https://onedrive.live.com/?authkey=!AFkFzVgp4dvsL4E&id=877132C16719786B!2151&cid=877132C16719786B

    If you download, be sure to remove the plugin regenerate all the files as there are a number of changes. If you need help with any configuration or setup, please send a PM.

    One Spigot has resolved the upload issue, everything will be updated as normal.

    EDIT: Plugin resource has been uploaded but AuditTrail-Web is only available on the above link

    EDIT 2: AuditTrail-Web is not posted on Spigot. Link is no longer valid.
     
    #73 Tbakonyi, Jun 9, 2016
    Last edited: Jun 10, 2016
    • Winner Winner x 1
  12. Thanks, Tbakonyl!

    Just to verify for us: Is this new version compatible with 1.8, 1.9 and 1.10 servers?
     
  13. The new version is compatible with 1.8, 1.9 and 1.10. I am trying to keep full compatibility with all Spigot versions.
     
    • Like Like x 1
  14. Tbakonyi updated AuditTrail with a new update entry:

    Support for Minecraft 1.10, Required fixes, New Features

    Read the rest of this update entry...
     
  15. Hello, please, you can add per-world support? I mean, per-world data monitor). And world groupind, I mean world and world_nether will have same datas, world_the_end and world1 will have same datas, but another than world and world_nether.
     
  16. This is a great suggestion. I'll start working on this.
     
  17. Tbakonyi updated AuditTrail with a new update entry:

    File logging using JSON format + fixes

    Read the rest of this update entry...
     
  18. Is there a plan to add rollback to this plugin?