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


    I can't make it working with mysql.
    Filled up the content, but still no tables in sql.

        port: 3306
        username: username
        prefix: bb
        hostname: localhost
            age: 3d
            deletes-per-operation: 20000
        type: H2
        password: pass
        database: test
        send-delay: 4
            engine: INNODB
            low-priority-insert: true
  3. Offline


    Edit the following
    type: H2 to mysql so it uses mysql.
  4. Offline


    Change the type to mysql
  5. Offline


    Yeah as I said.
  6. Offline


    I was using bigbrother to do a rollback but kinda over estimated the time that I needed so of course I simply undid the rollback. The thing I didn't know is that when I undo a rollback, the actions that were rolled back are not logged anymore.

    Basically this guy was griefing but he used to be okay. So I know I wanted to rollback 2 hours at least but I kinda buffered it to 3. Little did I know it actually rollbacked some of his good creations. So I undid the rollback. When I went to try to rollback again (this time with only 2 hours) it didn't find any actions because any history of him griefing was gone.

    Could you fix that in the next release so undoing rollbacks doesn't get rid of the logs of actions?
  7. Offline


    I tried using /bb rollback nigeki t:10m

    it was a test and I did mess up so wanted to delete what I had done and it said it worked but it didn't change anything.
  8. Offline


    I have BIG problem!
    If someone burn block, I can't see, who did that! D:
    Environment - is not playername, so I can't caught real griffer, who starts this fire!
  9. Offline


    Didn't see the Type:, but was looking for it :)
    Thx for help.

    Is MySQL typy supose to reduce the lag :/ ?

    @Riolu walk around and check every block, the bad guy started the fire from some block - on that block his name is recorded. The other is Environment - the natural cause of nature, where fire just sprets, so the game thinks, actually bb, that it's not the player's fault, that start the fire.
  10. Offline


    I know, I know! But that's weird!
    Griffer can start fire from any place!
  11. Offline


    I recall from when I had encountered a griefer, that the logs showed a 'set fire' event with the player name added. Maybe it only shows in the text log though. If there is indeed a 'setfire' event logged, it would indeed be nice if bigbrother could link the player to the actual burn event.

    I myself use a modified version of vStopFire so no blocks will be destroyed by fire at all anymore. BigBrother not being able to rollback such events played a big roll in wanting that.

    Oh, I guess I forgot about one important part. The basic vStopFire prevents any fire to spread. That's why there is a 1:1 relation between someone setting a block on fire and the block burning up. And only because of that it makes sense to have a link between the two, something BigBrother cannot do in general so easily.
  12. Offline


    Ok, i don't really have any problems using this plugin. Everything seems to work fine for as far as i noticed.
    I see this 'SEVERE' error popping up everytime i start up the server though. Does it have any meaning?
    2011-06-25 13:47:20 [INFO] [BBROTHER] ------------------------------------
    2011-06-25 13:47:20 [INFO] [BBROTHER] Hello, and thank you for using the TESTING version of BigBrother!
    2011-06-25 13:47:20 [INFO] [BBROTHER] Please note that, since this is far from complete, there will be many bugs.
    2011-06-25 13:47:20 [INFO] [BBROTHER] Please stay tuned in #bigbrother for updates and build notifications.
    2011-06-25 13:47:20 [INFO] [BBROTHER] ------------------------------------
    2011-06-25 13:47:20 [SEVERE] Error: null
    2011-06-25 13:47:20 [INFO] [BBROTHER] BBData MySQL Driver r1 loaded!
    2011-06-25 13:47:20 [INFO] [BBROTHER] Permissions plugin found but disabled. Enabling 'Permissions' (v2.7.4).
    2011-06-25 13:47:20 [INFO] [Permissions] version [2.7.4] (Phoenix)  loaded
    2011-06-25 13:47:20 [INFO] [BBROTHER] Permissions enabled using: Permissions v2.7.4
    2011-06-25 13:47:20 [WARNING] [BBROTHER] 'Help' isn't detected. No /help support
    2011-06-25 13:47:20 [INFO] [BBROTHER] BigBrother 1.8-SNAPSHOT (build #508) enabled!
  13. Offline


    Is Big Brother is compatible with the lates version of permission (I think it is 3.1)? If not, can you make it please because its not work at all now
  14. Offline

    Tanner Benuzzi

    Well I can't use your plugin anymore :( my hosting company no has it blocked but I dont know why
  15. Offline


    I have a problem with using MySQL

    I have a user "minecraft" and the password is "minikahn"...
    100% right..
    But the server give's an error..
    java.sql.SQLException: Access denied for user 'minecraft'@'localhost' (using pass
    word: YES)

        port: 3306
        username: 'minecraft'
        prefix: ''
        hostname: 'localhost'
            age: 7d
            deletes-per-operation: 20000
        type: MySql
        password: 'minikahn'
        database: 'minecraft'
        send-delay: 4
            engine: INNODB
            low-priority-insert: false
    The username 'root' without any password run perfect ;)

    Please help me..
    RG_PankO likes this.
  16. Offline


    1. Just use root/nopassword ?
    2. You forgot to give privillages to the new username?
  17. Offline


    The User Root has no Password.. -> Perfect
    User 'minecraft' has the password 'minikahn' -> Fail..
    And have all Privileges...
    minecraft % Ja ALL PRIVILEGES Ja [​IMG]
  18. Offline


    Since I got no help on the bugtracker. I got marked as not a bug and then nobody cared. So here it is.
    So my issue is that nothing is generation in bbdata. The users show you in bbusers. bbworld has world1. But nothing in bbdta. I tested mysql out with mywarp and it works perfectly fine.
    2011-06-18 13:25:07 [INFO] [BBROTHER] Hello, and thank you for using the TESTING version of BigBrother!
    2011-06-18 13:25:07 [INFO] [BBROTHER] Please note that, since this is far from complete, there will be many bugs.
    2011-06-18 13:25:07 [INFO] [BBROTHER] Please stay tuned in #bigbrother for updates and build notifications.
    2011-06-18 13:25:07 [INFO] [BBROTHER] ------------------------------------
    2011-06-18 13:25:07 [INFO] [BBROTHER] BBData MySQL Driver r1 loaded!
    2011-06-18 13:25:07 [INFO] [BBROTHER] Permissions enabled using: Permissions v3.1.5
    2011-06-18 13:25:07 [INFO] [BBROTHER] Help plugin detected but disabled. Enabling plugin 'Help' (v0.2.
    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
    port: 3306
    username: server725
    prefix: ''
    hostname: localhost
    age: 3d
    deletes-per-operation: 20000
    type: mysql
    password: *********************
    database: server725
    send-delay: 4
    engine: INNODB
    low-priority-insert: true
    lava-flow: false
    leaf-decay: false
    drop-item: false
    ip-player: true
    disconnect: true
    login: true
    pickup-item: true
    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: true
    lever-switch: false
    button-press: false
    Don't give me crap about posting this here if the bugtracker doesnt give support
    bbdata.png bbusers.png mysql.png
  19. Offline


    Though it should do so for all players by default, I think. Does "/bb watched" show any players being watched?
  20. Offline


    Ok i just did that.
  21. Offline


    Ok, that was just a quick check of something I didn't think was going wrong anyway (doh, it's even in the config you posted).

    You could enable the "personal-log-files" setting. That will create text log files for every user inside the BigBrother/logs/ folder.

    But I have no idea why it wouldn't log anything into your database.
  22. Offline


    Well thanks for trying maybe someone else can help squash this issue. If I enabled that would it decrease the preformane of the server?
  23. Offline


    I'm having problems using bigbrother.. I'm trying to go mysql.. when i switch it from h2 to mysql [i believe i'm doing it right] i put in the host/pass etc[i got the db setup..] and i'll /reload and BigBrother will turn red in /plugins and will break the rest of my plugins :-/

    Would the personal log files, track bb on h2 for longer or would you suggest just going mysql?
  24. Offline


    no rollback in type /bb rollback nickname
    /bb confirm this command is broken ? but its no execute ??? sorry for myn bad english im belgian
  25. Offline


    The problem is that Minecraft doesn't check or store block ownership. BigBrother has to do that, and I plan to work on that a bit today. It's much more difficult to track block ownership when you don't have a way to store even a user ID number for each block, but there's a reason for it: Blocks are stored as 3 bytes (one byte for the block ID, another for extra data, such as being lit or its rotation, and another for lighting). 16*128*16 = 32768 * 3 = 98304 bytes of just block storage per chunk, or about 98KB, which is tolerable for network transmission. To make it even more complicated, chunks are stored in large, compressed regions on disk, which makes it difficult to store stuff alongside chunks. Therefore, I'd have to insert MILLIONS of records into the database to track who owns each block. I will, however, only be tracking blocks that can flow - Fire, lava, and water, so hopefully I can reduce the number of records required.

    I think I fixed this today. Not sure though.

    Also, I just added proper Lava/water/fire logging with cached ownership tracking. Next up is removing the ownership upon destruction of the fire/water/lava block.
  26. Offline


    strange dunno if this happens after throwing a egg

    2011-06-26 04:38:48 [SEVERE] [BBROTHER] Data Insert SQL Exception when sending blocks
    com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operations allowed after connection closed.Connection was implicitly closed by the driver.
        at sun.reflect.GeneratedConstructorAccessor74.newInstance(Unknown Source)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
        at java.lang.reflect.Constructor.newInstance(Unknown Source)
        at com.mysql.jdbc.Util.handleNewInstance(
        at com.mysql.jdbc.Util.getInstance(
        at com.mysql.jdbc.SQLError.createSQLException(
        at com.mysql.jdbc.SQLError.createSQLException(
        at com.mysql.jdbc.SQLError.createSQLException(
        at com.mysql.jdbc.SQLError.createSQLException(
        at com.mysql.jdbc.ConnectionImpl.throwConnectionClosedException(
        at com.mysql.jdbc.ConnectionImpl.checkClosed(
        at com.mysql.jdbc.ConnectionImpl.prepareStatement(
        at com.mysql.jdbc.ConnectionImpl.prepareStatement(
        at me.taylorkelly.bigbrother.datasource.BBDB.prepare(
        at me.taylorkelly.bigbrother.datasource.DataBlockSender.sendBlocksSQL(
        at me.taylorkelly.bigbrother.datasource.DataBlockSender.access$000(
        at me.taylorkelly.bigbrother.datasource.DataBlockSender$
        at Source)
    Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
    The last packet successfully received from the server was 12,794 milliseconds ago.  The last packet sent successfully to the server was 1 milliseconds ago.
        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(
        at com.mysql.jdbc.SQLError.createCommunicationsException(
        at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(
        at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(
        at com.mysql.jdbc.MysqlIO.sendCommand(
        at com.mysql.jdbc.MysqlIO.sqlQueryDirect(
        at com.mysql.jdbc.ConnectionImpl.execSQL(
        at com.mysql.jdbc.PreparedStatement.executeInternal(
        at com.mysql.jdbc.PreparedStatement.executeUpdate(
        at com.mysql.jdbc.PreparedStatement.executeBatchSerially(
        at com.mysql.jdbc.PreparedStatement.executeBatch(
        at me.taylorkelly.bigbrother.datasource.DataBlockSender.sendBlocksSQL(
        ... 4 more
    Caused by: Can not read response from server. Expected to read 4 bytes, read 0 bytes before connection was unexpectedly lost.
        at com.mysql.jdbc.MysqlIO.readFully(
        at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(
        ... 14 more
    2011-06-26 04:38:48 [SEVERE] [BBROTHER] Possible cause of previous SQLException:
    2011-06-26 04:38:48 [WARNING] [BBROTHER] SQL send failed. Keeping data for later send.
  27. Offline


    Or you could disable fire, until there is a fix?
  28. Offline


    Can you add // (WorldEdit Super pick) to the log please? It doesn't look to work.

    Btw, this is the best plugin ever! =)
  29. Offline


    CB #930 and BB #553 & 554: I never could get drop and pickup to work, so they stay disabled and checked every once in a while.
    [SEVERE] [BBROTHER] Error while saving default config:
        at<init>(Unknown Source)
        at<init>(Unknown Source)
        at me.taylorkelly.bigbrother.BBSettings.saveDefaultConfig(
        at me.taylorkelly.bigbrother.BBSettings.initialize(
        at me.taylorkelly.bigbrother.BigBrother.onEnable(
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(
        at net.minecraft.server.MinecraftServer.e(
        at net.minecraft.server.MinecraftServer.a(
        at net.minecraft.server.MinecraftServer.init(
    [SEVERE] [BBROTHER] onPlayerDropItem(org.bukkit.event.player.PlayerDropItemEvent@668f7dce)
        at me.taylorkelly.bigbrother.datablock.DropItem.<init>(
        at me.taylorkelly.bigbrother.listeners.BBPlayerListener.onPlayerDropItem(
        at org.bukkit.plugin.RegisteredListener.callEvent(
        at org.bukkit.plugin.SimplePluginManager.callEvent(
        at net.minecraft.server.EntityHuman.a(
        at net.minecraft.server.EntityHuman.E(
        at net.minecraft.server.NetServerHandler.a(
        at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
        at net.minecraft.server.NetworkManager.b(
        at net.minecraft.server.NetServerHandler.a(
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(
    [SEVERE] [BBROTHER] onPlayerPickupItem(org.bukkit.event.player.PlayerPickupItemEvent@7f32ea44)
        at me.taylorkelly.bigbrother.datablock.PickupItem.<init>(
        at me.taylorkelly.bigbrother.listeners.BBPlayerListener.onPlayerPickupItem(
        at org.bukkit.plugin.RegisteredListener.callEvent(
        at org.bukkit.plugin.SimplePluginManager.callEvent(
        at net.minecraft.server.EntityItem.b(
        at net.minecraft.server.EntityHuman.i(
        at net.minecraft.server.EntityHuman.u(
        at net.minecraft.server.EntityPlayer.u(
        at net.minecraft.server.EntityLiving.o_(
        at net.minecraft.server.EntityHuman.o_(
        at net.minecraft.server.EntityPlayer.a(
        at net.minecraft.server.NetServerHandler.a(
        at net.minecraft.server.Packet10Flying.a(SourceFile:126)
        at net.minecraft.server.NetworkManager.b(
        at net.minecraft.server.NetServerHandler.a(
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(
  30. Offline


    thanks for this plugin.

    So i use pistonbukkit, the piston is the 7 item data (bedrock),
    i have try this to exclude logging of this block with no success in the bigbrother config file :

    excluded-blocks: 7
    excluded-blocks: 7,
    excluded-blocks: 07
    excluded-blocks: [7]
    excluded-blocks: [7,]
    excluded-blocks: [07]
    excluded-blocks: [bedrock]
    excluded-blocks: [bedrock,]
    excluded-blocks: bedrock,
    excluded-blocks: bedrock
    don't stop logging of the bedrock

    So how can i do to stop logging of a data item?
    ps: i have try with 862&928 build and i have searching on the forum but nobody talk about this :(
  31. Offline


    sorry, nevermind. got sql to work :D
Thread Status:
Not open for further replies.

Share This Page