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

    tedmazer

    Okay, Well Would you mind telling me how to get this thing working with WAMP on one computer and the server on the other?
     
  3. Offline

    DiddiZ

    Open the my.ini (it's in the MySQL install dir), and set bind-address to the ip of the MC server.
    Then, go into mysql console, or phpMyAdmin, or MySQL workbench, whatever you got and type:
    CREATE DATABASE minecraft;
    GRANT ALL ON minecraft.* TO 'minecraft'@'192.168.2.6' IDENTIFIED BY 'password';
    (192.168.2.6 is the ip of your mc server, password you can choose)
    Set in LB config:
    host: 192.168.2.5 (the wamp server)
    database: minecraft
    user: minecraft
    password: that you used the the query above
    port should be 3306
     
  4. Offline

    tedmazer

    Hmm, Is it possible for you to upload a ready version of the my.ini file please? Couldent find the "bind" part of the file :(

    Im sure im not the only one having these problems it would be much appreciated for such help and ill drop some cash by :)

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

    DiddiZ

    You are right. I'm used to debian, the windows version seems to lack this by default. So not a whole config file (there would be too much parts the would need to be adjusts, so just some option you will replace or add if they aren't present:
    Code:
    #All in head is mostly irrelevant, the interesting things start here:
    [mysqld]
    
    #Should be obviously
    port=3306
    
    #Choose MYISAM or INNODB, MYISAM is recommended when logging chat due to fulltext indices.
    default-storage-engine=MYISAM
    
    #Increase this, if you are getting "Too many connection errors"
    max_connections=100
    
    #Waste of memory, LogBlock updates all tables very frequently, so caching query results may cause a
    # slowdown instead of a performance improvement
    query_cache_size=0
    
    #Buffer, how much RAM MySQL should consume. First is MyISAM index buffer, second InnoDB index and row buffer. Increase with growing database size, the indicies should be kept in RAM, otherwise inserts and selects can take a while due to reading from hard drive.
    key_buffer_size=128M
    innodb_buffer_pool_size=256M
    
    #Must be disable to allow LB to connect ot the database.
    #skip-networking
    
    #Remote access
    bind-address 127.0.0.1         # only localhost
    bind-address 192.168.0.100 # only from that ip (and localhost)
    bind-address example.org   # only from that domain
    bind-address 0.0.0.0            # from every ip in the world
    
    #This will reduce the DNS lookups, and so speed some things up. Note you can't use domains in bind-address then.
    skip-name-resolve
    
    EDIT:
    https://github.com/DiddiZ/LogBlock/wiki/MySQL-Configuration
     
  6. @Diddiz
    hello, Diddiz
    what about to add another table to logBlock's database (Guardian maybe?), which will have few columns:
    username || numOfminedStones || numOfminedMossy || numOfminedDiamonds
    based on x-ray informer, it can be very powerfull anti x-ray system. I know there is many of simillar plugins like webstats for things like this. But they're using queries, counting many rows in database. This would be really clear, and efficient.
     
  7. Offline

    DiddiZ

    As there would be an additional update querey needed for all inserts, that would be everything but efficient.
    The counting queries aren't very expensice, especially when you can use indices.
     
  8. Offline

    Cool12309

    Does LogBlock work with PermissonsEx?
     
  9. Offline

    kahlilnc

    Code:
    2011-11-02 17:38:22 [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: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.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: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:295)
        at de.diddiz.LogBlock.Consumer.run(Consumer.java:252)
        at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34)
        at java.lang.Thread.run(Thread.java:722)
    My MySQL is working fine for other plugins ;(
     
  10. Offline

    DiddiZ

    Yup. You need the nijikokun permissions bridge (permissions.jar from the pex zip)
    @kahlilnc
    The "connecting to ..." message and the "caused by" in stack trace may have some information why.
     
  11. Offline

    kahlilnc

    I have it do I need the modifyworld as well? I already had permissions. But I just deleted modify world and seems to be having errors when I removed it.
     
  12. Offline

    MineCleric

    you should make it possible to see who has used TNT, I have many who have used TNT and has escaped that one can not see who has broken.
     
  13. Offline

    DiddiZ

    You can see who placed it:
    /lb area 20 block tnt created
    Hm, could be, I'm not sure about.
     
  14. Offline

    MineCleric

  15. Offline

    Spudski

    So, I started up a new database, and everything is working fine =D

    Turns out the old one was too slow to run properly, thanks for your help!
     
    DiddiZ likes this.
  16. Offline

    Cool12309

    I was about to come on here and say that /tool conflicts with WorldEdit, but then I remembered it's /lb tool. You're always 1 step ahead of me! :D
     
  17. Offline

    DiddiZ

    Yay :p
     
  18. Offline

    MichaelSe

    Moving from BigBrother to LogBlock is going smoother than I thought :)

    But I have a question. When you look up block changes, all the text comes up as orange, making it look unorganized, and making difficult to separate the dates and the usernames from the actual block change. I remember from BigBrother, all of those had different colors when you looked them up, making it more organized and more of a breeze to use.

    It would look like this:
    (white)11.01.2011@(grey)20:24:00 - (yellow) Noob (white) broke Wooden Plank

    This may sound ridiculous, but could you please make a similar color system for LogBlock as well, or maybe even an option to customize it as you like? It would help alot, and make things look alot better. Thanks :)
     
  19. Offline

    DiddiZ

    It's planned, but I didn't got the time to implement yet.
     
  20. Offline

    tedmazer

    It worked great for about 5 minutes now its keeps giving me a yellow WAMP symbol (No connection to SQL) halp D:
     
  21. Offline

    EdGruberman

    My server crashed (I think I'm having hardware problems, not your plugin's fault) and I had to restore the world, and then on restart I got this:
    Do you think that is database corruption? Is there an easy way to recover? I don't make backups of the MySQL database...
     
  22. Offline

    DiddiZ

    Go into mysql console (or phpMyAdmin) and do:
    REPAIR TABLE `lb-World1`;
    ANALYZE TABLE `lb-World1`;
    OPTIMIZE TABLE `lb-World1`;
     
  23. Offline

    Musician101

    i play on a server that uses v1.32 and for some reason the chestaccess parameter isn't working properly. Is there a way to fix it or are you currently working on a solution?
     
  24. Offline

    DiddiZ

    Not working properly in which way?
     
  25. Offline

    bigggan

    @DiddiZ
    Everytime i start server this happens:

    LogBlock: Trying to import queue-1320305402518-14.sql .

    Goes through 26 records, really slowly.
     
  26. Offline

    DiddiZ

    Actually, the files should be deleted after being imported.
    Either delete these, or try latest dev, should be fixed there.
     
  27. Offline

    [qwerty]

    Hey,

    Do you know what this problem is from? It has a huge queue... It was at like 5000

    I had to stop the server for 10 mins to let it go back down again...
    Code:
    2011-11-05 02:23:31 [INFO] [LogBlock Consumer] Queue overloaded. Size: 1668
    2011-11-05 02:23:33 [INFO] [LogBlock] Remaining queue size: 1648
    2011-11-05 02:23:33 [INFO] [LogBlock Consumer] Queue overloaded. Size: 1648
    2011-11-05 02:23:34 [INFO] [LogBlock] Remaining queue size: 1628
    2011-11-05 02:23:34 [INFO] [LogBlock Consumer] Queue overloaded. Size: 1628
    2011-11-05 02:23:35 [INFO] [LogBlock] Remaining queue size: 1608
    2011-11-05 02:23:35 [INFO] [LogBlock Consumer] Queue overloaded. Size: 1608
    2011-11-05 02:23:37 [INFO] [LogBlock] Remaining queue size: 1588
    2011-11-05 02:23:37 [INFO] [LogBlock Consumer] Queue overloaded. Size: 1588
    2011-11-05 02:23:38 [INFO] [LogBlock] Remaining queue size: 1568
    2011-11-05 02:23:38 [INFO] [LogBlock Consumer] Queue overloaded. Size: 1568
    2011-11-05 02:23:39 [INFO] [LogBlock] Remaining queue size: 1548
     
  28. Offline

    Ajax_killer

    ok i cant figure out why this is happening :(
    Code:
    2011-11-04 20:52:11 [INFO] Starting minecraft server version Beta 1.8.1
    2011-11-04 20:52:11 [INFO] Loading properties
    2011-11-04 20:52:11 [INFO] Starting Minecraft server on *:25565
    2011-11-04 20:52:12 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-1131-g86b7fa8-b1337jnks (MC: 1.8.1)
    2011-11-04 20:52:12 [SEVERE] Could not load 'plugins\PermissionsEx-javadoc.jar' in folder 'plugins':
    java.io.FileNotFoundException: Jar does not contain plugin.yml
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:66)
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:215)
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:136)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:136)
        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)
    2011-11-04 20:52:12 [INFO] [PermissionsEx] sql backend registered!
    2011-11-04 20:52:12 [INFO] [PermissionsEx] file backend registered!
    2011-11-04 20:52:12 [INFO] [PermissionsEx] PermissionEx plugin initialized.
    2011-11-04 20:52:12 [INFO] [PermissionsEx] p2compat backend registered!
    2011-11-04 20:52:12 [INFO] [PermissionsCompat] Compatibility Layer Initalized!
    2011-11-04 20:52:12 [INFO] [PermissionsEx] Initializing file backend
    2011-11-04 20:52:12 [INFO] [LogBlock] Version check: Your version is up to date
    2011-11-04 20:52:12 [INFO] [LogBlock] Connecting to username@jdbc:mysql://localhost:3306/minecraft...
    2011-11-04 20:52:15 [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(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.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(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.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:295)
        at de.diddiz.LogBlock.LogBlock.onLoad(LogBlock.java:78)
        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)
    Caused by: java.net.ConnectException: Connection refused: connect
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(Unknown Source)
        at java.net.PlainSocketImpl.connectToAddress(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.java:254)
        at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:292)
        ... 23 more
    2011-11-04 20:52:15 [SEVERE] [LogBlock] Error while loading:
    java.lang.NullPointerException
        at de.diddiz.LogBlock.LogBlock.onLoad(LogBlock.java:78)
        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)
    2011-11-04 20:52:15 [INFO] Preparing level "world"
    2011-11-04 20:52:15 [INFO] Default game type: 0
    2011-11-04 20:52:15 [INFO] Preparing start region for level 0 (Seed: 2058702179032309973)
    2011-11-04 20:52:16 [INFO] Preparing start region for level 1 (Seed: 2058702179032309973)
    2011-11-04 20:52:16 [INFO] Preparing spawn area: 16%
    2011-11-04 20:52:16 [INFO] CommandBook 1.6 enabled.
    2011-11-04 20:52:16 [SEVERE] CommandBook: Unable to read default configuration: config.yml
    2011-11-04 20:52:16 [SEVERE] CommandBook: Unable to read default configuration: kits.txt
    2011-11-04 20:52:16 [WARNING] CommandBook: 0 Warps(s) loaded
    2011-11-04 20:52:16 [WARNING] CommandBook: 0 Homes(s) loaded
    2011-11-04 20:52:16 [INFO] CommandBook: Maximum wrapper compatibility is enabled. Some features have been disabled to be compatible with poorly written server wrappers.
    2011-11-04 20:52:16 [INFO] CommandBook: 0 banned name(s) loaded.
    2011-11-04 20:52:16 [INFO] CommandBook: Using the Bukkit Permissions API.
    2011-11-04 20:52:16 [INFO] LogBlockQuestioner v0.02 enabled
    2011-11-04 20:52:16 [INFO] [PermissionsEx] Superperms support enabled.
    2011-11-04 20:52:16 [INFO] [PermissionsEx] v1.16 enabled
    2011-11-04 20:52:16 [INFO] CommandBook: PermissionsEx detected! Using PermissionsEx for permissions.
    2011-11-04 20:52:16 [INFO] WorldEdit 4.7 enabled.
    2011-11-04 20:52:16 [SEVERE] WorldEdit: Unable to read default configuration: config.yml
    2011-11-04 20:52:16 [INFO] WorldEdit: PermissionsEx detected! Using PermissionsEx for permissions.
    2011-11-04 20:52:17 [INFO] WorldGuard: PermissionsEx detected! Using PermissionsEx for permissions.
    2011-11-04 20:52:17 [SEVERE] WorldGuard: Unable to read default configuration: blacklist.txt
    2011-11-04 20:52:17 [WARNING] WorldGuard blacklist does not exist.
    2011-11-04 20:52:17 [INFO] WorldGuard: (world) Single session is enforced.
    2011-11-04 20:52:17 [INFO] WorldGuard: (world) TNT ignition is blocked.
    2011-11-04 20:52:17 [INFO] WorldGuard: (world) Lighters are blocked.
    2011-11-04 20:52:17 [INFO] WorldGuard: (world) Lava fire is blocked.
    2011-11-04 20:52:17 [INFO] WorldGuard: (world) All fire spread is disabled.
    2011-11-04 20:52:17 [INFO] WorldGuard: Loaded configuration for world 'world"
    2011-11-04 20:52:17 [SEVERE] WorldGuard: Unable to read default configuration: blacklist.txt
    2011-11-04 20:52:17 [WARNING] WorldGuard blacklist does not exist.
    2011-11-04 20:52:17 [INFO] WorldGuard: (world_nether) Single session is enforced.
    2011-11-04 20:52:17 [INFO] WorldGuard: (world_nether) TNT ignition is blocked.
    2011-11-04 20:52:17 [INFO] WorldGuard: (world_nether) Lighters are blocked.
    2011-11-04 20:52:17 [INFO] WorldGuard: (world_nether) Lava fire is blocked.
    2011-11-04 20:52:17 [INFO] WorldGuard: (world_nether) All fire spread is disabled.
    2011-11-04 20:52:17 [INFO] WorldGuard: Loaded configuration for world 'world_nether"
    2011-11-04 20:52:17 [WARNING] WorldGuard: Region file for world "world" missing or inaccessible.
    2011-11-04 20:52:17 [WARNING] WorldGuard: Region file for world "world_nether" missing or inaccessible.
    2011-11-04 20:52:17 [INFO] WorldGuard 5.3 enabled.
    2011-11-04 20:52:17 [INFO] [ChatManager] ChatManager disabled. Check config.yml!
    2011-11-04 20:52:17 [INFO] [ChatManager] ChatManager disabled!
    2011-11-04 20:52:17 [INFO] [Modifyworld] Modifyworld disabled. Check config.yml!
    2011-11-04 20:52:17 [INFO] [Modifyworld] Modifyworld disabled!
    2011-11-04 20:52:17 [INFO] [PermissionsCompat] Compatibility layer enabled.
    2011-11-04 20:52:17 [INFO] CommandBook: PermissionsEx detected! Using PermissionsEx for permissions.
    2011-11-04 20:52:17 [INFO] WorldEdit: PermissionsEx detected! Using PermissionsEx for permissions.
    2011-11-04 20:52:17 [INFO] WorldGuard: PermissionsEx detected! Using PermissionsEx for permissions.
    2011-11-04 20:52:17 [INFO] LogBlock disabled.
    2011-11-04 20:52:17 [INFO] Server permissions file permissions.yml is empty, ignoring it
    2011-11-04 20:52:17 [INFO] Done (0.208s)! For help, type "help" or "?"
    2011-11-04 20:52:24 [INFO] Stopping server
    
     
  29. Offline

    [qwerty]

    Looks like you have "username" for the LB DB user, you sure that's right? It looks like LogBlock cant connect to your database.
     
  30. Offline

    Ajax_killer

    ??????
     
  31. Offline

    [qwerty]

    You have to have a MySQL database for use with LogBlock.
     

Share This Page