Inactive [SEC] BigBrother 1.11.0 - Catch griffers red-handed [1060]

Discussion in 'Inactive/Unsupported Plugins' started by N3X15, Apr 13, 2011.

Thread Status:
Not open for further replies.
  1. Offline


    Important Crap

    I'm done, but BB isn't.
    I've got 10 developers on the contributors' list who supposedly want to help, but I haven't heard a word from them since the day I added them. BigBrother's so full of bugs now that I don't know where to start, and I simply don't have the time or patience to work on it anymore. If you want something that works, pick up LogBlock. I'm fucking done. I updated it to "run" on 1060, but that's as far as I'm taking this. If you still want to help, email me at [email protected] and give me a rundown of your experience in coding plugins so I know you'll do something.​
    UPDATE: 3 developers have been added to the repo, but I'm waiting for them to get familiarized and start committing before I declare this crisis over. I appreciate the support and help that has been thrown this way. If you'd still like to help, but don't know how to code, there are many other ways to contribute. See the Contributors section for more info.​

    Version: 1.11.0
    Original Author: tkelly910

    • Development Team
      • N3X15
      • Mafio
      • FalconGaming
    • Quality Assurance (QA) Team (Testing, ONLY ON LATEST RB*!)
      • N3X15
      • Mineral
      • All of the poor bastards on the minecraft server + other dev servers
      • *NOTE: Unless EvilSeph or other bukkit devs indicate an RB is imminent, e.g. within the next week.
    • Bug Triage (Sorting through bugs, marking duplicates, closing, prioritizing)
      • N3X15
    • Documentation (Wiki, FAQ, other stuff people will read)
      • N3X15

    BigBrother is a powerful plugin that enables you to investigate roll back griefing via a large and all-knowing database. You have a choice between using immensely powerful commands to search an area for changes, or you can whack a block with a stick or place a log to see changes within a single block.

    • /bb log - Gives you the BigBrother Multipurpose Tool, or a simple log. Hit something with it to see changes in that spot, and place it if the block you're check is non-solid, like water, lava or air.
    • /bb done - Removes the log from your inventory, and gives you back any items it replaced.
    • Want to check an entire area? Use /bb here to list who changed what!
    • Need to roll back EvilGuy and DoucheBug's edits? Use /bb rollback EvilGuy DoucheBug!
      • Have to roll back edits up to 5 minutes ago? Simple! /bb rollback t:5m
      • Need to only roll back within a certain radius? /bb rollback r:<radius-in-blocks>
      • Roll back specific actions with /bb rollback a:10,BLOCK_PLACE
    • If you screw up, /bb undo
    • (NEW) /bb history "Suspicious Guy" to see that player's recent history! (add pg:# to go to page #)
    • Mow your lawn with /bb mowlawn!
    See the full list of commands and Permissions nodes here.


    [​IMG](Yes, stationary_* and regular blocks got reversed, this is fixed.)​

    Need Help?

    • What version of CraftBukkit and BigBrother? If you don't know, type /version and /bb version.
    • What database engine are you using? Look at the value for database.type in BigBrother.yml. I use MySQL on my server and test on H2.
    • Do you get any errors? If so, please link to a pastebin with your server.log
    • What steps do I have to take to reproduce this behavior?
    • What other plugins are you using?
    Known Issues
    • Everything listed here
    • ItemCraft is not supported due to it sending unexpected NULLs via Block.getType(). Can be fixed by adding a new enum value for unknown blocks.
    • Bugs everywhere, stopped counting.
    Coming Soon
    • /bb history - Gets the history of a player
    • Fixed /bb update
    • Updated API
    • Externally accessible API
    • Custom Action IDs (for WorldEdit support, etc.)
    More Information

    IRC: Support/Chatter/Developer Jive @ #bigbrother (Moved so my build notification bot has an easier time notifying multiple channels)

    BigBrother 1.11.0 Changelog
    • Centralize and update bystander checks.
    • Fix parsing errors in DeltaChest
    • Clarify /bb log
    • Fix sign lines being too far down
    • Add command censoring (for people worried about xAuth and the like)
    • Fix pagination capping
    • Fix an error in DeltaChest reading
    • Add ?autoReconnect=true to the MySQL DSN
    • Remove all H2 support
    • Removed /bb stick from /bb help since it is now obsolete
    • Fixed it so commands that work won't say commands not recognized after they already work
    • Fixed the issue of when you had the /bb log if you broke something it would not record the break even if you were watched
    • Now if the user tries to find the history of an invalid user it won't throw null errors.
    • Yell at the users if they don't follow the setup procedure
    • Should fix most of the errors dealing with the log and watch/unwatch problems
    • Update README
    1.10.0+ (open)

    BigBrother 1.10.1 Changelog
    • Fix a rollback SQL syntax error
    • Fix explosion logging
    • Clarify database trimming message in log
    • Fix /bb history
    • Continue rolling back incorrectly-logged BlockBurns, if the data field is unparsable, default to 0.
    • Fix Heartbeat logging
    • Fix SuperPerms support.
    BigBrother 1.10.0 Changelog

    New Features:
    • Brand new plugin API! (Wiki)
    • Database change. There is now a converter, but you might still lose data!
    • Compact chest changes: (+Added)(=Replaced)(-Removed)
    • Heartbeat Action: Logs users online and the current time, both to keep your database connection open, and for monitoring of your server's uptime!
    • Piston Actions!
    • Bukkit Superperms support!
    • RB 1000 support!
    • /bb history!
    • Formatting fix for rollbacks
    • A buttload of NPE fixes

    • [BB-81] Rollback doesn't work because of empty data-values
    • [BB-78/BB-69] onPickupItem/onDropItem NPEs
    • Memory leak fix (Thanks to Wootalyzer!)
    BigBrother 1.9.1:

    • Use BlockSpreadEvent for tracking fires (later told by EvilSeph that there's no current way to track fire in Bukkit)
    • Display a "Permission Denied" to users trying to use commands with insufficient priviliges instead of silently failing.
    • Add /bb mowlawn.
    • Fix stupid mixup between String.format usage on C# and Java in DeltaChest
    • Automatically update plugin.yml via Maven (internal crap)
    BigBrother 1.9

    • Support for 928+
    • NEW: Lava/Water/Fire flow logging (AND ACTUALLY TESTED, FOR ONCE!)
    • NEW: a: directive for rollbacks, for specifying comma-delimited action IDs to track
    • Lots and lots of bugfixes.
    • Marginally better H2 support
    • More automated tests
    • Standardized QA tests (ongoing)
  2. Offline


    [405] getting stuck "searching..."
    trying fresh install right now
    BTW: Im on [740]
    EDIT: [740] + [405] + mysql[myisam]
    Working perfect after fresh install and dropped/regenerated mysql tables. :)
  3. Offline


    I don't know why, I'm sure I've installed it all correctly, but BB isn't generating tables.Any specific information you need to help me out?
  4. lol... i did /bb rollback USER r:5 ... and it STILL isn't working -_-
  5. Offline


    The tables won't be created for me.
    Fearlessagent likes this.
  6. I just started using Big Brother I am not running an SQL because I do not understand how to run the database it is running on a h2 database but bb its working the only command that works is /bb help. Please help me.
  7. Offline


    Hey there,

    You are having exactly the same problem I was. You are right, at some point, one of the BigBrother updates has corrupted our MySQL tables. I fixed this by dropping the bbdata, bbusers and bbworld tables, updated to the latest version available via Jenkins and then restarted. BigBrother recreated the tables and the servers are running as fast as ever.

    Dear Plugin Dev: Please put a MASSIVE WARNING on your plugin saying it may have corrupted our SQL tables. It was severely degrading server performance until I removed/re-added the affected tables.
  8. Offline


    Having this issue as well. Not getting any errors except the ones regarding my lack of a permissions plugin and the Help plugin. Using default config. CB740 + BB405

    Looks like a fantastic plugin, if i could get it to work :p.
  9. Offline


    Hang in there, the plugin is tits when stable. I've been using it for months and have been spared SO many headaches but have disabled it for now because it crashes our server. I check here every day
  10. Offline


    Ah, yeah, wasn't sure if it was something with the plugin itself or another one of those user errors :). Regardless, I can't wait to try this out.
  11. Offline


    Well, the most simple thing would be if you gave us the SQL code for the tables, their types, sizes etc. so we could do this alone, insteado of waiting.
  12. Offline


    Update: I am now beginning the process of rewriting BB from scratch. Code will be in the 2.0 branch.

    I will still maintain 1.x, although help would be greatly appreciated. I've got uni coming up, and this course is going to be a bitch.

    Bug tracker is currently down due to BB overloading my MySQL server. I'll fix it tomorrow.
  13. Offline


    Could you meanwhile give us the sql for the tables? bbusers and bbdata
  14. Offline

    Mike L

    I love this plugin, just a quick question...
    Can anyone tell me how the /watch feature is used?
    I can't figure out what this is exactly for, everything else is great, just wondering what /watch is used for.
  15. Offline


    That is for when you aren't auto-watching everyone with BigBrother, so you can set which people to watch.

    SQL (open)

      `id` int(11) NOT NULL AUTO_INCREMENT,
      `date` int(10) unsigned NOT NULL DEFAULT '0',
      `player` int(10) unsigned NOT NULL DEFAULT '0',
      `action` tinyint(4) NOT NULL DEFAULT '0',
      `world` tinyint(4) NOT NULL DEFAULT '0',
      `x` int(11) NOT NULL DEFAULT '0',
      `y` tinyint(3) unsigned NOT NULL DEFAULT '0',
      `z` int(11) NOT NULL DEFAULT '0',
      `type` smallint(6) NOT NULL DEFAULT '0',
      `data` blob NOT NULL,
      `rbacked` tinyint(1) NOT NULL DEFAULT '0',
      PRIMARY KEY (`id`),
      KEY `world` (`world`),
      KEY `x` (`x`,`y`,`z`),
      KEY `player` (`player`),
      KEY `action` (`action`),
      KEY `date` (`date`),
      KEY `type` (`type`),
      KEY `rbacked` (`rbacked`)
      `id` int(11) NOT NULL AUTO_INCREMENT,
      `name` varchar(32) NOT NULL DEFAULT 'Player',
      `flags` int(11) NOT NULL DEFAULT '0',
      PRIMARY KEY (`id`),
      UNIQUE KEY `name` (`name`)
      `id` int(11) NOT NULL,
      `name` varchar(50) NOT NULL DEFAULT 'world',
      PRIMARY KEY (`id`)
    Obtained via exporting my current BB tables. Untested, but should work.
  16. Offline


    Thanks hatstand! Although it still writes in the server.log​
    Show Spoiler
    2011-05-03 12:06:13 [INFO] [BBROTHER] Building `bbdata` table...
    2011-05-03 12:06:13 [INFO] [BBROTHER] BBData H2 Driver r1 loaded!
    2011-05-03 12:06:14 [INFO] [BBROTHER] Building `bbusers` table...[
    Thanks anyway!
  17. Offline


    Oh, I see.. you've got it set to use H2, not MySQL, so that stuff I posted would be useless.
  18. Offline


    BB #407 seems to be working much better. :)
  19. Offline


    first of all I love this plugin.....I am not sure how any OP could live with out it.

    Everything works perfect for me but I get this message. Right now I am using H2

    2011-05-03 08:08:13 [INFO] [BBROTHER] SQLite can't cleanse by # of records.
    2011-05-03 08:29:52 [INFO] [BBROTHER] SQLite can't cleanse by # of records.
    2011-05-03 08:51:32 [INFO] [BBROTHER] SQLite can't cleanse by # of records.

    Anyway to fix this??

    Also - if I use MySQL I get the same type of error but a longer string. It basically says it cant cleanse the records
  20. Offline


    Just updated to 405. Now when cleaning records it says
    Where it used to say cleaned out X records because of age in 0h00m00s. From what I'm reading its taking over a minute to clean 0 records. that does not seem right. I'm using MySQL.
  21. Offline


    I typed /bb stick 1 and got a stick, I threw it away and picked it back up again (it wasn't to be seen in my inventory), then I typed /bb stick 1 and the server locked up.

    Using build 405 with craftbukkit 740 and Java 1.6
  22. Offline


    I had to remove BigBrother #405 from my server because it makes it INCREDIBLY lagging since this update. I removed it and everything just worked fine without it except that it's hard for me to be an admin without this plugin.
    Using CB #740.

    fneyret likes this.
  23. Offline


    Use build #407 - I know it says not to do so, but that fixed the freezes/extreme lag for me.
  24. Offline


    BB 407, bukkit #740
    serverlog error when clicking with bb stick on a chest:
    2011-05-03 18:09:18 [SEVERE] [BBROTHER] onPlayerInteract(org.bukkit.event.player.PlayerInteractEvent@74eb00a)
        at me.taylorkelly.bigbrother.tablemgrs.BBDataTable.getBlockHistory(
        at me.taylorkelly.bigbrother.finder.HistoryStick.getInfoOnBlock(
        at me.taylorkelly.bigbrother.finder.Sticker.blockInfo(
        at me.taylorkelly.bigbrother.finder.Sticker.stick(
        at me.taylorkelly.bigbrother.BigBrother.stick(
        at me.taylorkelly.bigbrother.listeners.BBPlayerListener.onPlayerInteract(
        at org.bukkit.plugin.RegisteredListener.callEvent(
        at org.bukkit.plugin.SimplePluginManager.callEvent(
        at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(
        at net.minecraft.server.ItemInWorldManager.interact(
        at net.minecraft.server.NetServerHandler.a(
        at net.minecraft.server.Packet15Place.a(SourceFile:57)
        at net.minecraft.server.NetworkManager.a(
        at net.minecraft.server.NetServerHandler.a(
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(
  25. Offline


  26. Offline


    '/bb stick 2' Always gives you a log, which can be crafted into planks, which gives users unlimited planks/sticks. Is there any way to change this in the configuration file to something else like dirt or anything? If not, can there be?
  27. Offline


    Well, not sure what i did, but now I am getting errors at startup:
    13:52:35 [SEVERE] [BBROTHER] Error getting a connection. Make sure your databasesettings are correct!
    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(
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(
            at java.lang.reflect.Constructor.newInstance(
            at com.mysql.jdbc.Util.handleNewInstance(
            at com.mysql.jdbc.SQLError.createCommunicationsException(
            at com.mysql.jdbc.MysqlIO.<init>(
            at com.mysql.jdbc.ConnectionImpl.coreConnect(
            at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(
            at com.mysql.jdbc.ConnectionImpl.createNewIO(
            at com.mysql.jdbc.ConnectionImpl.<init>(
            at com.mysql.jdbc.JDBC4Connection.<init>(
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(
            at java.lang.reflect.Constructor.newInstance(
            at com.mysql.jdbc.Util.handleNewInstance(
            at com.mysql.jdbc.ConnectionImpl.getInstance(
            at com.mysql.jdbc.NonRegisteringDriver.connect(
            at java.sql.DriverManager.getConnection(
            at java.sql.DriverManager.getConnection(
            at me.taylorkelly.bigbrother.datasource.ConnectionService.getConnection(
            at me.taylorkelly.bigbrother.datasource.JDCConnectionDriver.connect(
            at java.sql.DriverManager.getConnection(
            at java.sql.DriverManager.getConnection(
            at me.taylorkelly.bigbrother.datasource.ConnectionManager.createConnection(
            at me.taylorkelly.bigbrother.datasource.ConnectionManager.getFirstConnection(
            at me.taylorkelly.bigbrother.BigBrother.onEnable(
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(
            at org.bukkit.craftbukkit.CraftServer.reload(
            at org.bukkit.command.SimpleCommandMap$ReloadCommand.execute(
            at org.bukkit.command.SimpleCommandMap.dispatch(
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(
            at net.minecraft.server.MinecraftServer.b(
            at net.minecraft.server.MinecraftServer.h(
    Caused by: Connection refused
            at Method)
            at com.mysql.jdbc.StandardSocketFactory.connect(
            at com.mysql.jdbc.MysqlIO.<init>(
            ... 34 more
    13:52:35 [SEVERE] [BBROTHER] Could not establish SQL connection. Disabling BigBrother
    My BigBrother.yml:
        excluded-blocks: []
        rollbacks-per-tick: 2000
        personal-log-files: false
        auto-watch: true
        debug-mode: false
        default-search-radius: 5
        tnt-threshold: 10.0
        restore-fire: false
        stick-item: 280
        library-autodownload: true
        cleanse-age: 3d
        deletes-per-cleansing: '20000'
        max-records: '3000000'
        type: MYSQL
        send-delay: 4
            port: 3306
            username: minecraft
            engine: MyISAM
            prefix: ''
            low-priority-insert: true
            hostname: localhost
            database: minecraft
            lava-flow: false
            leaf-decay: false
            drop-item: false
            ip-player: true
            disconnect: true
            login: true
            pickup-item: false
            teleport: true
            tnt: true
            creeper: true
            misc: true
            commands: true
            chat: true
            chest-changes: true
            block-place: true
            block-break: true
            flint-logging: true
            door-open: false
            lever-switch: false
            button-press: false
    I'm assuming its something on my end because no one else is getting this error. I'll admit I'm a little new to MySQL but I triple checked (or more) everything by now.
  28. Offline


    Your database is corrupt. You can either try repairing it or delete it and have BB make it's tables again.
  29. Offline


    I did, many times, and I even tried to make them manually using the SQL that Hatstand provided. Just tried it again too, to no avail. Is the error I'm getting always related to corruption, or it just happens to be the one correlating with corruption recently? Is it possible I've set something wrong in a confg file somewhere? (Quadruple check time?)
  30. Offline


    Every now and then, big brother causes the MySQL process to skyrocket to 100%, and the entire server actually locks up until I restart the MySQL service.
  31. Offline


    I just tried /bb here 10 and my server crashed, latest builds are veeeeeeeryyyyyyyyy unstable?
Thread Status:
Not open for further replies.

Share This Page