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

    That's a feature that will come with Guardian
    [quote="[LogBlock] Connecting to username@jdbc:mysql://localhost:3306/mi
    necraft...[/quote]
    You didn't set your MySQL servers data in LB config.
     
  3. Offline

    ProjectInfinity

    @DiddiZ I'm getting this all of a sudden:
    Code:
    01:05:33 [WARNING] [LogBlock Consumer] Failed to add player tearer450
    01:05:33 [WARNING] [LogBlock Consumer] Failed to add player ninjamasterBEE
    01:05:33 [WARNING] [LogBlock Consumer] Failed to add player 5parxx
    
    Lots of players are not logged it seems. LB 1.50 on RB 1597.

    The following is shown when I cat server.log and grep -i "logblock"
    Code:
    2011-12-27 01:05:13 [INFO] [LogBlock] Connecting to minecraft@jdbc:mysql://localhost:3306/minecraft...
    2011-12-27 01:05:15 [INFO] LogBlockQuestioner v0.02 enabled
    2011-12-27 01:05:16 [INFO] MCBans: Enabling LogBlock integration
    2011-12-27 01:05:25 [INFO] [LogBlock] Permissions plugin found.
    2011-12-27 01:05:25 [INFO] [LogBlock] Using own chest access API
    2011-12-27 01:05:25 [INFO] [LogBlock] Scheduled consumer with bukkit scheduler.
    2011-12-27 01:05:25 [INFO] LogBlock v1.50 by DiddiZ enabled.
    2011-12-27 01:05:30 [WARNING] [LogBlock Consumer] Failed to add player InvisibleUp
    2011-12-27 01:05:33 [WARNING] [LogBlock Consumer] Failed to add player tearer450
    2011-12-27 01:05:33 [WARNING] [LogBlock Consumer] Failed to add player ninjamasterBEE
    2011-12-27 01:05:33 [WARNING] [LogBlock Consumer] Failed to add player 5parxx
    2011-12-27 01:05:37 [WARNING] [LogBlock Consumer] Failed to add player CraftMiner007
    2011-12-27 01:05:41 [WARNING] [LogBlock Consumer] Failed to add player WQboy
    2011-12-27 01:05:49 [WARNING] [LogBlock Consumer] Failed to add player SarcasticMidget
    2011-12-27 01:05:53 [WARNING] [LogBlock Consumer] Failed to add player OTTER_PANTS
    2011-12-27 01:05:53 [WARNING] [LogBlock Consumer] Failed to add player 1swiftfox1
    2011-12-27 01:06:13 [WARNING] [LogBlock Consumer] Failed to add player monkeydew62
    2011-12-27 01:07:05 [WARNING] [LogBlock Consumer] Failed to add player chakatlunar
    2011-12-27 01:07:22 [WARNING] [LogBlock Consumer] Failed to add player Yooy16
    2011-12-27 01:07:31 [WARNING] [LogBlock Consumer] Failed to add player connorbillis
    2011-12-27 01:07:50 [WARNING] [LogBlock Consumer] Failed to add player barisaxman100
    2011-12-27 01:09:00 [WARNING] [LogBlock Consumer] Failed to add player Gabepancakes
    2011-12-27 01:09:42 [WARNING] [LogBlock Consumer] Failed to add player bluecows
    2011-12-27 01:13:26 [WARNING] [LogBlock Consumer] Failed to add player Straevaras
    2011-12-27 01:14:42 [WARNING] [LogBlock Consumer] Failed to add player PrettyPinky
    2011-12-27 01:15:20 [WARNING] [LogBlock Consumer] Failed to add player ForceApple
    2011-12-27 01:15:26 [WARNING] [LogBlock Consumer] Failed to add player thevansman
    2011-12-27 01:15:53 [WARNING] [LogBlock Consumer] Failed to add player grr160
    
    
    Edit: Updated to #88. Same issue. This is kind of an urgent issue, people can grief freely...

    Edit2: Just making it clear, this does not happen to everyone. Only a few players.
     
  4. Offline

    killdro

    Every time i try to rollback it give me an error of "Error, check log". What exactly should i do to fix this. I type in
    "/lb rollback ricardo001 10"
    Code:
    20:18:55 [WARNING] [LogBlock] Exception in commands handler:
    java.lang.IllegalArgumentException: Not a valid argument: 'ricardo001'
    at de.diddiz.LogBlock.QueryParams.parseArgs(QueryParams.java:400)
    at de.diddiz.LogBlock.CommandsHandler.onCommand(CommandsHandler.java:217)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:165)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:378)
    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.w(MinecraftServer.java:527)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
     
  5. Offline

    ProjectInfinity

    You forgot "player".
    "lb rollback player ricado001". Also "10" is wrong, you need to specify time (since) or radius (area).
    I suggest you read the OP, it gives you some examples.
     
  6. Offline

    killdro

    Oh ok thank you very much.
     
  7. Offline

    zoolder101

    Would you mind clearing up Chest Logging? I still don't fully understand how to check chests, it would help me out a lot.
     
  8. Offline

    DiddiZ

    Likely integer overflow.
    Change data type of lb-players.playerid, world.playerid and lb-chat.playerid (if present) from smallint to medium int.[/quote]
    Use thw wood pickaxe :D
     
  9. Offline

    ProjectInfinity

    Also forgot to mention I get this sometimes, is this a problem?
    Code:
    2011-12-27 04:21:45 [SEVERE] [LogBlock Consumer] SQL exception on UPDATE `lb-players` SET onlinetime = ADDTIME(onlinetime, TIMEDIFF(FROM_UNIXTIME(1324956105), lastlogin)) WHERE playerid = 65547;:
    com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Column 'onlinetime' cannot be null
            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:1039)
            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:274)
            at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34)
            at java.lang.Thread.run(Thread.java:722)
    
     
  10. Offline

    luyao

    can u plz help me ? when i rightclick using the tool it says that no result found and i tried /lb save requeue and nothing happens~
     
  11. Offline

    DiddiZ

    Either ignore it, or disable logging.logplayerInfo in main config.
    Check your world config.
     
  12. Offline

    luyao

    from where ? in plugin ?

    logging:
    TNTEXPLOSION: false
    LEAVESDECAY: false
    MISCEXPLOSION: false
    SNOWFORM: false
    NATURALSTRUCTUREGROW: false
    KILL: false
    FIRE: false
    CHAT: false
    WATERFLOW: false
    BONEMEALSTRUCTUREGROW: false
    BLOCKPLACE: false
    ENDERDRAGON: true
    DIODEINTERACT: false
    SNOWFADE: false
    CHESTACCESS: false
    ENDERMEN: false
    SIGNTEXT: false
    LAVAFLOW: false
    CAKEEAT: false
    BLOCKBREAK: false
    SWITCHINTERACT: false
    NOTEBLOCKINTERACT: false
    GHASTFIREBALLEXPLOSION: false
    CREEPEREXPLOSION: false
    DOORINTERACT: false
    table: lb-world

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

    agubelu

    Well...

    All of them are set to false, so LogBlock isn't logging anything
     
  14. Offline

    luyao

    so which one should i set to true,so that i know who created somthing or destoried somthing
     
  15. Offline

    Firehunter23

    Got a crash/restart of the server when doing a wrong command. Using version 1.50 with latest cb.

    command was /lb player PLAYERNAME sum

    Would be nice to implement a check to prevent this :)

    Code:
    2011-12-27 15:52:23 [WARNING] [LogBlock] Exception in commands handler:
    java.lang.IllegalArgumentException: No or wrong count of arguments for 'sum'
        at de.diddiz.LogBlock.QueryParams.parseArgs(QueryParams.java:355)
        at de.diddiz.LogBlock.QueryParams.<init>(QueryParams.java:49)
        at de.diddiz.LogBlock.CommandsHandler.onCommand(CommandsHandler.java:291)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:166)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:378)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:757)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:722)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:715)
        at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:180)
        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:93)
        at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:550)
        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)
     
  16. Offline

    UsefulPawn

    I know you're really busy but I need help with this
    Code:
    16:57:38 [INFO] [LogBlock] Version check: Your version is up to date
    16:57:38 [INFO] [LogBlock] Connecting to username@jdbc:mysql://localhost:3306/mi
    necraft...
    16:57:40 [SEVERE] [LogBlock] Error while fetching connection:
    com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link fai
    lure
    
    The last packet sent successfully to the server was 0 milliseconds ago. The driv
    er has not received any packets from the server.
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
    rce)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at com.mysql.jdbc.Util.handleNewInstance(Util.java:407)
    at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1
    116)
    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:2
    371)
    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(Unknown Source)
    
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
    rce)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    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(Unknown Source)
    at java.sql.DriverManager.getConnection(Unknown Source)
    at de.diddiz.util.MySQLConnectionPool.getConnection(MySQLConnectionPool.
    java:72)
    at de.diddiz.LogBlock.LogBlock.getConnection(LogBlock.java:258)
    at de.diddiz.LogBlock.LogBlock.onLoad(LogBlock.java:77)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:154)
    at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:127)
    at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigur
    ationManager.java:52)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:145)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:399)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    Caused by: java.net.ConnectException: Connection refused: connect
    at java.net.DualStackPlainSocketImpl.connect0(Native Method)
    at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
    at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
    at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
    at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
    at java.net.PlainSocketImpl.connect(Unknown Source)
    at java.net.SocksSocketImpl.connect(Unknown Source)
    at java.net.Socket.connect(Unknown Source)
    at java.net.Socket.connect(Unknown Source)
    at java.net.Socket.<init>(Unknown Source)
    at java.net.Socket.<init>(Unknown Source)
    at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.ja
    va:254)
    at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:292)
    ... 23 more
    
    >
    Thanks in advance :rolleyes:

    --EDIT-- Is it because I don't have mysql? Damnit I bet it is.
    --EDIT AGAIN--Now that I have mysql and it's running, I am getting this error
    Code:
    10:46:18 [WARNING] [LogBlock] Exception in commands handler:
    java.lang.IllegalArgumentException: This world ('World One') isn't logged
            at de.diddiz.LogBlock.QueryParams.parseArgs(QueryParams.java:420)
            at de.diddiz.LogBlock.CommandsHandler.onCommand(CommandsHandler.java:217
    )
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:16
    5)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:3
    78)
            at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.
    java:757)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:722)
    
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:715)
            at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java
    :180)
            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:93)
            at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java
    :550)
            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)
    
    The command I input was "/lb rollback player PLAYERNAME area 10
     
  17. Offline

    agubelu

    I have all of them -except CHAT and KILL- set to true.
     
  18. Offline

    ProjectInfinity

    Is your world called "World One" with a space? That is surely going to create issues. Also you need to specify worlds you wish to log in the configuration.
     
  19. Offline

    luyao


    logging:
    TNTEXPLOSION: false
    LEAVESDECAY: false
    MISCEXPLOSION: false
    SNOWFORM: false
    NATURALSTRUCTUREGROW: false
    KILL: false
    FIRE: false
    CHAT: false
    WATERFLOW: false
    BONEMEALSTRUCTUREGROW: false
    BLOCKPLACE: false
    ENDERDRAGON: true
    DIODEINTERACT: false
    SNOWFADE: false
    CHESTACCESS: false
    ENDERMEN: false
    SIGNTEXT: false
    LAVAFLOW: false
    CAKEEAT: false
    BLOCKBREAK: false
    SWITCHINTERACT: false
    NOTEBLOCKINTERACT: false
    GHASTFIREBALLEXPLOSION: false
    CREEPEREXPLOSION: false
    DOORINTERACT: false
    table: lb-world
    anything wrong with this setting?​
     
  20. Offline

    UsefulPawn

    Should it be World_One?
    --EDIT--I tried renaming to World_One and it just recreated the map, naming it World One again
    --EDIT AGAINNN--I renamed the world as World_One and set the default world for World_One, and I still get the same error
     
  21. Offline

    Chromana

    Just updated to LB1.5. CB 1597.
    On player login:
    Code:
    2011-12-27 09:55:49 [SEVERE] [LogBlock Consumer] SQL exception on UPDATE `lb-players` SET lastlogin = FROM_UNIXTIME(1325008545), firstlogin = IF(firstlogin = 0, FROM_UNIXTIME(1325008545), firstlogin), ip = '/86.148.113.171:24581' WHERE playerid = 3;:
    com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'lastlogin' in 'field list'
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
        at java.lang.reflect.Constructor.newInstance(Unknown Source)
        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:274)
        at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34)
        at java.lang.Thread.run(Unknown Source)
    On player logout:
    Code:
    2011-12-27 10:09:19 [SEVERE] [LogBlock Consumer] SQL exception on UPDATE `lb-players` SET onlinetime = ADDTIME(onlinetime, TIMEDIFF(FROM_UNIXTIME(1325009355), lastlogin)) WHERE playerid = 3;:
    com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'onlinetime' in 'field list'
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
        at java.lang.reflect.Constructor.newInstance(Unknown Source)
        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:274)
        at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34)
        at java.lang.Thread.run(Unknown Source)
     
  22. Offline

    strontkever

    Hi there, i went from bperms to PEX
    since then:
    mods cant use the toolblock anymore, they have the right permissions
    then tried updating to 1.50, no help

    keeps saying: youre not allowed to use that

    been searching around and messing with cfg abit, only the permission: logblock.* gets it to work

    when typing /lb permissions it is saying:
    u got the following permissions:
    logblock.tools.tool
    logblock.tools.toolblock

    but i cant use it
    ----------

    next to that, in the config file the tool options have these lines:
    defaultEnabled: true/false
    permissionDefault: true/false

    what do i need to set those, i only want mods with the permissions above to be able to use the tool (noone else is allowed any cmd from logblock)

    Strontkever :)
     
  23. Offline

    ProjectInfinity

    Does your config.yml contain your world name under Logged worlds?
     
  24. Offline

    davidk911

    I Did the /lb logging and it says it is logging ENDERDRAGON and im watching the players place and break blocks is it a config problem?
     
  25. Offline

    slendercraft

     
  26. Offline

    ReaPxKinG

    I need help. I'm trying to help my friend doing the wampserver setup but he still receives error about application when going to localhost. i helped him with the hosts file, skype (port stuff), restarting both skype and wampserver. nothing works. is there any other way to setup the MySQL
     
  27. Offline

    Yoav

    I'm getting an exception when using /lb world "world". There's no problem with other worlds though, just "world":
    Code:
    12:08:55 [SEVERE] [LogBlock Lookup] SELECT date, replaced, type, data, playername, signtext, itemtype, itemamount, itemdata FROM `lb-world` INNER JOIN `lb-players` USING (playerid) LEFT JOIN `lb-world-sign` USING (id) LEFT JOIN `lb-world-chest` USING (id) WHERE type != replaced ORDER BY date DESC, id DESC :
    java.sql.SQLException: Error writing file '/tmp/MY933Yyx' (Errcode: 28)
            at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1073)
            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.executeQuery(StatementImpl.java:1474)
            at de.diddiz.LogBlock.CommandsHandler$CommandLookup.run(CommandsHandler.java:398)
            at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34)
            at java.lang.Thread.run(Unknown Source)
    Any idea what's causing this?
     
  28. Offline

    agubelu

    Let me fix it

    Show Spoiler
    logging:
    TNTEXPLOSION: true​
    LEAVESDECAY: false​
    MISCEXPLOSION: false​
    SNOWFORM: false​
    NATURALSTRUCTUREGROW: false​
    KILL: false​
    FIRE: true​
    CHAT: false​
    WATERFLOW: true​
    BONEMEALSTRUCTUREGROW: false​
    BLOCKPLACE: true​
    ENDERDRAGON: true​
    DIODEINTERACT: false​
    SNOWFADE: false​
    CHESTACCESS: true​
    ENDERMEN: true​
    #Dont really need enderman logging anymore since they can't grief on 1.0​
    SIGNTEXT: true​
    LAVAFLOW: true​
    CAKEEAT: true​
    BLOCKBREAK: true​
    SWITCHINTERACT: false​
    NOTEBLOCKINTERACT: false​
    GHASTFIREBALLEXPLOSION: true​
    CREEPEREXPLOSION: true​
    DOORINTERACT: true​
    table: lb-world​


    It should work OK.​
     
  29. Offline

    xShiFTyy

    This is a good plugin rather simple to use would be good to make the lines easyer to read in /lb help
    EG:
    &a - 1st Line
    &2 - 2nd Line
    &a - 3rd Line
    &2 - 4th Line
    &a - 5th Line <----
    &a - 5th Line <---- Coz its in the same sentence as the line above
    Just a suggestion Again Great Plugin I Hope Your Proud Of Your Self For Making This
    Cheers

    EDIT: DiddiZ Just Asking Are You Going To Add This?
     
    DiddiZ likes this.
  30. Offline

    luyao

    it still dosent work i used /lb savequeue and nothing happens

    and btw whats 'look up' and 'params'

    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

    Yup, update to dev #84+
    Set version in config to '1.30', the autoupdater will create the missing tables.
    You also need logblock.spawnTools to be able to get the tools (otherwise you can use it, but obviously not spawn :D)
    Yup, you should also enable block break and place logging. And tnt, fire or whatever you want :D
    You didn't set your MySQL server data in LB config.
    Anyways, you need to add your world name to loggedWorld in LB main config.

    Looks like MySQL has problems to write the temp table. Likely because there is no limit. Try the same command with 'limit 1000' added.

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

Share This Page