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

    Wait what?
    Firstly, the source is available, you don't have to use a decompiler that obviously messes some things up.
    https://github.com/DiddiZ/LogBlock/blob/master/src/de/diddiz/LogBlock/Config.java

    The config is loaded in line 52:
    Code:
    final ConfigurationSection config = logblock.getConfig();
    Which refers to:

    Code:
    public FileConfiguration getConfig() {
        if (newConfig == null) {
            reloadConfig();
        }
        return newConfig;
    }
    Well, I tested it and it works. I do still think the error exists on your side.

    I'd guess it's the error with wrong intentation in some config sections.

    Ty for that, I just copy&pasted the new sections in there, not noticing the style changed when bukkit config management.
    Hm, when you don't really need that kind of information, disable loggingloPlayerInfo in main config.

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

    MalcolmLC

    dayummm... you told him XD
     
  4. Offline

    VoidFusion

    Getting a TON of LogBlock Consumer Queue Overloads, any way to stop it?

    EDIT: Here is an image.

    [​IMG]
     
  5. Offline

    biblelucas

    hey i got the log block working but when i try to ummm roll back some one or my self, it keeps saying Exception, check error log.
     
  6. Offline

    DiddiZ

    No, not really, besides avoiding large TNT explosions.
    And, did you? :D

    Hint: Check server.log
     
  7. Offline

    VoidFusion

    But, its a brand new world, like just made that run-through.
     
  8. Offline

    DiddiZ

    Then were it lava and water flow.
    Nothing severe, but when thousands of blockchanges are made in a very short time the queue overloads, but in your case it also got processed really quick so everythink is fine.
    You may delete these changes, as they aren't usefull at all.
    /lb clearlog player waterflow lavaflow
     
  9. Offline

    biblelucas

    Code:
    2011-11-15 07:20:39 [INFO] Starting minecraft server version Beta 1.8.1
    2011-11-15 07:20:39 [INFO] Loading properties
    2011-11-15 07:20:39 [INFO] Starting Minecraft server on *:25565
    2011-11-15 07:20:39 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-1131-g86b7fa8-b1337jnks (MC: 1.8.1)
    2011-11-15 07:20:39 [INFO] MLog clients using java 1.4+ standard logging.
    2011-11-15 07:20:39 [INFO] [LogBlock] Version check: Your version is up to date
    2011-11-15 07:20:39 [INFO] [LogBlock] Connecting to root@jdbc:mysql://localhost:3306/minecraft...
    2011-11-15 07:20:40 [INFO] [LogBlock] Creating table lb-players.
    2011-11-15 07:20:40 [INFO] [LogBlock] Creating table lb-nether.
    2011-11-15 07:20:40 [INFO] [LogBlock] Creating table lb-nether-sign.
    2011-11-15 07:20:40 [INFO] [LogBlock] Creating table lb-nether-chest.
    2011-11-15 07:20:40 [INFO] [LogBlock] Creating table lb-main.
    2011-11-15 07:20:40 [INFO] [LogBlock] Creating table lb-main-sign.
    2011-11-15 07:20:40 [INFO] [LogBlock] Creating table lb-main-chest.
    2011-11-15 07:20:41 [INFO] [Pail] Pail 0.7.1 Enabled
    2011-11-15 07:20:41 [INFO] Preparing level "World"
    2011-11-15 07:20:41 [INFO] Default game type: 0
    2011-11-15 07:20:41 [INFO] Preparing start region for level 0 (Seed: 1239602819)
    2011-11-15 07:20:42 [INFO] Preparing spawn area: 77%
    2011-11-15 07:20:43 [INFO] Preparing start region for level 1 (Seed: 106914)
    2011-11-15 07:20:43 [INFO] [Alerter] ALERTER v1.35 is enabled! created by: Patrick_pk91
    2011-11-15 07:20:43 [INFO] [Alerter] Permissions v3.1.6 found
    2011-11-15 07:20:44 [INFO] [Alerter] Database area ''World''' FOUND and loaded!!
    2011-11-15 07:20:44 [INFO] [Alerter]: Searching upgrade...(maybe during few second)
    2011-11-15 07:20:44 [INFO] [Alerter]: Your version of Alerter is the lastest!
    2011-11-15 07:20:44 [INFO] [Alerter]: Current language: English
    2011-11-15 07:20:44 [INFO] [AutoMessage] version [1.5] loaded
    2011-11-15 07:20:44 [INFO] CraftBukkitUpToDate version 2.6.6 is enabled!
    2011-11-15 07:20:44 [INFO] Fake Permissions version 3.1.6 is enabled!
    2011-11-15 07:20:44 [INFO] CreeperNerf version 0.1 enabled
    2011-11-15 07:20:44 [INFO] Loaded Essentials build 2.6.4 by: Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans, Xeology, KHobbits
    2011-11-15 07:20:44 [INFO] Essentials: Using Permissions 3 based permissions.
    2011-11-15 07:20:44 [INFO] Loaded EssentialsChat build 2.6.4 by: essentials team
    2011-11-15 07:20:44 [INFO] GroupManager - INFO - World Found: world
    2011-11-15 07:20:44 [INFO] GroupManager - INFO - Superperms support enabled.
    2011-11-15 07:20:44 [INFO] GroupManager - INFO - Scheduled Data Saving is set for every 10 minutes!
    2011-11-15 07:20:44 [INFO] GroupManager - INFO - Backups will be retained for 24 hours!
    2011-11-15 07:20:44 [INFO] GroupManager version 1.4 (Phoenix) is enabled!
    2011-11-15 07:20:44 [INFO] CButD: CraftBukkit is up to Date
    2011-11-15 07:20:45 [INFO] Initializing c3p0-0.9.1.2 [built 21-May-2007 15:04:56; debug? true; trace: 10]
    2011-11-15 07:20:45 [INFO] Loaded EssentialsProtect build 2.6.4 by: essentials team
    2011-11-15 07:20:45 [INFO] Loaded EssentialsSpawn build 2.6.4 by: essentials team
    2011-11-15 07:20:45 [INFO] Freeze plugin Version 1.1 is ENABLED!
    2011-11-15 07:20:45 [INFO] LogBlockQuestioner v0.02 enabled
    2011-11-15 07:20:45 [INFO] PailPlus v0.2 beta enabled
    2011-11-15 07:20:45 [INFO] WordFilter plugin loaded.
    2011-11-15 07:20:45 [INFO] WorldEdit 4.7 enabled.
    2011-11-15 07:20:45 [SEVERE] WorldEdit: Unable to read default configuration: config.yml
    2011-11-15 07:20:45 [INFO] WorldEdit: Using the Bukkit Permissions API.
    2011-11-15 07:20:45 [INFO] [LogBlock] Permissions plugin found.
    2011-11-15 07:20:45 [INFO] [LogBlock] Scheduled consumer with bukkit scheduler.
    2011-11-15 07:20:45 [INFO] LogBlock v1.41 by DiddiZ enabled.
    2011-11-15 07:20:45 [INFO] Server permissions file permissions.yml is empty, ignoring it
    2011-11-15 07:20:45 [INFO] Done (0.371s)! For help, type "help" or "?"
    2011-11-15 07:20:45 [INFO] GroupManager - INFO - Bukkit Permissions Updated!
    what do you mean as server.log? i see it and there is this server.log.1
    and server.log. what do you want me to do?
    ps. all of the table are created and only the player is updated.
     
  10. Offline

    Lelo

    I got the same problem as Dean, and Ive been trying to fix this shit for 3 days now and its pissing me off! I would really appreciate if anyone can help me. I got the 1.41 and i get an error when i start the .bat
    Code:
    [SEVERE] [LogBlock] Error while loading: while parsing a block mapping; expected <block end>, but found BlockMappingStart
    Also here's my logblock config
    Code:
    loggedWorlds:
    - world
    - world-nether
    - SkyLand
    mysql:
      port: 3306
      host: localhost
      password: *****
      user: root
      database: minecraft
    logging:
      logPlayerInfo: true
      logCreeperExplosionsAsPlayerWhoTriggeredThese: false
      logKillsLevel: PLAYERS
      hiddenPlayers: []
      hiddenBlocks:
      - 0
    clearlog:
      dumpDeletedLog: false
      auto:
      - world "world" before 365 days all
      - world "world" player lavaflow waterflow leavesdecay before 7 days all
      - world world_nether before 365 days all
      - world world_nether player lavaflow ghast before 7 days all
      - world "world" player diddiz all
      enableAutoClearLog: false
    questioner:
      askRedos: true
      askClearLogs: true
      askRollbacks: true
      askClearLogAfterRollback: true
    rollback:
      replaceAnyway:
      - 8
      - 9
      - 10
      - 11
      - 51
      dontRollback:
      - 10
      - 11
      - 46
      - 51
      maxTime: 2 days
      maxArea: 50
    consumer:
      delayBetweenRuns: 5
      forceToProcessAtLeast: 20
      timePerRun: 200
      useBukkitScheduler: true
    lookup:
      defaultDist: 20
      defaultTime: 30 minutes
      linesPerPage: 15
      linesLimit: 1500
    tools:
      tool:
        item: 270
        leftClickBehavior: NONE
        params: area 0 all sum none limit 15 desc silent
        rightClickBehavior: TOOL
        aliases:
        - t
        defaultEnabled: true
        mode: LOOKUP
        permissionDefault: OP
      toolblock:
        item: 62
        leftClickBehavior: TOOL
        params: area 0 all sum none limit 15 desc silent
        rightClickBehavior: BLOCK
        aliases:
        - tb
        defaultEnabled: true
        mode: LOOKUP
        permissionDefault: OP
    Please help and again i really appreciate anyone that can help me.
     
  11. Offline

    DiddiZ

    @biblelucas
    If you now manage to provide the part with the error log, I may help you.
    I messed up the default config file in 1.40 and 1.41 downloads (there are mixed indention styles). Either redownload 1.41 now, or delete the file and restart the server.
     
  12. Offline

    paganmist

    Because I'm a decent sort of chick, let me acknowledge that I was wrong about WHY your code is broken. But that doesn't change the fact that your code is broken. If you want to go that route, then fine. It's easy to say that I'm wrong about everything because I was wrong about one thing.

    But here's what I know:

    When I took the config.yml that you're claiming has a YAML error,

    and did NOTHING MORE to it than rearrange the structure to resemble what Config.class generates automatically,

    it worked.

    It is obvious that the issue has nothing to do with indentation and everything to do with the fact that your code is expecting a specific structure to the config.yml file, and if the file doesn't have that exact structure, then user settings will end up either being overwritten or overridden.

    It's also obvious that your code is supposed to be structure-independent. You're attempting to check the contents of config.yml against each key in hashmap as you iterate through the map. And that's sound logic, except for the fact that for at least the first loop, something evaluates incorrectly, and Config.class mistakenly assumes that loggedWorlds: is missing.

    In fact, if you move loggedWorlds: to the bottom of the file, then Config.class will just generate another mysql: statement block. And if you move THAT to the bottom of the file, Config.class will generate a duplicate (or overwrite) the next statement block in line. It is obviously NOT "seeing" the first statement block.

    The only reason I'm irate about this is because you keep telling people that the errors they're having are because THEY didn't format the yaml correctly. And yet I was having similar errors to them... and all of those errors were fixed when I rearranged the config.yml file to match the structure created in your Config.class. INCLUDING SOME ERRORS THAT WERE AFFECTING OTHER PLUGINS.

    All of this could be solved if you'd remove the outdated and erroneous config.yml that you're shipping out to everyone in the LogBlock.zip file and change your instructions. That way, you wouldn't have to find out where your code is broken, AND users wouldn't waste hours trying to debug your stuff for you.
     
  13. Offline

    Lelo

    I redownloaded 1.41 and i still get the same error :(
    And then i tryed to delete the config YML file from Logblock folder and expecting the .bat could make a new one but it didnt. I don't know if this is usual but when i run the .bat it's not creating a config file, i have to manually add the config in the Plugins-->Logblock.
     
  14. Offline

    DiddiZ

    Firstly, I fixed the config in 1.41 release about 5 minutes after pointed out that's not working.

    You also loose your second point, there is no fixed structure. That's not how hash maps work.
    I'm able to move every config section as I want and all combinations work without.
    I don't really see how LB config could affect other plugins.

    I really don't know what's wrong with your config file, or why you get such a strange behavior. Which CB version are you using and what config file still the corrupted from the zip or the auto generated?
    It should. Any error log in console?

    Wait, the new config is still corrupt.

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

    biblelucas

    Code:
    2011-11-15 07:25:10 [INFO] biblelucas [/76.21.148.45:50419] logged in with entity id 841 at ([World] -889.519327173852, 64.0, 98.22950570296655)
    2011-11-15 07:25:16 [WARNING] [LogBlock] Exception in commands handler:
    java.lang.IllegalArgumentException: No parameters specified.
        at de.diddiz.LogBlock.QueryParams.parseArgs(QueryParams.java:265)
        at de.diddiz.LogBlock.CommandsHandler.onCommand(CommandsHandler.java:227)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:355)
        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:92)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:471)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    2011-11-15 07:25:19 [INFO] [LOOK] Check Out MinetimeVideos on Youtube.com To support Me and Cool minecraft videos.
    2011-11-15 07:25:28 [INFO] Error, check log
    2011-11-15 07:25:28 [WARNING] [LogBlock] Exception in commands handler:
    java.lang.IllegalArgumentException: No parameters specified.
        at de.diddiz.LogBlock.QueryParams.parseArgs(QueryParams.java:265)
        at de.diddiz.LogBlock.CommandsHandler.onCommand(CommandsHandler.java:227)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:355)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:351)
        at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:506)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:485)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    2011-11-15 07:25:44 [WARNING] [LogBlock] Exception in commands handler:
    java.lang.IllegalArgumentException: Not a valid argument: 'me'
        at de.diddiz.LogBlock.QueryParams.parseArgs(QueryParams.java:389)
        at de.diddiz.LogBlock.CommandsHandler.onCommand(CommandsHandler.java:227)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:355)
        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:92)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:471)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    so ya. this keeps happing. I am op and the owner of the group manager. The mysql i am using is the wamp server. Ps, just wondering, why do you use a mysql, why dont you just use regular logging. like save in the minecraft map? sorry, just noob at making plugins. Thanks for helping!
     
  16. Offline

    latexink

    Ugh... config still won't parse:

    And what the fuck is this? I don't have WorldModes anywhere around this server/my computer/this zip code:

     
  17. Offline

    DiddiZ

    So, I uploaded the final fixed config file. Double checked it and it works.


    @paganmist
    I still don't really know what caused the error. It could be due to some manual changes I did, but I'm not sure how that could mess up the config in such a way. As opposed to what you are stating, the code is valid, the config was wrong. :D

    You are using a command wrong. Wwhen you give me what you type I can corrct it.
     
  18. Offline

    biblelucas

    ummm... i did what you told me and same error pops up
    let my try something and report to you back

    Code:
    2011-11-15 20:04:18 [WARNING] [LogBlock] Exception in commands handler:
    java.lang.IllegalArgumentException: This world ('World') isn't logged
        at de.diddiz.LogBlock.QueryParams.parseArgs(QueryParams.java:410)
        at de.diddiz.LogBlock.CommandsHandler.onCommand(CommandsHandler.java:227)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:355)
        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:92)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:471)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    /lb rollback <player> 2 minutes
    p.s I saw your examples adn followed it replaceing thadoc0r to my name but still didnt work. Why dont you try comming in my server and try? <=== that annoyed. Well, its just not working. Downloaded the latest things and the mysql says that lb-main doesnt have anyting on the chart
    P.s again, it says that the world(World) is not logged. What does that mean
    2011-11-15 20:04:18 [WARNING] [LogBlock] Exception in commands handler:
    java.lang.IllegalArgumentException: This world ('World') isn't logged

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

    latexink

    Well.. got it working. But now it logs to lb-main instead of lb-<worldname> :/

    Edit: How the crap do I point it at my existing tables?
     
  20. Offline

    Brentnauer

    I'm not sure I understand the new tools permission introduced in 1.4. What's the purpose?
     
  21. Offline

    Lelo

    still aint working for me fml :'(
     
  22. Offline

    MalcolmLC

    So players can use the tools without spawning them , or to give that ability . Like on my server if I would allow them to spawn the woodenpick by typing /lb t they would just use it to sell in shops for infinite money. I guess he just added it so there would be an option if you wanted it spawn in the players inventory if they typed the command.
     
    DiddiZ likes this.
  23. Offline

    Brentnauer

    Ah okay, so whatever they're holding in their hand when they do /lb tool becomes the tool, correct?
     
  24. Offline

    Sayshal

    How do I import a rollback from the dump folder? /lb redo is NOT working.
     
  25. Offline

    Spathizilla

    @DiddiZ

    I tried to define some custom blocks/items which are created with Spout. However, when I have done this in materials.yml, it spits out errors when the first block is placed (or the lookup tool is used). I cannot see where I went wrong.

    Spout build 510
    LogBlock v1.41 #63
    Craftbukkit build 1337

    Errors (open)

    08:18:17 [WARNING] Parsing materials.yml: '1025' is no valid material data
    08:18:17 [WARNING] Parsing materials.yml: '1026' is no valid material data
    08:18:17 [WARNING] Parsing materials.yml: '1027' is no valid material data
    08:18:17 [WARNING] Parsing materials.yml: '1029' is no valid material data
    08:18:17 [WARNING] Parsing materials.yml: '1031' is no valid material data
    08:18:17 [WARNING] Parsing materials.yml: '1033' is no valid material data
    08:18:17 [WARNING] Parsing materials.yml: '1035' is no valid material data
    08:18:17 [WARNING] Parsing materials.yml: '1037' is no valid material data
    08:18:17 [WARNING] Parsing materials.yml: '1039' is no valid material data
    08:18:17 [WARNING] Parsing materials.yml: '1043' is no valid material data
    08:18:17 [WARNING] Parsing materials.yml: '1047' is no valid material data
    08:18:17 [WARNING] Parsing materials.yml: '1051' is no valid material data
    08:18:17 [WARNING] Parsing materials.yml: '1055' is no valid material data
    08:18:17 [WARNING] Parsing materials.yml: '1059' is no valid material data
    08:18:17 [WARNING] Parsing materials.yml: '1063' is no valid material data
    08:18:17 [WARNING] Parsing materials.yml: '1067' is no valid material data
    08:18:17 [WARNING] Parsing materials.yml: '1071' is no valid material data
    08:18:17 [WARNING] Parsing materials.yml: '1075' is no valid material data
    08:18:17 [WARNING] Parsing materials.yml: '1079' is no valid material data
    08:18:17 [WARNING] Parsing materials.yml: '1083' is no valid material data
    08:18:17 [WARNING] Parsing materials.yml: '1087' is no valid material data
    08:18:17 [WARNING] Parsing materials.yml: '1091' is no valid material data
    08:18:17 [WARNING] Parsing materials.yml: '1095' is no valid material data


    Additions to materials.yml (open)

    318 since all spout blocks seem to identify as flint
    Code:
    '318':
      '1025': Prototype Jukebox
      '1026': Basic Jukebox
      '1027': Low Range Jukebox
      '1029': Mid Range Jukebox
      '1031': Long Range Jukebox
      '1033': Max Range Jukebox
      '1035': Prototype Burner
      '1037': Blank Obsidyisc
      '1039': Blank Black Obsidyisc
      '1043': Blank Red Obsidyisc
      '1047': Blank Green Obsidyisc
      '1051': Blank Brown Obsidyisc
      '1055': Blank Blue Obsidyisc
      '1059': Blank Purple Obsidyisc
      '1063': Blank Cyan Obsidyisc
      '1067': Blank Light Gray Obsidyisc
      '1071': Blank Gray Obsidyisc
      '1075': Blank Pink Obsidyisc
      '1079': Blank Lime Obsidyisc
      '1083': Blank Yellow Obsidyisc
      '1087': Blank Light Blue Obsidyisc
      '1091': Blank Magenta Obsidyisc
      '1095': Blank Orange Obsidyisc
    
     
  26. Offline

    HexedGoth

    I keep having this error i even updated to 1.41
    Code:
    2011-11-16 00:12:19 [SEVERE] Config file plugins\LogBlock\config.yml isn't valid! while parsing a block mapping
    in "<string>", line 1, column 1:
    loggedWorlds:
    ^
    expected <block end>, but found BlockMappingStart
    in "<string>", line 22, column 3:
    auto:
    ^
     
  27. Offline

    DarkFate

    2011-11-16 18:25:38 [심각] [LogBlock Consumer] SQL exception on INSERT INTO `lb-classic` (date, playerid, replaced, type, data, x, y, z) VALUES (FROM_UNIXTIME(1321435384), 1706, 15, 0, 0, '3831', 27, '-35710');:
    com.mysql.jdbc.MysqlDataTruncation: Data truncation: Out of range value for column 'z' at row 1
    at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3591)
    at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3525)
    at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1986)
    at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2140)
    at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2620)
    at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2570)
    at com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:779)
    at com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:622)
    at de.diddiz.LogBlock.Consumer.run(Consumer.java:276)
    at java.util.TimerThread.mainLoop(Unknown Source)
    at java.util.TimerThread.run(Unknown Source)


    what is this?
     
  28. Offline

    md_5

    Your world is to big, you need to edit your x,y,z column sizes to mediumint.
     
  29. Offline

    DiddiZ

    Really, why has spout to do so many non standard things?
    I never expected the block data to be higher than a byte. It's even handled as byte by bukkit.
    So 256+ won't fit in the database without modifications.
    Are you able to modify the block data values spout uses?
    It has to be:
    /lb rb player <player> since 2m
    Delete you main config and restart the server, or use the config from 1.41 release I updated yesterday.
    Edit table value in world.yml
    You meant how to reimport deleted log from the dump folder?
    Just move the sql file to imports.
    Delete/rename your config, restart and apply the changes afterwards.
     
  30. Offline

    MalcolmLC

    no lb tool spawns what ever to tool is by default it is a wooden pickaxe ,but if you give the players the ( logblock.tools.tool) permission when they right click it will display the data just as normal but they cannot just spawn a wooden pickaxe .
     
  31. Offline

    Raycrash

    Code:
    16:11:37 [SEVERE] Error occurred while enabling LogBlock v1.41 (Is it up to date
    ?): null
    java.lang.NullPointerException
            at de.diddiz.LogBlock.LogBlock.onEnable(LogBlock.java:111)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:174)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:957)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:280)
            at net.madjawa.pluginreloader.PluginReloader.loadPlugin(PluginReloader.j
    ava:231)
            at net.madjawa.pluginreloader.PluginReloader.onCommand(PluginReloader.java:79)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:355)
            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)
    
    Getting this with newest download ;(
     

Share This Page