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

    Kane

    Thanks so much. Yeah I can't wait for the Guardian it looks really exciting. I really enjoy the hawkeyes web page but enjoy logblock better or feel more trusted to it haha :) but it will be sweet to have all 3 merge.
     
  3. Offline

    Woolcity

    Is there an easier way to rollback a player in every world he or she's been in?
    easier than /lb rollback player <name> time 5 days
    go to next world, repeat,repeat,repeat,etc.

    when you have 10 griefers in a day it gets really time consuming.
     
  4. Offline

    Mercury

    Code:
    2011-10-08 21:22:12 [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)
    Damit!
     
  5. Offline

    tootybob

    @DiddiZ How do I do that?
     
  6. Offline

    DiddiZ

    You don't need to change the world
    /lb rollback player <name> time 5 days world "world"


    But LB really lacks a all worlds rollback.

    @Mercury
    The interesting one is the error message before

    Enter your mysql username, password, host and database in config.
    If you don't have a mysql server, ask you hoster, isnstall mysql or try db4free.net
     
  7. Offline

    zawmbee42

    I'm running on a multicraft dedicated server, and I keep getting an access denied error.
    Code:
    08.10 18:54:06 [Server] INFO     at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    08.10 18:54:06 [Server] INFO     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
    08.10 18:54:06 [Server] INFO     at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:136)
    08.10 18:54:06 [Server] INFO     at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:52)
    08.10 18:54:06 [Server] INFO     at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:104)
    08.10 18:54:06 [Server] INFO     at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:142)
    08.10 18:54:06 [Server] INFO     at de.diddiz.LogBlock.LogBlock.onLoad(LogBlock.java:78)
    08.10 18:54:06 [Server] INFO java.lang.NullPointerException
    08.10 18:54:06 [Server] SEVERE [LogBlock] Error while loading:
    08.10 18:54:06 [Server] INFO     at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    08.10 18:54:06 [Server] INFO     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
    08.10 18:54:06 [Server] INFO     at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:136)
    08.10 18:54:06 [Server] INFO     at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:52)
    08.10 18:54:06 [Server] INFO     at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:104)
    08.10 18:54:06 [Server] INFO     at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:142)
    08.10 18:54:06 [Server] INFO     at de.diddiz.LogBlock.LogBlock.onLoad(LogBlock.java:78)
    08.10 18:54:06 [Server] INFO     at de.diddiz.LogBlock.LogBlock.getConnection(LogBlock.java:295)
    08.10 18:54:06 [Server] INFO     at de.diddiz.util.MySQLConnectionPool.getConnection(MySQLConnectionPool.java:72)
    08.10 18:54:06 [Server] INFO     at java.sql.DriverManager.getConnection(DriverManager.java:200)
    08.10 18:54:06 [Server] INFO     at java.sql.DriverManager.getConnection(DriverManager.java:620)
    08.10 18:54:06 [Server] INFO     at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:305)
    08.10 18:54:06 [Server] INFO     at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:378)
    08.10 18:54:06 [Server] INFO     at com.mysql.jdbc.Util.handleNewInstance(Util.java:407)
    08.10 18:54:06 [Server] INFO     at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
    08.10 18:54:06 [Server] INFO     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    08.10 18:54:06 [Server] INFO     at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
    08.10 18:54:06 [Server] INFO     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    08.10 18:54:06 [Server] INFO     at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)
    08.10 18:54:06 [Server] INFO     at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:794)
    08.10 18:54:06 [Server] INFO     at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2163)
    08.10 18:54:06 [Server] INFO     at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2371)
    08.10 18:54:06 [Server] INFO     at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2338)
    08.10 18:54:06 [Server] INFO     at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1296)
    08.10 18:54:06 [Server] INFO     at com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:4031)
    08.10 18:54:06 [Server] INFO     at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:931)
    08.10 18:54:06 [Server] INFO     at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3525)
    08.10 18:54:06 [Server] INFO     at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3593)
    08.10 18:54:06 [Server] INFO     at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1073)
    08.10 18:54:06 [Server] INFO java.sql.SQLException: Access denied for user 'zawmbee'@'CentOS-56-64-minimal' (using password: YES)
    08.10 18:54:06 [Server] SEVERE [LogBlock] Error while fetching connection
    08.10 18:54:06 [Server] INFO [LogBlock] Connecting to zawmbee@jdbc:mysql://localhost:3306/zawmbee...
    Please note, this error has not occured when I use BigBrother.
    So I'm assuming its something with the plugin
    Either way, I'd just LOVE to find out what to do.
     
  8. Offline

    DiddiZ

    Unlikely,should be the same for both plugins. I guess you alredy spell checked everything? Put all values in single qoutes.
    If that not helps, try using your domain/ip instead of localhost.
     
  9. Offline

    timwilldude

    Hi,
    whenever I try to use logblock (any commands) it comes up with
    "Usage: /lb help"
    even /lb help does nothing.
    Please /lb help! :p
     
  10. Offline

    zawmbee42

    I'll try the domain/ip. However, bigbrother connects to mysql without a problem.
     
  11. Offline

    Hesse77

    How do i setup MySQL for a mac? I've been using BB this entire time and it worked perfectly, but MySQL is making setting this up a pain in my ass and I feel like a technological retard.

    Code:
    22:07:05 [INFO] [LogBlock] Connecting to mine@jdbc:mysql://localhost:3306/minecraft...
    
    22:07:05 [SEVERE] [LogBlock] Error while fetching connection
    com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
    
    The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at com.mysql.jdbc.Util.handleNewInstance(Util.java:407)
        at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1116)
        at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:343)
        at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2334)
        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:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        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:582)
        at java.sql.DriverManager.getConnection(DriverManager.java:185)
        at de.diddiz.util.MySQLConnectionPool.getConnection(MySQLConnectionPool.java:71)
        at de.diddiz.LogBlock.LogBlock.getConnection(LogBlock.java:288)
        at de.diddiz.LogBlock.LogBlock.onLoad(LogBlock.java:79)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:141)
        at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:103)
        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)
    Caused by: java.net.ConnectException: Connection refused
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:432)
        at java.net.Socket.connect(Socket.java:529)
        at java.net.Socket.connect(Socket.java:478)
        at java.net.Socket.<init>(Socket.java:375)
        at java.net.Socket.<init>(Socket.java:218)
        at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:254)
        at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:292)
        ... 23 more
    22:07:05 [SEVERE] [LogBlock] Error while loading:
    java.lang.NullPointerException
        at de.diddiz.LogBlock.LogBlock.onLoad(LogBlock.java:79)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:141)
        at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:103)
        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)
    
     
  12. Offline

    Devin14

    Hello, when I try to use logblock nothing happens. I have tried /lb help and various other commands. Nothing happens when I type it and also, when I type /plugins logblock is red, not green like the others... Help?
     
  13. Offline

    KoLLIaPuK

    Hello. On how much your plugin loads the server? OS - Debian.
    Also. Plugin connected to mysql.
    i7-920, 12gb
     
  14. Offline

    Baron6

    Same problem as these other guys.. /lb help only says "Usage: /lb help" and nothing happens. Also, is a MySQL server necessary? There's no sqlite? That really sucks, man.

    2011-10-09 00:17:19 [SEVERE] Error occurred while enabling LogBlock v1.32 (Is it up to date?): null
    java.lang.NullPointerException
    at de.diddiz.LogBlock.LogBlock.onEnable(LogBlock.java:144)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:920)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:278)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:173)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:156)
    at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:410)
    at org.bukkit.Bukkit.reload(Bukkit.java:173)
    at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:22)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:353)
    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 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 net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:464)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
     
  15. Offline

    Revenger

    Latest logblock runs fine though got this error in coneole.

    Code:
    2011-10-09 12:45:20 [SEVERE] [LogBlock Lookup] SELECT date, replaced, type, data, playername, signtext, itemtype, itemamount, itemdata FROM `lb-main` INNER JOIN `lb-players` USING (playerid) LEFT JOIN `lb-main-sign` USING (id) LEFT JOIN `lb-main-chest` USING (id) WHERE x >= '70' AND x <= '70' AND y >= '45' AND y <= '45' AND z >= '-2658' AND z <= '-2657' ORDER BY date DESC, id DESC LIMIT 15:
    java.lang.ArrayIndexOutOfBoundsException: 8
        at de.diddiz.LogBlock.CommandsHandler.showPage(CommandsHandler.java:327)
        at de.diddiz.LogBlock.CommandsHandler.access$400(CommandsHandler.java:33)
        at de.diddiz.LogBlock.CommandsHandler$CommandLookup.run(CommandsHandler.java:420)
        at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34)
        at java.lang.Thread.run(Thread.java:636)
    2011-10-09 12:46:12 [WARNING] Can't keep up! Did the system time chan
     
  16. Offline

    Ruan

    For some reason it won't clearlog, but it rollbacks and logs fine (lb lookup since 1m returns stuff). LB #42, CB 1298
     
  17. Offline

    DiddiZ

    Sqlite wouldn't able to handle the amount of data.Without a MySQL server LB will disable itself at startup.

    I guess you're new to LB.
    Did you set the MySQL connection data in config? If you don't have a MySQL server yet, ask you hoster, install it yourself, or try db4free.net (for smaller servers).
    This usually means there is no service listening that port. Check you MySQL server is running and listens to tcp
    -> https://github.com/DiddiZ/LogBlock/wiki/MySQL-Connection-Problems
    Not much, but depends on what you log.

    How did you get a limit of 15. Maybe limit param caused that.

    Disable clearlog.dumpDeletedLog
     
  18. Offline

    Revenger

    This is whats in the config on lookup anything that should be changed?

    From what I know its the default values. Ill recreate the config and see whats changed as I'm sure that one is kinda old.

    Code:
    lookup:
        toolID: 270
        toolQuery: area 0 all sum none limit 15 desc silent
        toolblockID: 19
        toolBlockQuery: area 0 all sum none limit 15 desc silent
        defaultDist: 20
        defaultTime: 30 minutes
        linesPerPage: 15
        linesLimit: 1500
     
  19. Offline

    timwilldude

    Yes, I have the mySQL set up. Here's my config:
    loggedWorlds:
    - swyzencraft2
    - swyzencraft2_nether
    clearlog:
    dumpDeletedLog: false
    keepLogDays: -1
    updater:
    checkVersion: true
    installSpout: true
    tools:
    tool:
    permissionDefault: 'TRUE'
    item: 270
    leftClickBehavior: NONE
    params: area 0 all sum none limit 15 desc silent
    rightClickBehavior: TOOL
    aliases:
    - t
    defaultEnabled: true
    mode: LOOKUP
    toolblock:
    permissionDefault: 'TRUE'
    item: 7
    leftClickBehavior: TOOL
    params: area 0 all sum none limit 15 desc silent
    rightClickBehavior: BLOCK
    aliases:
    - tb
    defaultEnabled: true
    mode: LOOKUP
    questioner:
    askClearLogAfterRollback: true
    banPermission: mcbans.ban.local
    askRedos: true
    askRollbackAfterBan: false
    askClearLogs: true
    askRollbacks: true
    logging:
    hiddenPlayers: []
    hiddenBlocks:
    - 0
    logPlayerInfo: true
    logCreeperExplosionsAsPlayerWhoTriggeredThese: true
    logKillsLevel: PLAYERS
    rollback:
    replaceAnyway:
    - 8
    - 9
    - 10
    - 11
    - 51
    maxArea: 50
    dontRollback:
    - 10
    - 11
    - 46
    - 51
    maxTime: 500 days
    consumer:
    delayBetweenRuns: 6
    forceToProcessAtLeast: 20
    timePerRun: 200
    useBukkitScheduler: true
    lookup:
    defaultDist: 20
    defaultTime: 15 days
    linesLimit: 1500
    linesPerPage: 15
    version: '1.32'
    mysql:
    port: 3306
    host: mysql.xenonservers.com
    user: -----
    password: -----
    database: -----
    I prefer not to tell the user, password and database but that is what the customer support sent me.
     
  20. Offline

    wassilij

    Craftbukkit 1240


    Logblock 1.32

    Code:
    2011-10-09 18:31:29 [INFO] [LogBlock] Found 31imports.
    2011-10-09 18:31:29 [INFO] [LogBlock] Trying to import queue-1317967185162-6.sql ...
    2011-10-09 18:31:45 [INFO] Connection reset
    2011-10-09 18:31:49 [WARNING] [LogBlock] Failed to import queue-1317967185162-6.sql:
    java.sql.BatchUpdateException: You can't specify target table 'lb-players' for update in FROM clause
        at com.mysql.jdbc.StatementImpl.executeBatch(StatementImpl.java:1065)
        at de.diddiz.LogBlock.LogBlock.onLoad(LogBlock.java:102)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:142)
        at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:104)
        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)
    2011-10-09 18:31:49 [INFO] [LogBlock] Trying to import queue-1317967185162-15.sql ...
    2011-10-09 18:32:10 [WARNING] [LogBlock] Failed to import queue-1317967185162-15.sql:
    java.sql.BatchUpdateException: You can't specify target table 'lb-players' for update in FROM clause
        at com.mysql.jdbc.StatementImpl.executeBatch(StatementImpl.java:1065)
        at de.diddiz.LogBlock.LogBlock.onLoad(LogBlock.java:102)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:142)
        at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:104)
        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)
    2011-10-09 18:32:10 [INFO] [LogBlock] Trying to import queue-1317967185162-19.sql ...
    2011-10-09 18:32:34 [WARNING] [LogBlock] Failed to import queue-1317967185162-19.sql:
    java.sql.BatchUpdateException: You can't specify target table 'lb-players' for update in FROM clause
        at com.mysql.jdbc.StatementImpl.executeBatch(StatementImpl.java:1065)
        at de.diddiz.LogBlock.LogBlock.onLoad(LogBlock.java:102)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:142)
        at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:104)
        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)
    2011-10-09 18:32:34 [INFO] [LogBlock] Trying to import queue-1317967185162-16.sql ...
    2011-10-09 18:32:43 [INFO] Read timed out
     
  21. Offline

    DiddiZ

    These are really default values. Do you know the command that caused the error?
    kk, just guessed. What's the error message? The one before the null pointer, something about mysql connection exception.
    Ty
     
    wassilij likes this.
  22. Offline

    timwilldude

    2011-10-08 16:32:14 [SEVERE] org.bukkit.Bukkit.getConsoleSender()Lorg/bukkit/command/ConsoleCommandSender; initializing LogBlock v1.32 (Is it up to date?)
    java.lang.NoSuchMethodError: org.bukkit.Bukkit.getConsoleSender()Lorg/bukkit/command/ConsoleCommandSender;
    at de.diddiz.LogBlock.Config.<init>(Config.java:167)
    at de.diddiz.LogBlock.LogBlock.onLoad(LogBlock.java:68)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:141)
    at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:103)
    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)


    2011-10-08 16:32:28 [SEVERE] org.bukkit.Bukkit.getConsoleSender()Lorg/bukkit/command/ConsoleCommandSender; initializing LogBlock v1.32 (Is it up to date?)
    java.lang.NoSuchMethodError: org.bukkit.Bukkit.getConsoleSender()Lorg/bukkit/command/ConsoleCommandSender;
    at de.diddiz.LogBlock.Config.<init>(Config.java:167)
    at de.diddiz.LogBlock.LogBlock.onLoad(LogBlock.java:68)
     
  23. Offline

    palz2015

    I have a database connected to LB, but all it does is:
    Code:
    Usage: /lb help
    Please help, I really need a logging plugin.
     
  24. Offline

    Bluebomb

    Had the same problem. Just (if you're on Bukkit 1240) update LogBlock to 1240.
     
  25. Offline

    DiddiZ

    v1.32 doesn't work with cb 1185, use v1.30
    Check the error log at server start, can mave many causes.
     
  26. Offline

    palz2015

    I fixed it, oddly enough I got the 1185 JAR and ran it on 1240.
     
  27. Offline

    Godwar101

    I can't rollback nothing...
    For example, I type:
    Code:
    /lb rollback user anyuser since 1h area 50
    and I got this message:

    Not a valid argument 'user'
     
  28. Offline

    DiddiZ

    /lb rollback player anyuser since 1h area 50

    But user sounds worth adding :D
     
  29. Offline

    Godwar101

    Thanks ;)
     
  30. Offline

    Schuetrumpf2

    How do you get the grid showing your selection to show up? If this seems like a stupid question, then before anyone asks, yes I am new to bukkit.

    Could't you achieve the same effect with /lb rollback area 50 time 1 hour? Just leave out the player parameter.

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

    DiddiZ

    Thats a client mod called worldedit client addon
    Anyuser is meant as <player name>. There is no all players parameter.
     

Share This Page