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

    Wrong tread :D
    But LB usually doesn't crash at rollbacks :D
    Sure:
    -> http://www.mysql.com/downloads/
    Afterward there is a configuration wizard, let all at default, but enable TCP connections and set a root password.
    Is your ip static or could it have changed?
    Try to use the domain instead.
     
  3. Offline

    Shylo132

    @DiddiZ
    Static ip with dyndns
    currently shylo132.dyndns.org
    ty for link
     
  4. Offline

    Bluemonkey

    hmm thanks! i will see if it works to use the domainname instead... O_O :p

    Well i relised that i had Wrong Portnumber inside. and i get this now >.>

    Code:
    2011-07-06 04:06:50 [INFO] Starting minecraft server version Beta 1.7.2
    2011-07-06 04:06:50 [INFO] Loading properties
    2011-07-06 04:06:50 [INFO] Starting Minecraft server on 78.159.121.192:25565
    2011-07-06 04:06:50 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-904-g9277096-b953jnks (MC: 1.7.2)
    2011-07-06 04:06:51 [INFO] [LogBlock] Version check: Your version is up to date
    2011-07-06 04:06:51 [INFO] [LogBlock] Connecting to [email protected]:mysql://lobscast.xfactorservers.com:3306/lobscast_mc...
    2011-07-06 04:06:51 [SEVERE] [LogBlock] Error while fetching connection
    java.sql.SQLException: Access denied for user 'lobscast_mine'@'78.159.121.192' (using password: YES)
    at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1073)
    at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3593)
    at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3525)
    at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:931)
    at com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:4031)
    at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1296)
    at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2338)
    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:64)
    at de.diddiz.LogBlock.LogBlock.getConnection(LogBlock.java:180)
    at de.diddiz.LogBlock.LogBlock.onLoad(LogBlock.java:68)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:121)
    at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:89)
    at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:51)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:132)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-07-06 04:06:51 [SEVERE] [LogBlock] Error while loading:
    java.lang.NullPointerException
    at de.diddiz.LogBlock.LogBlock.onLoad(LogBlock.java:68)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:121)
    at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:89)
    at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:51)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:132)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-07-06 04:06:51 [INFO] Preparing level "LobsCast"
    2011-07-06 04:06:51 [INFO] Preparing start region for level 0 (Seed: 5292263690010203335)
    2011-07-06 04:06:51 [INFO] Wrong location! [email protected]
    2011-07-06 04:06:51 [INFO] 0.0,0.0(0,0) vs -22,12
    2011-07-06 04:06:51 [INFO] Preparing start region for level 1 (Seed: 5292263690010203335)
    2011-07-06 04:06:52 [INFO] Loaded Essentials build 2.4.1 by Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans and Xeology
    2011-07-06 04:06:52 [INFO] Loaded EssentialsChat build 2.4.1 by Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans and Xeology
    2011-07-06 04:06:52 [INFO] Loaded EssentialsGeoIP build 2.4.1 by Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans and Xeology
    2011-07-06 04:06:52 [INFO] This product includes GeoLite data created by MaxMind, available from http://www.maxmind.com/.
    2011-07-06 04:06:52 [INFO] GroupManager - INFO - Scheduled Data Saving is set for every 10 minutes!
    2011-07-06 04:06:52 [INFO] GroupManager version 1.0(alpha-5) [Zombie-Version, please switch to Permissions 3] is enabled!
    2011-07-06 04:06:52 [INFO] Loaded EssentialsProtect build 2.4.1 by Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans and Xeology
    2011-07-06 04:06:52 [INFO] Loaded EssentialsSpawn build 2.4.1 by Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans and Xeology
    2011-07-06 04:06:52 [INFO] LogBlockQuestioner v0.02 enabled
    2011-07-06 04:06:52 [INFO] RocketBoots v0.3.6 enabled!
    2011-07-06 04:06:52 [INFO] [SpawnMob] Permission system found, plugin enabled
    2011-07-06 04:06:52 [INFO] [SpawnMob] Version 1.9.6 enabled.
    2011-07-06 04:06:52 [INFO] WorldEdit 4.6 enabled.
    2011-07-06 04:06:52 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-07-06 04:06:52 [INFO] WorldGuard: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-07-06 04:06:52 [INFO] WorldGuard: (LobsCast) Single session is enforced.
    2011-07-06 04:06:52 [INFO] WorldGuard: (LobsCast) TNT ignition is PERMITTED.
    2011-07-06 04:06:52 [INFO] WorldGuard: (LobsCast) Lighters are PERMITTED.
    2011-07-06 04:06:52 [INFO] WorldGuard: (LobsCast) Lava fire is blocked.
    2011-07-06 04:06:52 [INFO] WorldGuard: (LobsCast) Fire spread is UNRESTRICTED.
    2011-07-06 04:06:52 [INFO] WorldGuard: Loaded configuration for world 'LobsCast"
    2011-07-06 04:06:52 [INFO] WorldGuard: (LobsCast_nether) Single session is enforced.
    2011-07-06 04:06:52 [INFO] WorldGuard: (LobsCast_nether) TNT ignition is PERMITTED.
    2011-07-06 04:06:52 [INFO] WorldGuard: (LobsCast_nether) Lighters are PERMITTED.
    2011-07-06 04:06:52 [INFO] WorldGuard: (LobsCast_nether) Lava fire is blocked.
    2011-07-06 04:06:52 [INFO] WorldGuard: (LobsCast_nether) Fire spread is UNRESTRICTED.
    2011-07-06 04:06:52 [INFO] WorldGuard: Loaded configuration for world 'LobsCast_nether"
    2011-07-06 04:06:52 [INFO] WorldGuard: 1 regions loaded for 'LobsCast'
    2011-07-06 04:06:52 [INFO] WorldGuard 5.2.2 enabled.
    2011-07-06 04:06:52 [WARNING] [EssentialsProtect] WorldGuard was detected, in the near future the following features of Protect will be disabled in favor of WorldGuard's versions
    2011-07-06 04:06:52 [WARNING] disable water flow
    2011-07-06 04:06:52 [WARNING] disable lava flow
    2011-07-06 04:06:52 [WARNING] disable water bucket flow
    2011-07-06 04:06:52 [WARNING] disable all fire spread
    2011-07-06 04:06:52 [WARNING] disable tnt explosion
    2011-07-06 04:06:52 [WARNING] disable creeper explosion
    2011-07-06 04:06:52 [WARNING] disable all damage types
    2011-07-06 04:06:52 [INFO] Fake Permissions version 2.7.2 is enabled!
    2011-07-06 04:06:52 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-07-06 04:06:52 [INFO] WorldGuard: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-07-06 04:06:52 [INFO] LogBlock disabled.
    2011-07-06 04:06:52 [INFO] Done (0.163s)! For help, type "help" or "?"

    and yes its static. i bought a server Minecraft"duhh" and i got free domain Blahblah.THECOMPANY.com lol



    Heres my MySQL database mamanger sorta..

    [​IMG]



    heres my .YML

    Code:
    tables:
    - lb-main
    - lb-nether
    loggedWorlds:
    - *secret*
    - *secret*_nether
    mysql:
        port: 3306
        host: lobscast.xfactorservers.com
        password: *secret*
        user: lobscast_mine
        database: lobscast_mc
    logging:
        logBlockCreations: true
        logBlockDestroyings: true
        logLeavesDecay: false
        logFire: true
        logLavaFlow: tre
        logSignTexts: false
        logExplosions: true
        logCreeperExplosionsAsPlayerWhoTriggeredThese: true
        logChestAccess: true
        logKills: true
        logKillsLevel: PLAYERS
        hiddenPlayers: []
    clearlog:
        dumpDeletedLog: false
        keepLogDays: -1
    rollback:
        replaceAnyway:
        - 8
        - 9
        - 10
        - 11
        - 51
        dontRollback:
        - 10
        - 11
        - 46
        - 51
    consumer:
        delayBetweenRuns: 6
        forceToProcessAtLeast: 0
        timePerRun: 100
        useBukkitScheduler: true
    lookup:
        defaultDist: 20
        defaultTime: 30 minutes
        toolID: 270
        toolblockID: 7
        toolQuery: area 0 all sum none limit 15 desc silent
        toolBlockQuery: area 0 all sum none limit 15 desc silent
    questioner:
        askRedos: true
        askClearLogs: true
        askRollbacks: true
        askSavequeueBeforeRollback: true
    
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 18, 2016
  5. Offline

    Letalis

    I cant get it to dump the info in lb-main. the lb-hell works. Any idea on how to make it work?
    And on lb-hell (nether) i get the following:
    Code:
    2011-07-05 04:00:13 [INFO] Error while dumping log. Make sure your MySQL user has access to the LogBlock folder, or disable clearlog.dumpDeletedLog
    2011-07-05 04:00:13 [SEVERE] [LogBlock ClearLog] Exception while dumping
    java.sql.SQLException: File 'C:\skyttegravMC\Minecraft\plugins\LogBlock\dumb\110705040013 lb-hell Block changes up to -28800 minutes ago in skyttegrav_nether.csv' already exists
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1073)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3593)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3525)
        at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1986)
        at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2140)
        at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2620)
        at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2570)
        at com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:779)
        at com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:622)
        at de.diddiz.LogBlock.CommandsHandler$CommandClearLog.run(CommandsHandler.java:569)
        at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34)
        at java.lang.Thread.run(Thread.java:662)
    2011-07-05 04:00:14 [INFO] Cleared out table lb-hell. Deleted 1367 entries.
     
  6. Offline

    DiddiZ

    @Bluemonkey
    Everything looks fine so far. So I'd guess, that the user only has local access and not remote.
    Can you do "SELECT user, host FROM mysql.user;"?
    Does the file even exists?
     
  7. Offline

    Bluemonkey

    Ehmm.... EVRYTHING WORKS FOR ME NOW. Dont Help me.
     
  8. Offline

    DiddiZ

    ok :D
    What was it finally?
     
  9. Offline

    Bluemonkey

    well. as you dont know.. lol .. i have bought a server from Xfactorservers.. and then its Remote.. lol ^^. so i Asked them about the Problem.. and they said that i should have as Host Name.. "mydomain.theiredomain.com" and go to the CPanel.. "the panel for the Domain" and go to RemoteMysql and add the Servers Ip... Without PORT. lol ;) hope that others would learn this tho so this thread wont be overloaded :p well Thanks anyways. This plugin is So Awsome!!!
     
  10. Offline

    Kainzo

    @DiddiZ
    http://pastie.org/2172701 (shown at /stop) Using 1.20dev and the latest RB

    Basically - it pruned 500k entries (took 3-4 mins) and then shut down safely.
     
  11. Offline

    THEK

    Do the sign ID's correspond to ID's in the main table?
     
  12. Offline

    Letalis

    Letalis said:
    SQLException: File 'C:\skyttegravMC\Minecraft\plugins\LogBlock\dumb\110705040013 lb-hell Block changes up to -28800 minutes ago in skyttegrav_nether.csv' already exists​

    Does the file even exists?
    Yeah It has created a new file for everyday it has been run. and there are 3 files since 4 days back.
    But none from lb-main table.
     
  13. Offline

    DiddiZ

    So as the consumer wouldn't run at all?
    Disable useBukkitScheduler, then a timer will used instead, the bukkit scheduler failes sometimes
    Yup
    Hm, it's a bug. Found it and will be fixed :D

    BukkitContrib is updated for MC 1.7.2
    You can reenable chest logging now :D
    -> http://forums.bukkit.org/threads/18192

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

    Shylo132

    @DiddiZ
    do u have a mysql database (no install type) that u can uplaod for me.. i can not seem to find the right file in the link
     
  15. Offline

    DiddiZ

    Um, MySQL has to be installed. If you can't for some reasons, think about using a free one, line db4free.net .

    I finally found it: Bukkit provides 0 as block data for placed stairs ... So LB loggs 0 and so can't restore proper directions at redo ...
    Seems like LB is meant to detect bukkit bugs, it's the fourth now :D

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

    dirkson

    I'm getting spammed with "Out of range value" errors, but all of my worlds are limited to 3,000 blocks wide. What else could those be? Both x and z are commonly mentioned.
     
  17. Offline

    DiddiZ

    Afaik there's nothing else. Possibly one of your borders broke (maybe some admin/mod privileges)?
    If you can't figure out where it happens, just let it spam, or you've to change your x and z columns to mediumint.
     
  18. Offline

    DiddiZ

    Final dev build for v1.20

    • The consumer runs up to 5 times faster (under test circumstances)
    • Added pages for lookups and /lb page, /lb next, /lb prev commands
    • Button and lever logging
    • /lb tp works with unloaded chunks
    • Tool lookup shows log of both chest halfes
    • Config to exclude some block types from logging
    • Added maxRadius/Time config and ignoreRestrictions permission
    • Piston rollback support (the piston blocks itself, not the moved blocks, although bukkit needs a fix until it works)
    • Fixed keepLogDays only working for one world
    • Added /lb tool default to reset costum parameters
    • Added area 0 and all as default parameters for tools, so you skip it
    • Fixed two three server freezes
    • Fixed leaves decaying after rollback
    • Added support for ItemCraft
    • Fixed spacing for summed lookups in console and logfiles
    • Added exclude player parameter: /lb player !DiddiZ
    This build is supposed to be stable, but before releasing v1.20 I want to let my beta testers some time. And I'll make again a video changelog, after the success of the first one :D

    Release date is soon. Feedback and bug reports are desired :)
     

    Attached Files:

  19. Offline

    andune

    @DiddiZ

    Thanks for the info on the stair bug. A shame to hear it's core Bukkit, but maybe if it's easily reproducible it stands a chance of a quick fix.

    Another issue I found today: When fire burns something down, logblock doesn't seem to record the previous block anymore (it used to in the 1.0 days). Here's an example:

    Show Spoiler

    mysql> select count(*) from `lb-main` where type=51 and date > DATE_SUB(NOW(), INTERVAL 86400 MINUTE_SECOND);
    +----------+
    | count(*) |
    +----------+
    | 421 |
    +----------+
    1 row in set (0.19 sec)

    mysql> select count(*) from `lb-main` where type=51 and replaced=0 and date > DATE_SUB(NOW(), INTERVAL 86400 MINUTE_SECOND);
    +----------+
    | count(*) |
    +----------+
    | 421 |
    +----------+
    1 row in set (0.20 sec)


    Note 421 fires total in the last 24 hours, and note in the next query that all 421 replaced air (0).

    New bug or known issue?
     
  20. Offline

    newyorkdaily

    I going to make attempts to test on my laptop. Will get back to you with results.
     
  21. Offline

    Shylo132

    @DiddiZ
    idk why but i have downloaded and signed up at many sites.. and i cant seem to access a server online or create my own database..
    do u know of any direct urls for windows 7?
    also of any of the things i have downloaded.. non of them show me a set-up wizard or install file to click on
     
  22. Offline

    newyorkdaily

    Code:
    23:24:03 [SEVERE] [LogBlock] Error while fetching connection
    java.util.concurrent.TimeoutException
            at de.diddiz.util.MySQLConnectionPool.getConnection(MySQLConnectionPool.
    java:62)
            at de.diddiz.LogBlock.LogBlock.getConnection(LogBlock.java:182)
            at de.diddiz.LogBlock.Consumer.run(Consumer.java:238)
            at de.diddiz.LogBlock.CommandsHandler$CommandSaveQueue.run(CommandsHandl
    er.java:483)
            at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34)
    
            at java.lang.Thread.run(Unknown Source)
    23:24:03 [SEVERE] java.lang.NullPointerException
    23:24:03 [SEVERE]      at de.diddiz.LogBlock.Consumer.run(Consumer.java:306)
    23:24:03 [SEVERE]      at de.diddiz.LogBlock.CommandsHandler$CommandSaveQueue.r
    un(CommandsHandler.java:483)
    23:24:03 [SEVERE]      at org.bukkit.craftbukkit.scheduler.CraftWorker.run(Craf
    tWorker.java:34)
     
  23. Offline

    odielag

    After installing logblock (and enabling chest logging)... it seems to work but the cpu usage on the machine went way up... Normally the minecraft process takes about 40% of one core, and about 4% of the 7 remaining cores... but now there is an added 30% on another core (so 2 cores at 30+%)... I'm wondering... is this normal? What happens when I have 10x more users?

    EDIT: BTW, using logblock version 1.1.0 and craftbukkit 953

    cpuusagelb.jpg

    pluginslb.jpg
     
  24. Offline

    Letalis

    I upgraded to the 1.20 dev build,
    It wont do the dump and keep thingy for my main world.
    And when I do a loockup with Item I get:
    Code:
    2011-07-07 05:54:00 [SEVERE] at java.lang.Thread.run(Thread.java:662)
    2011-07-07 05:54:00 [SEVERE] [LogBlock] Error while fetching connection
    2011-07-07 05:54:01 [SEVERE] [LogBlock] Error while fetching connection
    2011-07-07 05:54:10 [SEVERE] [LogBlock] Error while fetching connection
    2011-07-07 05:54:29 [SEVERE] [LogBlock] Error while fetching connection
    2011-07-07 05:54:46 [SEVERE] [LogBlock] Error while fetching connection
     
  25. Offline

    ROFLBOB

    I'm either being an extreme noob or not understanding, but is there a way to turn off the tools after you're done using them? At the moment, my players have permission to use the tool and toolblock to see changes(logblock.tool and logblock.toolblock). However, they also have permission to use /lb toolblock off while it is still in their inventory, which means they can place bedrock anywhere they want and just leave it.

    A solution would be to just change the toolblock ID, but they would still be able to dupe that item by enabling the tool, disabling it, and then placing it somewhere.

    Can anyone shed some light on this? Am I missing a permission node?
     
  26. Offline

    DiddiZ

    Hm, your MySQL servers need more than 100 ms to provide a connection. Didn't thought about that case.

    You're right, but I'm missing a permissions node :D
    Will add logblock.disableTools .
    BukkitContrib seems to have high resource costs, but it's a temporary solution until bukkit implements chest events.
     
  27. Offline

    DiddiZ

    Final dev build for v1.20 (v2 :D)

    • The consumer runs up to 5 times faster (under test circumstances)
    • Added pages for lookups and /lb page, /lb next, /lb prev commands
    • Button and lever logging
    • /lb tp works with unloaded chunks
    • Tool lookup shows log of both chest halfes
    • Config to exclude some block types from logging
    • Added maxRadius/Time config and ignoreRestrictions permission
    • Piston rollback support (the piston blocks itself, not the moved blocks, although bukkit needs a fix until it works)
    • Fixed keepLogDays only working for one world
    • Added /lb tool default to reset costum parameters
    • Added area 0 and all as default parameters for tools, so you skip it
    • Fixed two three server freezes
    • Fixed leaves decaying after rollback
    • Added support for ItemCraft (only logging, but seemingly not rollback)
    • Fixed spacing for summed lookups in console and logfiles
    • Added exclude player parameter: /lb player !DiddiZ
    • Improved some messages, especially when setting tool parameters.
    Likely fixed the problems with "Failed to fetch connection" some have with last dev build.
     

    Attached Files:

  28. Offline

    shell64

    I don't use CB 953 but 952 (cause a bug with signs)
    and use permissions 3.1.6

    i have this in my log
    2011-07-07 18:22:22 [INFO] [LogBlock] Permissions found.
    2011-07-07 18:22:22 [SEVERE] Error occurred while enabling LogBlock v1.20dev (Is it up to date?): com/sk89q/worldedit/bukkit/selections/Selection
    java.lang.NoClassDefFoundError: com/sk89q/worldedit/bukkit/selections/Selection
    at de.diddiz.LogBlock.LogBlock.onEnable(LogBlock.java:110)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:857)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:264)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:151)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:136)
    at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:358)
    at org.bukkit.command.SimpleCommandMap$ReloadCommand.execute(SimpleCommandMap.java:281)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:298)
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:711)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:676)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:669)
    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:84)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.ClassNotFoundException: com.sk89q.worldedit.bukkit.selections.Selection
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    ... 20 more

    normal or not?
     
  29. Offline

    Ratchet

    what's the process for importing BB logs?
     
  30. Offline

    DiddiZ

    Hm, WorldEdit not found ... LB is supposed to be able to run without it. Will check that. But you could think about using WorldEdit :D
    Again I missed to write the wiki page about it :D
    Let me write it.

    Edit: But the sql files are at the download section, including some comments about how to use it.
    Edit2: Noticed the import is outdated -.-
    Edit3: Here is it:
    -> https://github.com/DiddiZ/LogBlock/wiki/BigBrother-Log-Import
    :D
     
  31. Offline

    TheGamePlaza

    geht auf youtube.de/thegameplaza um ein deutsches tutorial darüber zu sehen..
     

Share This Page