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

    beuz12

    hello,
    sorry for my bad english ... but i have an error logblock, my logblock version is 0.70.
    can you give me help ? please.

    2011-11-29 15:41:00 [WARNING] Plugin LogBlock v1.32 tried to register permission 'logblock.ignoreRestrictions' but it's already registered
    java.lang.IllegalArgumentException: The permission logblock.ignorerestrictions is already defined!
    at org.bukkit.plugin.SimplePluginManager.addPermission(SimplePluginManager.java:424)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:188)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:165)
    at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:337)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:324)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:161)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:388)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
     
  3. Offline

    DiddiZ

    Use restarts instead of reloads, or update LB (you are running 1.32, that is something around #40, not #70)
     
  4. Offline

    MineCleric

    Now i got this:
    2011-11-29 18:07:46 [INFO] MineCleric [/88.91.177.111:50731] logged in with entity id 74 at ([Minecraft Nordland] -201.21875, 63.0, 487.4375)
    2011-11-29 18:07:49 [SEVERE] [LogBlock Consumer] SQL exception on UPDATE `lb-players` SET lastlogin = FROM_UNIXTIME(1322586467), firstlogin = IF(firstlogin = 0, FROM_UNIXTIME(1322586467), firstlogin), ip = '/88.91.177.111:50731' WHERE playerid = 1;:
    com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'lastlogin' in 'field list'
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
    at com.mysql.jdbc.Util.handleNewInstance(Util.java:407)
    at com.mysql.jdbc.Util.getInstance(Util.java:382)
    at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1052)
    at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3593)
    at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3525)
    at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1986)
    at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2140)
    at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2620)
    at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2570)
    at com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:779)
    at com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:622)
    at de.diddiz.LogBlock.Consumer.run(Consumer.java:276)
    at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34)
    at java.lang.Thread.run(Thread.java:679)
     
  5. Offline

    DiddiZ

    Either set version in LB config to '1.30' and restart, or diesable logging.logPlayerInfo (also in main config)
     
  6. Offline

    beuz12

    how to update lb ? because i download the pack 1.41.zip
     
  7. Offline

    MineCleric

    DiddiZ said:
    Either set version in LB config to '1.30' and restart, or diesable logging.logPlayerInfo (also in main config)
    works not
     
  8. Offline

    KrisEike

    05:33:03 [SEVERE] Nag author: 'DiddiZ' of 'LogBlock' about the following: This plugin is not properly shutting down its async tasks when it is being reloaded. This may cause conflicts with the newly loaded version of the plugin
     
  9. Offline

    DiddiZ

    Just replace the jar, autoupdater will do the rest.
    I don't know what you do, but you are doing something wrong. If you disable player info logging, it can't complain about missing columns ...
    This is a lookup or rollback task running at reload.
     
  10. Offline

    Lauritus

    Do someone know good free MySQL server? To this plugin.
    Because i can't get my current server work.
     
  11. Offline

    1born2kill

    hey DiddiZ,

    Is it normal for the plugin to stop working sometime? Like its been doing what its suppose to do, but sometime it just wont respond, like lets say ill do /lb tool area 10 destroyed and I used the tool, sometimes it wont give feedbacks

    Edit: Wait... I don't have that World Logged, perhaps this is why!
     
  12. Offline

    Raycrash

    Is there an ender dragon event already in ?
     
  13. Offline

    Danny-VSS

    Running the latest spout, and latest logblock we're getting this:
    Also, Running Craftbukkit version git-Bukkit-1.8.1-R4-24-gb309d2f-b1499jnks (MC: 1.0.0) (Doubt that helps)

    In Game: Error Check Logs
    Any help?
     
  14. Offline

    DiddiZ

    From the stack trace I'd guess you are using a command wrongly. The error message could help.
    No, not yet.
     
  15. Offline

    monir

    If i for example remove lava and fire will it be rollbacked?

    dontRollback: - 10 //Lava - 11 //Lava - 46 //TNT - 51 //Fire
     
  16. Offline

    DiddiZ

    LB won't spawn blocks listed under dontRollback, so when you remove them they'll come back.
     
  17. Offline

    Danny-VSS

    Aw, brilliant. Thanks, :3
     
  18. Offline

    monir

    So if i want to rollback lava and fire what do i do?
    With these settings it didnt rollback lava:

    Code:
    rollback:
        replaceAnyway:
        - 8
        - 9
        - 10
        - 11
        - 51
        dontRollback:
        - 10
        - 11
        - 46
        - 51
     
  19. Offline

    DiddiZ

    Code:
    rollback:
        replaceAnyway:
        - 8
        - 9
        - 10
        - 11
        - 51
        dontRollback:
        - 46
     
  20. Offline

    Lildirt

    Well, this just started recently, but all of a sudden I was receiving the error of..
    "[SEVERE] LogBlock: Failed to load: null"

    Nothing else. I updated Spout and LogBlock, nothing changes. It is still giving me this error..
    Any suggestions on what my problem is? :(
    This occurred out of random, nothing happened with my MySQL database.

    EDIT: I'm using LogBlock 1.41 , ran on Bukkit 1337. I shouldn't be getting this error until I upgrade to 1396+.. right?
     
  21. Offline

    Dy1an362

    Can you please make it so we dont need MySQL.... i cannot figure out how to use MYSQL and cannot find a good tutorial on youtube, and i dont really care...Hawkeye is not working, and Neither is Bigbrother, just please make it so no MySQL is required.
    Version: 1.41​
    [​IMG]
    [​IMG]
    Find and Backroll those Damn Griefers
    LogBlock v1.41 #63 (CB #1337):
    https://github.com/downloads/DiddiZ/LogBlock/LogBlock v1.41.zip
    LogBlock dev builds:
    http://diddiz.insane-architects.net:8080/job/LogBlock/

    Please read the installation guide, and update Spout (you'll get lots of errors otherwise!))

    LogBlock, HawkEye and BigBrother will finally merge. This process will take a while (about a month), LogBlock will receive updates until it's done, don't worry. If you want to suggest features, or contribute: http://forums.bukkit.org/threads/33907

    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.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/DiddiZ/LogBlock/issues

    Permission Nodes:
    https://github.com/DiddiZ/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:
    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'.[/quote]
     
  22. Offline

    Lildirt

    It's literally impossible to do a logging plug-in like LogBlock without MySQL. SQLite would be over-ran with difficulties trying to handle this, which would make ineffective logging, or maybe no logging at all.
    You can't do SQLite with this.

    If you're using a dedicated host, just simply ask them to set it up.
    If you're doing it to your own computer, install WAMPServer, it is a MySQL database program and works very well for Windows. I believe Linux/Ubuntu users can use XAMPP, but I'm not 100% sure if I have the name right.
    If you can't find a tutorial on YouTube, I wonder if you're blind. I'm being serious, when I searched for "Setting up MySQL for LogBlock", I couldn't find a BAD result.

    Note: You're going to probably need to do some forwarding with ports here, because most modern-day Windows computers have Port 80 taken already by another program. (You can change it in the WAMPServer configuration, which is in the installation folder I believe..)
    If this sounds too hard, I'm sorry, [sarcasm] but you're not going to run a effective server without killing yourself first.. [/sarcasm]


    EDIT: If I sound like a douche, I'm somewhat meaning to be.. just saying ..
    EDIT2: If you don't care, you don't need to run a server. Isn't that easy to do?
     
    DiddiZ likes this.
  23. Offline

    DiddiZ

    Hm, update LB to dev #67+, better latest. Then it should either work, or at least print out the full stack trace in case of null.

    @Dy1an362
    Firstly, thanks for the full quote, the thread was way to clear yet.
    And no, all other database backends that may be supported in the future (postgres) won't be easier to set up as MySQL.
     
  24. Offline

    Lildirt

    Alright, I updated to your latest dev build, #71.. It fixed that issue, but I'm still getting an error related to null.
    Code:
    20:18:29 [SEVERE] [LogBlock] Error while loading:
    java.lang.NullPointerException
        at de.diddiz.LogBlock.Config.<init>(Config.java:139)
        at de.diddiz.LogBlock.LogBlock.onLoad(LogBlock.java:67)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:139)
        at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:112)
        at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:52)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:136)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    20:18:29 [SEVERE] null initializing LogBlock v1.42 (Is it up to date?)
    java.lang.NullPointerException
        at de.diddiz.LogBlock.Consumer.<init>(Consumer.java:48)
        at de.diddiz.LogBlock.LogBlock.onLoad(LogBlock.java:93)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:139)
        at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:112)
        at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:52)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:136)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    
    Not completely sure of what this means, as I don't know Java that well..
    NullPointerExceptions.. I think I see these on a daily basis.. >_<

    " at de.diddiz.LogBlock.Config.<init>(Config.java:139)" -- My configuration is messed up.. ? :(


    Editing, editing, and more editing:
    This error popped up mid-boot also, I didn't notice it until afterwards.
    Code:
    20:18:47 [SEVERE] Error occurred while enabling LogBlock v1.42 (Is it up to date?): null
    java.lang.NullPointerException
        at de.diddiz.LogBlock.LogBlock.onEnable(LogBlock.java:121)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:174)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:957)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:171)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:154)
        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)
    
     
  25. Offline

    DiddiZ

    Looks like it fails to load rollback.maxTime, did you modify that value?
    Remove that line in config if you aren't sure, it will regenerate on next reload/restart.
    The other errors are derived from that.
     
  26. Offline

    number1_Master

    i cant find how to set up mysql for mac, well how do you!>??!?!?!?!?!!?!
     
  27. Offline

    Lildirt

    Oh yeah, I set the value to -1, for infinite, as it did work like that beforehand.
    Thanks! :)

    EDIT:
    Code:
    23:08:13 [SEVERE] [LogBlock] Error while fetching connection: 
    com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Access denied for user 'mc8206'@'%' to database 'minecraft'
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
        at com.mysql.jdbc.Util.handleNewInstance(Util.java:407)
        at com.mysql.jdbc.Util.getInstance(Util.java:382)
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1052)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3593)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3525)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:931)
        at com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:4031)
        at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1296)
        at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2338)
        at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2371)
        at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2163)
        at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:794)
        at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
        at com.mysql.jdbc.Util.handleNewInstance(Util.java:407)
        at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:378)
        at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:305)
        at java.sql.DriverManager.getConnection(DriverManager.java:579)
        at java.sql.DriverManager.getConnection(DriverManager.java:221)
        at de.diddiz.util.MySQLConnectionPool.getConnection(MySQLConnectionPool.java:72)
        at de.diddiz.LogBlock.LogBlock.getConnection(LogBlock.java:256)
        at de.diddiz.LogBlock.LogBlock.onLoad(LogBlock.java:77)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:139)
        at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:112)
        at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:52)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:136)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    
    I'm supposing that this is my MySQL database not accepting remote connections anymore. Oh well, I'll have to install XAMPP tomorrow on my computer. :)
     
  28. Offline

    Jamie Tees

    Is it possible to put a limit on the amount of blocks placed Of a type of id per minute?
     
  29. Offline

    DiddiZ

    Have a look at this:
    http://dev.mysql.com/doc/refman/5.1/en/installing.html
    Um, no. Sounds vulnerable to me.
     
    nunber1_Master likes this.
  30. Offline

    Lauritus

  31. Offline

    nate302

    I was going to post a pastebin link, but it seems it's down.. so here's this. I have in my config to log 3 worlds, and have a world config for it as well to log. The world is loaded through multiverse. Problem is, logblock says it's not being logged.


    config.yml:

    Code:
    loggedWorlds:
    - world
    - world_nether
    - world_release
    world_release.yml:

    Code:
    logBlockCreations: true
    logBlockDestroyings: true
    logCakes: false
    logKills: false
    logDoors: false
    logFire: true
    logSnowFade: false
    table: lb-world_release
    logChestAccess: true
    logSignTexts: true
    logWaterFlow: true
    logChat: false
    logSnowForm: false
    logButtonsAndLevers: false
    logLeavesDecay: false
    logEndermen: false
    logLavaFlow: true
    logExplosions: true
    when I use the tool, I get no return. When I do "/lb area 2" or something to that effect, I get the error:

    Code:
    [WARNING] [LogBlock] Exception in commands handler:
    java.lang.IllegalArgumentException: This world ('world_release') isn't logged
        at de.diddiz.LogBlock.QueryParams.parseArgs(QueryParams.java:410)
        at de.diddiz.LogBlock.QueryParams.<init>(QueryParams.java:49)
        at de.diddiz.LogBlock.CommandsHandler.onCommand(CommandsHandler.java:300)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:370)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:756)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:721)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:714)
        at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:179)
        at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
        at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:546)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:516)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:414)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)

    any ideas?

    Edit: I would like to mention all tools and commands work correctly for every rank (mods/admins/ops) in world "world" and world "world_nether".
     

Share This Page