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

    DiddiZ

    @wassilij
    Autoupdater doesn't work as expected ...
    And paintings are entities not blocks, they don't fit tin the current db schema
    You need to use the name of you MySQL user. And you need a MySQL server :D
    Put the data of your MySQL server in config?
     
  3. Offline

    Lolmewn

    Oh wait I uploaded the wrong config -.-
     
  4. Offline

    BenniRennt

    Code:
    2011-10-13 19:37:56 [SEVERE] Error occurred while enabling LogBlock v1.30 (Is it up to date?): null
    java.lang.NullPointerException
        at de.diddiz.LogBlock.LogBlock.onEnable(LogBlock.java:145)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:941)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:174)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:157)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:297)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:284)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:152)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    Can anyone help with this error?
     
  5. Offline

    wassilij

    So i can't log paintings?
    Hm okay .. my users will kill me xD
     
  6. Offline

    MindEngineer

    Ok, I'm not sure I understand what they are asking here? I've traded a bunch of messages and feeling confused.

    Their last message is

    What exactly did you ask them? All you need to do is ask how to get the script to attempt to connect to the web hosting server instead of the local host server.
    java.sql.SQLException: Access denied for user 'engineer_mind'@'205.234.153.34' (using password: YES)
    The error above indicates that it is not connecting to the correct server, this is your issue (not a coding error).

    I'm not sure what this means? To me it means engineer_mind coming from the my minecraft server IP is denied. From what I'm getting they are say it should beengineer_mind'@67.214.170.226. This # representsMySQL location. In my opinion and I'm all new to this I need to create a user engineer_mind'@'205.234.153.34 that is allowed. When I create a user; though, there is no choice about IP's So, I guess I'm not sure what I'm talking about.

    Any feedback would be appreciated.

    Thanks, MindEngineer
     
  7. Offline

    DiddiZ

    So whats the corect ip of the MySQL server?
    67.214.170.226 or 205.234.153.34?
     
  8. I cant get this work because i dont know how to work with MySQL, i checked the page you provided to a player who asked about error where MySQL could not "talk" with the server. (page 150) , i dont understand how to make mysql work :/ there seems no be any other good log plugin than this so im screwd.
     
  9. Offline

    MindEngineer

    67.214.170.226 is the ip of the MySQL
     
  10. Offline

    Hellgast23

    Hey man, this plugin is awesome!! Now i can finely let new ppl on the server, without worrying !! Thanks a bunch mate!
    Tho it would have been more handy if i didn't had to setup a MYSQL server, but in the end, it is worth it :D
    Thanks and cya ^^
     
    DiddiZ likes this.
  11. Offline

    XRayted

    Would that be v1.33?
    The players are getting mad/unpatience by those griefers, so I will use v1.32 now.

    Edit:

    Code:
    2011-10-13 22:28:18 [INFO] No source for LogBlockQuestioner.jar ask the Author to add it to dev.bukkit.org
    2011-10-13 22:28:18 [INFO] No source for AncientGates.jar ask the Author to add it to dev.bukkit.org
    2011-10-13 22:28:18 [INFO] Not able to update LogBlock.jar. It seems there no file-Uploads at dev.bukkit.org.
    2011-10-13 22:28:18 [INFO] No source for MinecraftViewer.jar ask the Author to add it to dev.bukkit.org
    2011-10-13 22:28:18 [INFO] No source for NoLaggChunks.jar ask the Author to add it to dev.bukkit.org
    2011-10-13 22:28:18 [INFO] No source for RemoveXP_1.1.jar ask the Author to add it to dev.bukkit.org
    2011-10-13 22:28:18 [INFO] No source for PlgSetspawn.jar ask the Author to add it to dev.bukkit.org
    
     
  12. Offline

    DiddiZ

    http://dev.mysql.com/doc/refman/5.5/en/installing.html
    So every connection to 67.214.170.226 from 205.234.153.34 of engineer_mind is denied.
    Your mysql user is still lacking remote access privileges.
     
  13. Offline

    MindEngineer

    Ok, I went to my "Remote MySQL" section and found that there is a wildcard I can use. Once used it works.

    Thank you for your help!
     
    DiddiZ likes this.
  14. I know you guys are merging. But i would still like to make a feature request. We have a problem on our server finding the specific time something was griefing. Logblock uses local server time it seems, so mods from america and other places in eu have to convert in order to find the time something was griefed and roll it back.

    It makes it time consuming, and heck of a job to roll back a place that has been griefed by for example a pack of people.

    Is there any way you can tell logblock to synchronize with your timezone and have it convert, so each mod can have the time something was griefed displayed in their timezone? It makes it easier to calculate.

    Or maybe the logging can be revolutionaized, and use internet time or something similar instead
     
  15. Offline

    XRayted

    Sorry but in the serverlog you have a time stamp of the server locally right?
    Like: "2011-10-14 00:20:11 [INFO] Starting minecraft server version Beta 1.8.1"
    Server time is: "00:20:11 "

    For me our server uses USA Central time. I just have to think minus 7 hours, because I live in the Netherlands.
     
  16. Offline

    d3nn1sv0

    Okay i keep getting this error: [LogBlock] Error while fetching connection
    com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure

    Why is this and how to i fix it?
     

  17. Like i said, i already read that and i dont understand what i must do, my computer is not in english language so i cannot find the real places to go etc. :) i never had to do anything like this to get plugin work , this plugin requires 2 much work :((
     
  18. Offline

    Revenger

    Hey have a minor issue.

    Wanted to check a new map as the main one forgot to disable logblock and hawkeye doing so.

    Now I have allot of crap date for today only 14/10/2011 in the logs.

    Anyway to purge it?

    I believe this plugin is causing a very massive memory leak on our server when creating chunks soo much that 6gb is reached in seconds when just me on in a blank world creating them and the ram never comes down, it always stays up there, I have detailed the full extent here before I started my thorough testing.

    Disabling this and hawkeye the server never goes over 2gb at all when creative mode flying creating chunks.
     
  19. Offline

    DiddiZ

    Did you put the name/pw of your MySQL server in config?
    Yesterday commended how easy it was to set up :D
    Give google a try and search a mysql setup tutorial in your language, i belive there are tons of.
    /lb clearlog since 14.10.2011 00:00:00 before 15.10.2011 00:00:00

    It rather a memory leak than logging flowing lava and other environment actions.
    I've got a workaround in mind (not logging environment actions in a chunk before a player changed there something) but this still needs a bit to be thought about.
     
  20. Offline

    Revenger

    Will try the fix.

    So Its good your aware of it as it we cannot generate any new chunks at all due to instant crashing pretty much.

    Any ETA?

    Gotta tell my players a rough estimate how long they won't get new biomes or worlds for.

    As it is server is still whitelisted for getting stuff setup but we can do without any map generation for a bit.

    Memory seems to be high everywhere really with logblock active.
     
  21. Offline

    JagerPrime

    New install of the plugin. New configs, adjusted for a quick text, logs the tnt having been out down, but when the exploded area is checked, no data exists. D=

    Code:
    loggedWorlds:
    - world
    - world_nether
    - TempServer
    - TempServer_nether
    mysql:
        port: REMOVED
        host: REMOVED
        password: REMOVED
        user: REMOVED
        database: REMOVED
    logging:
        logCreeperExplosionsAsPlayerWhoTriggeredThese: false
        logKillsLevel: PLAYERS
        hiddenPlayers: []
        hiddenBlocks:
        - 0
        logPlayerInfo: true
    clearlog:
        dumpDeletedLog: false
        keepLogDays: -1
    questioner:
        askRedos: true
        askClearLogs: true
        askRollbacks: true
        askClearLogAfterRollback: true
        banPermission: mcbans.ban.local
        askRollbackAfterBan: false
    rollback:
        replaceAnyway:
        - 8
        - 9
        - 10
        - 11
        - 51
        dontRollback:
        - 10
        - 11
        - 46
        - 51
        maxTime: 2 days
        maxArea: 50
    consumer:
        delayBetweenRuns: 5
        forceToProcessAtLeast: 20
        timePerRun: 200
        useBukkitScheduler: true
    lookup:
        toolID: 270
        toolQuery: area 0 all sum none limit 15 desc silent
        toolblockID: 7
        toolBlockQuery: area 0 all sum none limit 15 desc silent
        defaultDist: 20
        defaultTime: 30 minutes
        linesPerPage: 15
        linesLimit: 1500
    tools:
        tool:
            item: 270
            leftClickBehavior: NONE
            params: area 0 all sum none limit 15 desc silent
            rightClickBehavior: TOOL
            aliases:
            - t
            defaultEnabled: true
            mode: LOOKUP
            permissionDefault: OP
        toolblock:
            item: 7
            leftClickBehavior: TOOL
            params: area 0 all sum none limit 15 desc silent
            rightClickBehavior: BLOCK
            aliases:
            - tb
            defaultEnabled: true
            mode: LOOKUP
            permissionDefault: OP
    updater:
        checkVersion: true
        installSpout: true
    version: '1.32'
    
    Code:
    table: lb-tempserver
    logBlockCreations: true
    logBlockDestroyings: true
    logKills: false
    logButtonsAndLevers: false
    logLeavesDecay: false
    logFire: false
    logLavaFlow: false
    logWaterFlow: false
    logChestAccess: false
    logExplosions: true
    logSignTexts: false
    logChat: false
    logSnowForm: false
    logSnowFade: false
    logCakes: false
    logDoors: true
    logEndermen: true
    
     
  22. Offline

    Revenger

    Just checked the logblock config and mining world which we want to introduce doesn't have a config.

    So the ram usage is going up even when the world is not logged.

    As said its a memory leak somewhere with the plugin.
     
  23. Offline

    losdamianos

    Yo DiddyZ :D
    Can you tell us when can we expect online time logging to be added to webstats ?
    Thanks,
     
  24. Offline

    DiddiZ

    @JagerPrime
    Really strange. Would you give me your ip so I can see that myself?
    Idk, when I get the time or someone other does it :D
     
  25. Offline

    madseu

    23:20:03 [INFO] [LogBlock] Version check: Your version is up to date
    23:20:03 [INFO] [LogBlock] Connecting to username@jdbc:mysql://localhost:3306/mi
    necraft...
    23:20:05 [SEVERE] [LogBlock] Error while fetching connection
    com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link fai
    lure
     
  26. Offline

    d3nn1sv0

     
  27. Offline

    madseu

    dont have mysql server
     
  28. Offline

    DiddiZ

    Get one. It's not that hard :D
    Then provide the full stack trace.
     
  29. Offline

    Jaker232

    Finally, a BigBrother replacement. BigBrother always bitch to replace the config.example file to "config" and it keeps generating even when I do it.
     
  30. Offline

    Nathan C

    Never mind, switched to HawkEye and I will see how that works.
     
  31. Offline

    JagerPrime

    IP posted on your wall type thing on here.
     

Share This Page