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

    Drumpie

    Yeah I have Pex. I have the permissions in there, but they can't use it.
     
  3. Offline

    DiddiZ

    What does LB say at server start aput permissions plugin? Found or not found?
     
  4. Offline

    rmb938

  5. Offline

    theheyway

    That worked! Thanks for the fast response!
     
    DiddiZ likes this.
  6. Offline

    DiddiZ

  7. Offline

    Baron6

    [WARNING] [LogBlock] Exception in commands handler:
    java.lang.IllegalArgumentException: No parameters specified.
    at de.diddiz.LogBlock.QueryParams.parseArgs(QueryParams.java:276)
    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:165)
    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 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 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)
     
  8. Offline

    shauwk

    hey i had some griefers and when i tried to rollback using "/lb rb player <name> since 1hr, it said 400 blocks were changed by them and it wouldnt rollback when i confirmed the rollback, do you know what the problem is? or how to fix

    im using 1.0.1-r1 logblock

    and 1592 bukkit
     
  9. Offline

    DiddiZ

    I don't really know what causes the issue, but some confirmed dev #82 as a workaround.
    Wouldn't rollback in what way? Error/crash, or just nothing happens?
     
  10. Offline

    MineCleric

    said:DiddiZ
    Autoupdater fail, set version in LB config to '1.30' and restart.
    |
    |
    so I'll get config from 1.30 and restart it?
     
  11. Offline

    DiddiZ

    nah, just search for the version entry in your current config and set it to '1.30'
     
  12. Offline

    ProjectInfinity

    Dear @DiddiZ , please make the latest changes appear on the bottom of the screen instead of the top of it. I do not wish to require my moderators to use ImprovedChat now that it logs chests as well.
     
  13. Offline

    MineCleric

    it did not F*** this I did the same when I do what you said, get the config file in logbloken and reboot. you can either create a file that is just for me I can download? I will finish it. there are many people whining about getting it up
     
  14. Offline

    Drumpie

    So my Admin did a rollback in the survival world. Everything is fucked up now and we are trying /lb rollback since 1h and /lb undo, /lb redo since 1h but nothing works. Every time it says only 303 blocks found.

    How can we get all the stuff buck from 1h ago? We don't have a legit backup, the backup is from 1.5 days back.

    I need fast respond if possible!!! Thank you very much!!
     
  15. Offline

    shauwk

    nothing would happen. it acted like it did the rollback though because afterwards it asked if i wanted to delete the rollbacked log
     
  16. Offline

    RedFawkes215

    One of my players noticed that their wooden pickaxe was doing what the lb tool would do, I didn't believe it at first but I de-opped myself and I was able to issue a few of the commands, some returned the you don't have permission but others gave what they would give an op. I was wondering if I screwed up somewhere in the config or if this is something you knew or now know about. Thanks for any help you may provide.
     
  17. Offline

    DiddiZ

    Added to todo list

    What does "/lb permissions" return in de-opped mode?
    If there are just the tool permissions, they are enabled by default when using bukkit permissions, so you'd be lacking the permissions bridge.
    Saying something like changed 0/xxx blocks?
    Screen shot pls :D
    May be timezone mismatch, try /lb redo since 1d
    Then I'm not quite sure if I got the problem right ...
    The version entry is not present in the default confiug included in package.
    But if you want a file with that version entry use:
    http://pastebin.com/7YT9ExX5
    All other entries will be auto generated.
     
  18. Offline

    Uhmeplay

    :)Im actually really happy with this plugin.
    It does what it needs to do:)
     
    DiddiZ likes this.
  19. Offline

    RedFawkes215

    De-opped I get the permissions: logblock.me, logblock.spawnTools, logblock.tools.toolblock, logblock.tools.tool. I am not using permissions on my server so I see why now, just thought I should point it out, it doesn't seem like it would cause any harm. Thanks for the quick response. ^^
     
  20. Offline

    rockingoutloud

    Here's one for ya:
    I got LB connected correctly.
    However, when I try to see if it works, it doesn't seem to log anything.
    Tried multiple methods (breaking, placing, TNT...) but all fail.
    Also, when I do a plain-old /lb rollback it just says
    "Error, check log"
    The only error I find is this:
    Code:
    2011-12-17 01:29:10 [WARNING] [LogBlock] Exception in commands handler:
    java.lang.IllegalArgumentException: Not a valid argument: '3'
        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:757)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:722)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:715)
        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 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)
    If I do /lb rollback area 5 , it doesn't find any logged blocks.

    My config: http://pastebin.com/8b78Uzgn
    The world I'm trying: http://pastebin.com/MdJk2LVp

    Oh, edited note: I checked, and LB created the tables in the database, but didn't enter anything.
     
  21. Offline

    slappy9876

    I have a BUNCH of issues. This is what my server says about all of this I have MySQL setup but I dont know if it is working? :p Here is what the server has to say about this
    Code:
    174 recipes
    27 achievements
    14:46:38 [INFO] Starting minecraft server version 1.0.0
    14:46:38 [INFO] Loading properties
    14:46:38 [INFO] Starting Minecraft server on *:25565
    14:46:38 [INFO] This server is running Craftbukkit version git-Bukkit-1.8.1-R4-56-g49f31ff-b1532jnks (MC: 1.0.0) (Implementing API version 1.0.0-R1-SNAPSHOT)
    14:46:38 [INFO] [Permissions] (Phoenix) was Initialized.
    14:46:38 [INFO] [PermissionsEx] sql backend registered!
    14:46:38 [INFO] [PermissionsEx] file backend registered!
    14:46:38 [INFO] [PermissionsEx] PermissionEx plugin initialized.
    14:46:39 [INFO] MLog clients using java 1.4+ standard logging.
    14:46:39 [INFO] [PermissionsEx] Initializing file backend
    14:46:39 [SEVERE] [LogBlock] Error while loading: null; mapping values are not allowed here
    14:46:40 [INFO] Preparing level "world"
    14:46:40 [INFO] Default game type: 0
    14:46:40 [INFO] Preparing start region for level 0 (Seed: 280898639201907984)
    14:46:41 [INFO] Preparing start region for level 1 (Seed: 280898639201907984)
    14:46:42 [INFO] Preparing spawn area: 3%
    14:46:42 [INFO] Preparing start region for level 2 (Seed: -4903464671055079961)
    14:46:43 [INFO] Preparing spawn area: 61%
    14:46:43 [INFO] BukkitContrib 0.1.7 has been initialized
    14:46:44 [INFO] Bukkit version format changed. Version not checked.
    14:46:44 [INFO] Loaded Essentials build 2.6.5 by: Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans, Xeology, KHobbits
    14:46:44 [INFO] Essentials: Using config based permissions. Enable superperms in config.
    14:46:44 [INFO] Loaded EssentialsChat build 2.6.5 by: essentials team
    14:46:44 [INFO] Initializing c3p0-0.9.1.2 [built 21-May-2007 15:04:56; debug? true; trace: 10]
    14:46:44 [INFO] Loaded EssentialsProtect build 2.6.5 by: essentials team
    14:46:44 [INFO] Loaded EssentialsSpawn build 2.6.5 by: essentials team
    14:46:44 [INFO] [HeroicDeath] 1.11.2 enabled.
    14:46:44 [INFO] [iChat] Permissions 2.7.4 found
    14:46:44 [INFO] iChat (v2.4.1) enabled
    14:46:44 [INFO] Lockette version 1.4.4 is being enabled!  Yay!  (Core version 1.2.3)
    14:46:44 [INFO] Lockette: Detected craftbukkit build [1532] ok.
    14:46:45 [INFO] [Permissions] version [2.7.4] (Phoenix)  loaded
    14:46:45 [INFO] Essentials: Using Permissions 2 based permissions.
    14:46:45 [INFO] Lockette: Linked to Permissions plugin version 2.7.4
    14:46:45 [INFO] Lockette: Ready to protect your containers.
    14:46:45 [INFO] LogBlockQuestioner v0.02 enabled
    14:46:45 [INFO] [NoCheat] version [2.21a] is enabled.
    14:46:45 [INFO] [PermissionsEx] Superperms support enabled.
    14:46:45 [INFO] [PermissionsEx] v1.17 enabled
    14:46:45 [INFO] Essentials: Using PermissionsEx based permissions.
    14:46:45 [INFO] WorldEdit 4.7 enabled.
    14:46:45 [INFO] WorldEdit: PermissionsEx detected! Using PermissionsEx for permissions.
    14:46:46 [INFO] WorldGuard: PermissionsEx detected! Using PermissionsEx for permissions.
    14:46:46 [INFO] WorldGuard: (world) Single session is enforced.
    14:46:46 [INFO] WorldGuard: (world) TNT ignition is PERMITTED.
    14:46:46 [INFO] WorldGuard: (world) Lighters are PERMITTED.
    14:46:46 [INFO] WorldGuard: (world) Lava fire is blocked.
    14:46:46 [INFO] WorldGuard: (world) Fire spread is UNRESTRICTED.
    14:46:46 [INFO] WorldGuard: Loaded configuration for world 'world"
    14:46:46 [INFO] WorldGuard: (world_nether) Single session is enforced.
    14:46:46 [INFO] WorldGuard: (world_nether) TNT ignition is PERMITTED.
    14:46:46 [INFO] WorldGuard: (world_nether) Lighters are PERMITTED.
    14:46:46 [INFO] WorldGuard: (world_nether) Lava fire is blocked.
    14:46:46 [INFO] WorldGuard: (world_nether) Fire spread is UNRESTRICTED.
    14:46:46 [INFO] WorldGuard: Loaded configuration for world 'world_nether"
    14:46:46 [INFO] WorldGuard: (world_the_end) Single session is enforced.
    14:46:46 [INFO] WorldGuard: (world_the_end) TNT ignition is PERMITTED.
    14:46:46 [INFO] WorldGuard: (world_the_end) Lighters are PERMITTED.
    14:46:46 [INFO] WorldGuard: (world_the_end) Lava fire is blocked.
    14:46:46 [INFO] WorldGuard: (world_the_end) Fire spread is UNRESTRICTED.
    14:46:46 [INFO] WorldGuard: Loaded configuration for world 'world_the_end"
    14:46:46 [WARNING] WorldGuard: Region file for world "world" missing or inaccessible.
    14:46:46 [WARNING] WorldGuard: Region file for world "world_nether" missing or inaccessible.
    14:46:46 [WARNING] WorldGuard: Region file for world "world_the_end" missing or inaccessible.
    14:46:46 [INFO] WorldGuard 5.3 enabled.
    14:46:46 [INFO] [BurningCS] Attempting to load config file
    14:46:46 [INFO] [BurningCS] Config file loaded successfully!
    14:46:46 [INFO] [BurningCS] Hooking into WorldGuard.
    14:46:46 [INFO] [BurningCS] Hooking into LogBlock.
    14:46:46 [INFO] [BurningCS] v1.8 is now enabled!
    14:46:46 [INFO] [Jail] Loaded 12 jail zones.
    14:46:46 [INFO] [Jail] Loaded 4 prisoners.
    14:46:46 [INFO] [Jail] Loaded 0 cells.
    14:46:46 [INFO] [Jail] Jail v2.0.2 loaded!
    14:46:46 [INFO] LogBlock disabled.
    14:46:46 [WARNING] Server permissions file permissions.yml is not valid YAML.
    java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Map
        at org.bukkit.craftbukkit.CraftServer.loadCustomPermissions(CraftServer.java:448)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:171)
        at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:337)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:324)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:161)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:388)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    14:46:46 [INFO] Done (0.677s)! For help, type "help" or "?"
    >
    
    That is what my server log is like. Help plz I really need to get this setup because my server is going to be public soon and we are sooo happy about that but it cant go public unless it has LogBlock and I am looking forward to the LogBlock BigBrother and Hawkeye and also if anyone can help me with MySQL I am on a Mac and I am using MAMP but it dose not tell me (LogBlock) If it is working I have created the data base and now it is all mad at me HELP!
     
  22. When started for the first time, do not show any error:

    Hi, I have an error when the server reloads. Is as follows:


    The configuration, this way:



    Version Craftbukkit: 1597
    Version Logblock: Proyecto #82 (15-dic-2011 18:53:05) last-dev
     
  23. Offline

    md_5

    Yay. Now to tell @Dinnerbone about the 9 additions and 17 additions that are needed to bring bonemeal back to its original worth. Currently you don't lose bonemeal if a tree fails to grow. I guess I'll open a bug.
    https://bukkit.atlassian.net/browse/BUKKIT-344
     
  24. Offline

    DiddiZ

    This message is kind of generic. Maybe deleting all mysql connector files (in server folder and lib/ could solve the issue.
    You likely got an systax error in your config.
    Try this:
    http://yaml-online-parser.appspot.com/
    (or get a new config :D)
    I'd call that an improvement rather than a bug :D
    Likely caused by a mistyped command.

    Config seems valid, try latest dev (full restart, reloads can cause problems when updating)) and use "/lb logging" and tell me what it returns if the issue persists
     
    Lummox likes this.
  25. Offline

    latexink

    This is just outright refusing to log a new world. I even erased the table in MySql and let LogBlock recreate it... which it did successfully. This is all I can get out of trying to look up anything:

    I've added its name manually to the logged worlds in the config.yml and added a table name to the world config.. it creates the table, but won't log or put anything in it. I would love to know how to fix this..

    Maybe you can add a good way to add/log new worlds created with MultiVerse? I can't log worlds other than the default for some reason.. I added a skylands world that is logged correctly, but I don't know what I'm doing wrong to add this other world. I wonder if you could just get the questioner to ask if you want to log this new world when one is created/imported and solve all this headache with multiworld servers.. especially ones that load/unload/create/delete worlds a lot.
     
  26. Thanks, it worked!.
     
    DiddiZ likes this.
  27. Offline

    remphz

    Im getting this

    2011-12-17 11:42:15 [INFO] Starting minecraft server version 1.0.1
    2011-12-17 11:42:15 [INFO] Loading properties
    2011-12-17 11:42:15 [INFO] Starting Minecraft server on *:25565
    2011-12-17 11:42:15 [WARNING] **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
    2011-12-17 11:42:15 [WARNING] The server will make no attempt to authenticate usernames. Beware.
    2011-12-17 11:42:15 [WARNING] While this makes the game possible to play without internet access, it also opens up the ability for hackers to connect with any username they choose.
    2011-12-17 11:42:15 [WARNING] To change this, set "online-mode" to "true" in the server.properties file.
    2011-12-17 11:42:15 [INFO] This server is running Craftbukkit version git-Bukkit-1.0.1-R1-b1597jnks (MC: 1.0.1) (Implementing API version 1.0.1-R1)
    2011-12-17 11:42:15 [INFO] [LogBlock] Version check: Your version is up to date
    2011-12-17 11:42:15 [INFO] [LogBlock] Connecting to username@jdbc:mysql://localhost:3306/minecraft...
    2011-12-17 11:42:18 [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: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>(ServerConfigurationManager.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.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-12-17 11:42:18 [INFO] Preparing level "world"
    2011-12-17 11:42:18 [INFO] Default game type: 0
    2011-12-17 11:42:18 [INFO] Preparing start region for level 0 (Seed: 6256799830486696510)
    2011-12-17 11:42:18 [INFO] Preparing start region for level 1 (Seed: 6256799830486696510)
    2011-12-17 11:42:19 [INFO] Preparing start region for level 2 (Seed: 6256799830486696510)
    2011-12-17 11:42:19 [INFO] Preparing spawn area: 8%
    2011-12-17 11:42:19 [INFO] LogBlockQuestioner v0.02 enabled
    2011-12-17 11:42:19 [INFO] Server permissions file permissions.yml is empty, ignoring it
    2011-12-17 11:42:19 [INFO] Done (0,147s)! For help, type "help" or "?"
    2011-12-17 11:42:21 [INFO] CONSOLE: Stopping the server..
    2011-12-17 11:42:21 [INFO] Stopping server
    2011-12-17 11:42:21 [INFO] LogBlockQuestioner disabled
    2011-12-17 11:42:21 [INFO] LogBlock disabled.
    2011-12-17 11:42:21 [INFO] Saving chunks
    2011-12-17 11:42:22 [INFO] Stopping server
    2011-12-17 11:42:22 [INFO] Saving chunks
     
  28. Offline

    DiddiZ

    Great idea.

    The world names are case sensitive, make sure it's really 'adventworld' in loggedWorlds.

    You didn't set MySQL data in LB config.
     
  29. Offline

    Zaila

    Scratch what i said before, it's refusing to work again after a server restart. I will try to roll back to 1.40 and see if it works that way.
     
  30. Offline

    Drumpie

    Found. This is all Logblock says when it starts up:

     
  31. Offline

    DiddiZ

    Wasn't that you with the redo question?
     

Share This Page