Inactive [INFO/ADMIN] LogBlock v1.54 - Enderdragon Logging! Tree Grow Logging! [1.4.5]

Discussion in 'Inactive/Unsupported Plugins' started by DiddiZ, Feb 15, 2011.

  1. Offline

    DiddiZ

    Version: 1.50​
    [​IMG]
    [​IMG]
    Find and Backroll those Damn Griefers
    LogBlock release are on DevBukkit:
    http://dev.bukkit.org/server-mods/logblock/

    LogBlock dev builds:
    http://ci.kitteh.org/job/LogBlock/

    Please read the installation guide

    I won't port LogBlock myself to mcAPI. Source code is available, so it shouldn't be to difficult for someone else to do it, also I'm still here. so I can answer questions. If there is more than one willing, that's up to you to handle that.




    The reasons I take this step, are the usual: I quit playing Minecraft about 5 months ago and lastly I was struggling to keep up with updates. The developement of Guardian made slow progress, so I fear it won't be ready to fully replace LB in time.


    Download latest dev build: Jenkins
    View the source code: GitHub
    Table of contents:
    1. Description
    2. Features
    3. Why to use LogBlock
    4. Example command
    5. Older versions
    6. Change log
    7. Todo list / feature requests
    8. Permission nodes
    9. Plugins supporting this
    10. Support the dev
    11. How to post error messages
    12. Advertizing
    Description:

    LogBlock logs block changes into a MySQL database. Block changes can be placed or destroyed block, explosions, burned blocks, sign text changes, chest access, leaves decay etc.
    It can be used as griefer identification tool, to find out who build a particular building, or even roll back changes by certain players. Other purposes can be e.g: Undoing of forest fires
    All additional features are optional, to keep the database as short as possible. All database actions run in their own threads to avoid server lags.
    The use of permissions plugin (or any clone) is possible, but not necessary.
    Uses Spout for chest logging (but it's fully optional, and there is no need for the client mod at all).

    Features:
    • Logging for block placing, block braking, fire, explosions, leaves decay, signtexts, lava flow and chest content
    • Very mighty commands system, not only allowing to rollback and redo, but also to tp to blockchanges, delete log ingame etc. Full list of commands.
    • Many parameters for lookup/rollback/redo/tp/clearlog commands: Block changes of one ore more player, in a specific area, in a world edit selection, specific block types only, block changes older or newer that a specific date, destroyed/created block only, in a different world and combinations of all these parameters. Full list of parameters.
    • Rebuilding map after importing a backup (/lb redo)
    • Last parameter to use the parameters of the last command
    • Quick ingame lookup of block history a wood pickaxe or a bedrock block.
    • All commands accessible from console (exept tools :D)
    • Custom queries for tools.
    • Different tool modes (lookup, rollback, redo, writelogfile and clearlog)
    • Saves block data like wool color, log type, torch adjustment, etc
    • Multiworld and multiserver support (some servers sharing the same database)
    • BigBrother log import
    • Loggable super pickaxe plugin (not to confuse with WorldEdit's super pickaxe)
    • API
    • Webstats
    Why to use LogBlock:

    Example commands: (thanks to tha d0ctor, read more about commands here)

    /lb rollback player fire since 1d3h – rolls back fire 1 day 3 hours
    /lb rollback player fire since 1d3h area 15 – rolls back fire 1 day 3 hours within a radius of 15 blocks

    /lb rollback player thad0ctor since 1h - rolls back thad0ctor 1 hour
    /lb rollback player thad0ctor since 1d area 5 – rolls back thad0ctor actions for the last day within 5 blocks
    /lb rollback area 10 since 1h30m - rolls back all modifications within 10 blocks since the list 1 hours and 30 mins
    /lb rollback area 10 before 06.11.2011 - roll back all changes in an area of 1o before June 11th, 2011
    /lb rollback player thad0ctor since 05:36:00 - roll back all changes of thad0ctor since 05:36 (server time)


    Download, Command, Configuration and Details:
    [​IMG]http://diddiz.insane-architects.net/logblock.php

    Changelog:
    -> Full changelog
    • LogBlock v1.50 # 81 (Dez. 13, 2011)
      Works with CraftBukkit 1.0.1-R1
      • Feature: /lb me shows the total block count
      • Feature: Chest logging without spout
      • Feature: Enderdragon logging
      • Feature: Logging for tree and mushroom grow (thanks to MD5 for the api)
      • Fix: Area param works again with default radius
      • Fix: Rollbacks got slowed down a bit to avoid rare server crashes
      • Fix: If mysql username, password or database only consist of unquoted numbers, LB will read them now
      • Config: World configs changed totally, some names changed and all logging options are now in an own section
    • LogBlock v1.41 #63 (Nov. 15, 2011)
      Works with CraftBukkit recommended build #1337
      • Fix: Players with spawnTools permission are no longer allowed to spawn all tools.
      • Fix: Added a check to avoid "The permission xy is already defined!" errors
    • LogBlock v1.40 #60 (Nov. 09, 2011)
      Works with CraftBukkit recommended build #1337
      • Feature: Custom auto ClearLog
      • Feature: Reduced error spam. Instead of like 40 line of error code, there is now just a warning stating the MySQL con
      • Feature: The queue will now be dumped after 10 tries even when the MySQL server is connected
      • Feature: Custom material names, allows naming custom blocks
      • Feature: LogBlock will now respond to messages when started without MySQL connection
      • Fix: Log import runs now async
      • Fix: Log import errors won't crash the server
      • Fix: Console commands work again
      • Fix: You can now use upper case letter in tool names (I don't know why you even should, but ...)
      • Config: Added clearlog.auto, clearlog.enableAutoClearlog in main config. Added materials.yml. Removed clearlog.keepLogDays
      • Permissions: Added 'logblock.spawnTools'
    • LogBlock v1.32 (Oct. 04, 2011)
      Works with CraftBukkit recommended build #1240
      • Feature: Player info logging: firstLogin, lastLogin, onlinetime, ip. No ingame lookup yet.
      • Feature: /lb queuesize to see the current queue size
      • Fix: Door logging logs now also fence gates
      • Fix: Bukkit api break in CB #1191
      • Fix: time restriction works now as intended. Thanks to xrobau
      • Fix: Players with insufficient permissions can't smuggle bedrock from one world to another
      • Config: Added logPlayerInfo
    • LogBlock v1.30 (Sep. 22, 2011)
      Works with CraftBukkit recommended build #1185
      • Feature: Chat lookup /lb chat player diddiz search +admin +sucks +dicks (more info)
      • Feature: Door logging
      • Feature: Dynamic tools, define your own tools
      • Feature: Use since and before to define a timespan
      • Feature: Enderman logging
      • Feature: cake logging (who ate it)
      • Config: Added logEndermen, logCakes and logDoors to world config and moved the tool section in main config.
      • Permissions: logblock.tool changed to logblock.tools.tool and
        logblock.toolblock to logblock.tools.toolblock.
    Todo List:

    https://github.com/LogBlock/LogBlock/issues

    Permission Nodes:
    https://github.com/LogBlock/LogBlock/wiki/Permissions

    Plugins supporting Logblock:
    List (open)

    When you want to appear your plugin here, tell me about



    Support the developer (that's me :D):
    If you want to support me writing plugins or want to thank me for the plugin/support, you can: Suggest features I missed, report bugs (best with fix :D), donate via PayPal, flattr my plugins, gift me The Witcher 2 (thanks to newyoukdaily), 2x 1GB DDR1 modules (thanks to HonestFlames), or send me the inner life of a laptop or netbook with a broken display (need it to build a model aircraft, so there is no need for parts like display and keyboard).

    [​IMG]


    How to post error messages:


    I won't aswer questions to general MySQL setup/installation/what is MySQL (there are lots of good tutorials out there, use google)
    Please read the installation guide before asking a question about installation problems.
    Please read the FAQ before posting a error report. It may be solved there.
    In case of rollback or lookup problems: Type /lb savequeue and try again (when it's fixed then, it was a consumer problem, see FAQ)
    When you post error messages, it's important to paste the whole stack trace!

    Advertizing:
    Newyorkdailys Plugin Support Buisness (open)
    Still can't get LogBlock working, or any other plugin? Are you getting errors in your console and cant figure out why? Newyorkdaily offers Basic/Advanced Plugin support.
    • General/Advanced troubleshooting: FREE!
    • Plugin Installations: 1-2 Plugins - FREE!
    • 3 or More Plugins - $2
    Click on the link below to connect to him now!
    http://wbe001.mibbit.com/?settings=7cb4fd3cdd72754df475fb92a0b65f6c&server=irc.Mibbit.Net&channel=#CBPluginSupport


    There is a LogBlock irc channel: #logblock at irc.esper.net.
    You can ask me on skype. My name is 'hawky.diddiz'.
     
  2. Offline

    shauwk

    oh ok so how would i make it roll back just the fire from a specific player instead of all fire?


    also another question. log block said this guy on my server stole some powered rails but he says that someone used a hacked client or mod to make it show up on logblock that he stole the powered rail. he said there are youtube vids of people making logblock show someone elses name.. and he said theres something called pikaclient ...idk hes been playing onn our server for a while so i let it go... but is this a total lie or could this actualy have happened?
     
  3. Offline

    DiddiZ

    They are lacking logblock.spawnTools permission
    https://github.com/DiddiZ/LogBlock/wiki/FAQ
     
  4. Offline

    EmperorXing

    &DiddiZ Please help me! Whenever I try /lb rollback player EmperorXing time 1 minute in my normal world and skyworld, I get the error Error, check log. Please help!
     
  5. Offline

    DiddiZ

    Use area to rollback locally, like /lb rb player fire are 10 since 1d

    I can't confirm that.

    And what's the error in server.log?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 18, 2016
  6. Offline

    EmperorXing

  7. Offline

    DiddiZ

    EmperorXing likes this.
  8. Offline

    Doidle

    Hello I'm having this issue with the BukkitContrib.
    I have Logblock installed and everything works propperly except for when I enter the game I cannot destroy anything. And if I do try to, my server gets lagged out and I get a bunch of errors and then my server stops automaticly.
    Since the BukkitContrib Topic is allready old I don't expect a answer there so I tought I might give it a shot here.
    Anybody knows what to do?

    22:33:59 [INFO] Doidle [/5.68.62.63:55394] logged in with entity id 101 at ([wor
    ld] -130.68328988937586, 66.12380380545443, 46.8858970638109)
    22:33:59 [SEVERE] Could not pass event PLAYER_JOIN to BukkitContrib
    java.lang.NoSuchFieldError: inventory
    at org.bukkitcontrib.player.ContribCraftPlayer.createInventory(ContribCr
    aftPlayer.java:442)
    at org.bukkitcontrib.player.ContribCraftPlayer.<init>(ContribCraftPlayer
    .java:84)
    at org.bukkitcontrib.player.ContribCraftPlayer.updateBukkitEntity(Contri
    bCraftPlayer.java:587)
    at org.bukkitcontrib.ContribPlayerListener.onPlayerJoin(ContribPlayerLis
    tener.java:27)
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja
    va:265)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:339)
    at net.minecraft.server.ServerConfigurationManager.c(ServerConfiguration
    Manager.java:129)
    at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:113)
    at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:80)
    at net.minecraft.server.Packet1Login.a(SourceFile:59)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:46)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:94)
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    22:34:06 [SEVERE] java.lang.NoSuchFieldError: inventory
    22:34:06 [SEVERE] at org.bukkitcontrib.ContribNetServerHandler.getInventor
    yFromContainer(ContribNetServerHandler.java:380)
    22:34:06 [SEVERE] at org.bukkitcontrib.ContribNetServerHandler.getActiveIn
    ventory(ContribNetServerHandler.java:74)
    22:34:06 [SEVERE] at org.bukkitcontrib.ContribNetServerHandler.a(ContribNe
    tServerHandler.java:129)
    22:34:06 [SEVERE] at net.minecraft.server.Packet101CloseWindow.a(SourceFil
    e:16)
    22:34:06 [SEVERE] at net.minecraft.server.NetworkManager.b(NetworkManager.
    java:226)
    22:34:06 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHand
    ler.java:93)
    22:34:06 [SEVERE] at net.minecraft.server.NetworkListenThread.a(SourceFile
    :108)
    22:34:06 [SEVERE] at net.minecraft.server.MinecraftServer.w(MinecraftServe
    r.java:527)
    22:34:06 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:425)
    22:34:06 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:457)
    22:34:06 [SEVERE] Unexpected exception
    java.lang.NoSuchFieldError: inventory
    at org.bukkitcontrib.ContribNetServerHandler.getInventoryFromContainer(C
    ontribNetServerHandler.java:380)
    at org.bukkitcontrib.ContribNetServerHandler.getActiveInventory(ContribN
    etServerHandler.java:74)
    at org.bukkitcontrib.ContribNetServerHandler.a(ContribNetServerHandler.j
    ava:129)
    at net.minecraft.server.Packet101CloseWindow.a(SourceFile:16)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:93)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
     
  9. Offline

    DiddiZ

    BukkitContrib got replaced by Spout months ago ...
     
  10. Offline

    Noxturno

    Hey guys Great Plug in ! one quick question I am the server owner, but I belive this plugin uses bedrock for logs too I cant seem to disable this sometimes I wanna place bedrock :( and I cant
     
  11. Offline

    DiddiZ

    /lb tb off
     
  12. Offline

    1cec0ld

    I also have this error coming out, CB 1597 and most recent dev build of LB.
    Saw how to alter x and z table values into MEDIUMINT but this is in lb-players, so it uses TIME data type instead, not sure how to rectify this.
     
  13. Hey this is a great plugin and your a very good developr,

    i was wondering if logblock makes logs somewhere? I want to check up on my mods, to make sure they are not using the plugin to duplicate items. For example placing diamondblocks, getting someone to mine them, and then roll them back.

    I trust my mods, and they are great. But i am using diamonds and gold as in-game money, so the incentive to cheat is even higher. Having the logging option allows me to see if duping is taking place, and then take action.

    Thx
     
  14. Offline

    GROMkill

    Okay, I am retarded and can't figure out the chest access function. Am I able to just click a chest and see who put and took what out of it?
     
  15. Offline

    Ablac

    I am currently running logblock version 1.41 cause 1.5 and all the dev builds don't work at all on my server, they refuse to log anything. I thought it was working fine with 1.5 until we had extensive Griefing with no way of rolling it back. Not sure why this is im running the current recommended build of bukkit. The server gives me no errors indicating its not working or its not logging. I am getting an error from 1.41.
    http://pastebin.com/xzm02Fxz
     
  16. Offline

    frymaster

    that error is because by default logblock uses smaller ranges for the coordinate system that only work up until +/-32k. There's a fix in the docs somewhere to make it use the larger numbers (on the move atm so can't look them up)
     
  17. Offline

    DiddiZ

    Yeah, well, I have to change the type to INT. Until then, you just can disable onlinetime logging(logging.playerInfo in config.yml)
    /lb writelogfile player name all
    Enable chest logging and then just hit the chest with the tool
    https://github.com/DiddiZ/LogBlock/wiki/FAQ
    The likelies reason for 1.50 not working is that world config format changes and the config seemingly doesn't get autpupdated well in every case.
     
  18. Offline

    Steeled

    @Ablac

    I seem to be having the same problem as well. LogBlock all of a sudden stopped making logs in MySQL. I reset MySQL and deleted LogBlock and redownloaded it. I believe the probelm was that I kept making a deleting worlds until I found one that generated to my liking. I'll get back in a second and report if it works after reseting it.

    Edit: Yup, LogBlock is not logging anything except for when players log in... I suppose I'll use a later version like Ablac said? Don't put the blame on me I've been using this plugin since 1.7 I know what I'm doing.
     
  19. Offline

    Drumpie

    DiddiZ likes this.
  20. Offline

    tomnicklin

    I dont know what is wrong, I have set up LB fine, added the mysql fine, its created the tables, but its not logging anything, I got a member of my server to dig around and place some blocks and I use /lb tool and /lb toolblock and check where he made changes but it comes up with nothing "No results found" what have I done wrong?

    ive updated to latest dev build 1.51 and still its not logging anything, still says no changes made...i have checked all configs, i just cannot figure it out :p

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 18, 2016
  21. Offline

    Doidle

    xD Its the video tutorial I followed, nothing else, so could you give me a link of Spout then? That would be nice of you =)
     
  22. Offline

    DiddiZ

    Also checked world config?
    If "/lb queuesize" returns a number > 10, type "/lb savequeue" and adjust your consumer settings afterwars (like douple timePerRun)
    http://ci.getspout.org/job/Spout
     
    Doidle likes this.
  23. Offline

    Doidle

    Thanks =)

    Or well wait, might be a dumb question but.. I do not know how to install spout.
    Do you have any tutorial link for me please?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 18, 2016
  24. Offline

    Keiaxx

    Since it isnt possible to log worldedit, would it be possible to add some feature to see who "Hit" or "Selected" the points on the cuboid or something, so I could see who did what? If so thats the closest we can get to worldedit "logging"
     
  25. Offline

    getaim

    remove the 1.0.1... its definitely not working.

    Logging works fine, but if i try to rollback someone "Error, check log" is shown up. The message that appears in the log is already on some pages here.
     
  26. Offline

    Noxturno

    Doesnt work :(
     
  27. Offline

    formaldehyd

    Short question: If i've enabled Block place and chestaccess, how can i see which player had placed the chest? If anybody else looked 100 times in it i've to write the logfile an seach, is there any other way?

    Edit: getting this Error: http://pastie.org/3043018
    I've read the AutoClear, but i can't find any issues.

    Edit: I fount it, but another question: "all" at auotclearlog means that it deleates all params and not all the log?
     
  28. Offline

    xcanner

    Are brewing stands going to get logged like funaces and chests in future updates?
     
  29. Offline

    DiddiZ

    Couldn't really track the issue down yet, but it seems to only occur on hosted MC servers. Somehow an expection "escapes" the catch block. Update to dev #84, that's reported to fix the issue.
    Usually you just place the jar in plugins folder. But in LB 1.50 spout isn't required for chestlogging anymore.
    Likely
    /lb tb disable?
    You've got pages:
    /lb next/+ to browse the results.
    To narrow it down you can modify the tool query:
    /lb tool area 0 created silent
    And to reset:
    /lb tool default

    You are missing the player parameter:
    - world "world" player snowform leavesdecay [...]

    And chat table doesn't support clearlog yet.
    Likely
     
  30. Offline

    GROMkill

    If my server keeps crashing due to RAM failure, and we have nowhere near the amount of people on as we should be able to, is LogBlock a possible suspect for RAM getting eaten up by plugins? After all, it does have to save every action and send it to a MySQL server database, right?
     
  31. Offline

    kujopawz

    I keep getting this error
     

Share This Page